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
Brucetrade Mechanical Framework | FVG & Sweeps detects Fair Value Gaps (FVG), Inverted FVGs, and liquidity sweeps across configurable higher and momentum timeframes. Signals are filtered by specific trading sessions such as London, New York, and Asia. Entries are executed with fixed percent-based risk sizing, target risk-reward ratios, and stop losses based on FVG, swing levels, or liquidity sweeps. The script draws FVG zones, trade labels, and an information dashboard on the main chart.
Multi-timeframe bias and momentum tracking
Fair Value Gap and Inverted FVG detection
Liquidity sweep and structure tracking
Customizable session filters and dashboard display
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Timeframe HTF
timeframe
D
htf_tf
Timeframe Momentum
timeframe
60
mtf_tf
Swing Lookback
int
5
sw_len
Equal Highs/Lows Tolerance (Pips)
float
0.5
liq_tol
Taille Min FVG (Pips)
float
2.0
min_fvg
Afficher FVG
bool
true
show_fvg
Afficher IFVG
bool
true
show_ifvg
Risque par Trade (%)
float
1.0
risk_pct
Ratio Risque/Rendement
float
3.0
rr_ratio
Type Stop Loss
string
FVG
sl_type
Session New York
bool
true
use_ny
Session London
bool
true
use_ldn
Show all 15 settings
Setting
Type
Default
Variable
Session Asia
bool
false
use_asy
Afficher Dashboard
bool
true
show_dash
Afficher Labels Entrée
bool
true
show_lbl
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 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
The NQ SSR Strategy is a trading strategy for Nasdaq futures contracts. It generates buy and sell signals based on multi-timeframe pivot high and low detection across 4H, 1H and 5M timeframes. Signals are plotted directly on the price chart as entry and exit p
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
This overlay strategy targets one-minute ATOM scalps. It tracks pivot highs and lows as resistance and support, compares a three-period EMA with a multi-stage smoothed close, and flags long or short when price crosses that curve in the matching direction. Dail
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