Strategy · Pine Script v6 · On the chart

Brucetrade Mechanical Framework | FVG & Sweeps

by thesenegalesehitch

Brucetrade Mechanical Framework is an overlay strategy combining higher-timeframe bias with Smart Money Concepts (SMC).

View on GitHub

Repaints

GitHub stars4on the repository
Pine versionv6current
Lines of code302
Settings15inputs
LicenceCustom licence
Last update4 months ago6 Jun 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

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.

Details

Published by

thesenegalesehitch on GitHub

Type

Strategy, Pine Script v6

Draws

On the price chart

Category

SMC / ICT / price action, Trend, Support & resistance, Sessions & time

Markets

Any symbol

Timeframes

M15-H1, M1-M5

Risk Notes

  • Reads higher-timeframe data with lookahead on, so the history can show signals that were not there in real time

Settings

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

SettingTypeDefaultVariable
Timeframe HTFtimeframeDhtf_tf
Timeframe Momentumtimeframe60mtf_tf
Swing Lookbackint5sw_len
Equal Highs/Lows Tolerance (Pips)float0.5liq_tol
Taille Min FVG (Pips)float2.0min_fvg
Afficher FVGbooltrueshow_fvg
Afficher IFVGbooltrueshow_ifvg
Risque par Trade (%)float1.0risk_pct
Ratio Risque/Rendementfloat3.0rr_ratio
Type Stop LossstringFVGsl_type
Session New Yorkbooltrueuse_ny
Session Londonbooltrueuse_ldn
Show all 15 settings
SettingTypeDefaultVariable
Session Asiaboolfalseuse_asy
Afficher Dashboardbooltrueshow_dash
Afficher Labels Entréebooltrueshow_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.

Similar Pine Scripts

NQ 9:45-10:15 ICT Strategy

by eddiebelaval
7 stars

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

Strategy v6 SMC / ICT / price actionSessions & time Repaints
Updated 3 months ago · None stated GitHub repository of NQ 9:45-10:15 ICT Strategy

NQ SSR Strategy

by CathalF
1 stars

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

Strategy v6 TrendSupport & resistance
Updated 7 months ago · None stated GitHub repository of NQ SSR Strategy

Try Trading Future

by dearvn
257 stars

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

Strategy v5 SMC / ICT / price actionMoving averages Repaints
Updated 6 weeks ago · None stated GitHub repository of Try Trading Future

Daily Bias + FVG Strategy

by TradersPost
218 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 3 months ago · None stated GitHub repository of Daily Bias + FVG Strategy

ATOM 1m scalp HK

by dearvn
43 stars

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

Strategy v5 ScalpingSupport & resistance Repaints
Updated 2 years ago · None stated GitHub repository of ATOM 1m scalp HK

P404 Smoke

by Musyimi97
16 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 6 months ago · MIT GitHub repository of P404 Smoke

More strategys

Trade Your Charts With a Regulated Broker

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

Compare brokers