Strategy · Pine Script v6 · On the chart

MSNR Multi-Timeframe SNR / QMR / RNS Strategy

by cuci1995

This multi-timeframe strategy identifies support and resistance (SNR), Quasimodo reversal (QMR), and role-reversal flip (RNS) zones across Weekly, Daily, H4, and H1 timeframes.

View on GitHub

GitHub stars2on the repository
Pine versionv6current
Lines of code694
Settings38inputs
LicenceNone stated
Last update2 months ago3 Sep 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new strategy, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

MSNR Multi-Timeframe SNR / QMR / RNS Strategy enters trades when price reaches a zone with configurable multi-timeframe confluence, optionally requiring higher-timeframe open bias alignment and candle pattern confirmation such as engulfing or pin bar setups on RNS flips. Signals plot directly on the price chart with risk-to-reward targets, stop losses refined using lower-timeframe structure, and customizable equity-based position sizing.

Details

Published by

cuci1995 on GitHub

Draws

On the price chart

Markets

Forex

Timeframes

M15-H1, H4 and above

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Pivot Strength (bars each side)int5pivotLen
Max Zones Stored per Timeframeint12maxZonesPerTF
Zone Outer Edge Buffer (price units, e.g. 0.0001)float0.0zoneBufferPts
Use WeeklybooltrueuseW
Use DailybooltrueuseD
Use H4booltrueuseH4
Use H1booltrueuseH1
Min Timeframes for MSNR Confluence (incl. trigger TF)int3minConfluence
Show Raw SNR ZonesbooltrueshowSNR
Show Quasimodo (QMR) ZonesbooltrueshowQMR
Show Flip (RNS) ZonesbooltrueshowRNS
Require Daily+Weekly Open bias alignmentbooltrueuseOpenCloseBias
Show all 38 settings
SettingTypeDefaultVariable
Plot Weekly/Daily Open & Prev Close linesbooltrueshowOCLines
Minimum Risk:Rewardfloat5.0rrTarget
Stop Loss Buffer (ticks)int10slBufferTicks
Refine SL using H1/M30/M15 structure (tighter stop)booltrueuseRefinedSL
Include M30 in SL refinementbooltrueuseM30refine
Include M15 in SL refinementbooltrueuseM15refine
Lower-TF Pivot Strength (M30/M15)int3pivotLenLTF
Risk % of Equity per Tradefloat1.0riskPct
Only one open position at a time (ignore new signals while in a trade)booltrueoneTradeAtATime
Limit backtest to date range belowboolfalseuseDateRange
Start Datetimetimestamp("2026-01-01T00:00")startDate
End Datetimetimestamp("2026-12-31T23:59")endDate
Show Buy/Sell ArrowsbooltrueshowArrows
Arrow SizestringsmallarrowSize
Show SL/TP Detail LabelbooltrueshowSignalDetail
Show SL/Entry/TP Lines per SignalbooltrueshowSLTPLines
Require Candle Confirmation on RNS Flip Zone SignalsbooltrueuseCandleConfirmRNS
Pattern RequiredstringEithercandlePatternMode
Min Wick-to-Range Ratio (Pin Bar)float0.6pinWickRatio
Max Body-to-Range Ratio (Pin Bar)float0.35pinBodyMaxRatio
Enable Webhook Alerts (JSON via alert())booltrueuseWebhookAlerts
Weekly Zone Colorcolorcolor.new(color.purple, 75)colW
Daily Zone Colorcolorcolor.new(color.blue, 75)colD
H4 Zone Colorcolorcolor.new(color.orange, 75)colH4
H1 Zone Colorcolorcolor.new(color.gray, 75)colH1
RNS Flip Zone Colorcolorcolor.new(color.yellow, 70)colRNS
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

2 stars

This Pine Script strategy detects ICT smart money concepts including order test zones, fair value gaps, and wicks on BTC and XAUUSD price charts. It calculates swings using pivot high and low. Signals enter long or short when the order test zone is hit with su

Strategy v5 SMC / ICT / price actionCandlestick patterns
Updated 7 months ago · None stated GitHub repository of ICT v4-weinkya BTC Improved

Daily Bias + FVG Strategy

by TradersPost
228 stars

This overlay strategy plots previous-day high and low, the daily open, and fair value gap zones on the price chart. It takes entries on a selectable timeframe when the FVG requirement and an optional session window allow them, then uses an ATR or fixed pip sto

Strategy v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 4 months ago · None stated GitHub repository of Daily Bias + FVG Strategy

Breakeven Line Demo

by hasnocool
106 stars

The Breakeven Line Demo strategy is a Pine Script demonstration tool designed to visualize the average position price of stacked trades. It enters long positions after seven consecutive bearish candles and short positions after seven consecutive bullish candle

Strategy v5 Mean reversionSupport & resistance
Updated 2 years ago · GPL-3.0 GitHub repository of Breakeven Line Demo
105 stars

Gold Scalping BOS & CHoCH is an overlay strategy designed for detecting market structure shifts. It calculates rolling swing highs and lows to identify Break of Structure (BOS) and Change of Character (CHoCH) events. Long signals trigger when bullish BOS and C

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of Gold Scalping BOS & CHoCH

P404 Smoke

by Musyimi97
19 stars

P404 Smoke is a price-chart strategy that sequences an optional higher-timeframe EMA bias, a liquidity range from recent pivots, a sweep of buy-side or sell-side liquidity, and a market structure shift within a set bar window. Comments state it then looks for

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 7 months ago · MIT GitHub repository of P404 Smoke

FairValueGap C003

by ruckard
13 stars

FairValueGap C003 is an overlay strategy that identifies Fair Value Gaps (FVG) and opens trades expecting price to return and fill the gap. It calculates the distance between current price levels and recent gap boundaries to aim for partial or full gap fills.

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of FairValueGap C003

More Support & resistance scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers