A smart money style strategy that scores setups from 0 to 100 using market structure, momentum, range context and liquidity sweeps, with fair value gaps and order blocks drawn on the price chart.
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
Trades need a minimum score, optional higher-timeframe agreement and an optional killzone window. Risk controls include a percent risk per trade, a daily drawdown limit, a pause after consecutive losses and a cooldown. It has two take-profit targets, break-even and a volatility trail, plus a dashboard.
Setup scoring from structure, momentum and liquidity
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Base Risk Per Trade (%)
float
1.0
riskPctInp
Max Daily Drawdown (%)
float
4.0
maxDDayInp
Max Consec Losses (Pause)
int
3
maxLossInp
Cooldown Bars After Loss
int
5
cdBarsInp
Dynamic Risk Scaling
bool
true
useDynRisk
Base Score Threshold (0-100)
float
65.0
minScoreInp
Strict Mode (HTF alignment req)
bool
true
strictModeInp
Swing Lookback
int
7
bosLenInp
FVG Min (xATR)
float
0.5
fvgMinInp
TP1 Risk/Reward
float
1.5
tp1RR
TP2 Risk/Reward
float
3.0
tp2RR
Vol Trailing on TP2
bool
true
useTrail
Show all 18 settings
Setting
Type
Default
Variable
Break-Even Offset (xATR)
float
0.2
beOff
Show Dashboard
bool
true
showDashInp
Show Labels
bool
true
showLblInp
Show FVG
bool
true
showFVGinp
Show OB
bool
true
showOBinp
Killzones Only
bool
true
useKZinp
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
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
Donald - AI Futures is a price-chart strategy that estimates inner and outer high-low zones and a smoothed close with rational quadratic kernel regression. It builds bullish and bearish momentum signals, optionally compares volume with a volume-weighted moving
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
This strategy plots on the XAUUSD price chart and looks for Smart Money Concepts entries on the fifteen-minute timeframe. It scores fair value gaps, order blocks, liquidity sweeps, break of structure, and change of character, plus EMA, RSI, MACD, and higher-ti
This ICT-based strategy trades during the 9:45 AM to 10:15 AM New York session window. It calculates a daily bias using a 20-period daily EMA and tracks previous day highs and lows to identify liquidity sweeps. The script refines order block entry levels and m