1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new strategy, select all of the template text and paste. Press Save and give it a name.
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
SMC Quant Engine - QuantAlgo identifies order blocks and fair value gaps aligned with higher-timeframe 240-minute moving averages, ADX trend strength, and volume. Entries trigger when setups exceed a user-defined quality score during London and New York sessions. Exits use an ATR-based stop loss alongside dual take-profit targets with configurable risk-to-reward ratios. Visual elements include 50 and 200 EMAs, FVG boxes, order block highlights, and an on-chart dashboard.
Smart Money Concepts order block and fair value gap detection
Signal quality scoring system with customizable thresholds
Multi-timeframe 240-minute trend bias filtering
London and New York trading session filter
ATR-based stop loss and dual risk-to-reward take profits
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Show Trend EMAs
bool
true
show_emas
Show Fair Value Gaps (FVG)
bool
true
show_fvg
Show Order Blocks (OB)
bool
true
show_ob
Show Entry/SL/TP Labels
bool
true
show_labels
Show Risk/Reward Zones
bool
false
show_zones
Show Advanced Dashboard
bool
true
show_dash
Risk Per Trade (%)
float
1.0
risk_pct
Max Daily Drawdown (%)
float
5.0
max_dd
Risk:Reward TP1
float
1.5
rr_tp1
Risk:Reward TP2
float
3.0
rr_tp2
SL ATR Multiplier
float
1.5
sl_atr_mult
Use London/NY Session Filter
bool
true
use_session
Show all 13 settings
Setting
Type
Default
Variable
Minimum Quality Score (1-8)
int
5
min_score
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.
This futures trading strategy combines Fair Value Gap (FVG) detection filtered by Average True Range (ATR) with multi-timeframe Exponential Moving Averages (8, 55, and 165 lengths). It identifies entry setups during a defined intraday trading session window wh
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
FxHD Strategy v2.0 is a Fibonacci multi-timeframe strategy drawn on the price chart. It reads a higher timeframe, defaulting to four hours, and sets bias with CRT kill zones, the last two candles, dynamic CRT, or market structure, plus a fallback method. It pl
This strategy example enforces a daily loss limit. It detects a new trading day, stores starting equity, and tracks the day's highest and lowest equity. Trading permission depends on whether the loss from the day's starting equity stays inside a percentage of
EMA Trend Surfer is a dual-timeframe trend-following strategy designed for index futures such as MES and MNQ. It determines overall trend direction using fast and slow exponential moving averages on a higher timeframe while seeking entry signals on a lower tim
This strategy fades liquidity sweeps of confirmed swing highs and lows. It enters a reversal only after price sweeps a prior swing and closes back inside the range. The stop sits an ATR multiple beyond the sweep wick, the target is a fixed reward-to-risk multi