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
IFVG Strategy – MNQ 5min reads one-hour and two-hour closes against exponential moving averages for directional bias, and it flags liquidity sweeps of the previous day high or low and the session open. Settings control minimum gap sizes, the maximum sweep-to-gap distance, swing lookback, a New York session window, dollar risk limits, a stop buffer, and a risk-reward target. Higher-timeframe data is requested with lookahead off, and orders are processed on bar close.
1H and 2H EMA directional bias
Minimum 5-minute and higher-timeframe FVG size filters
Sweeps of previous-day high, low, and session open
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
HTF EMA period (1H & 2H)
int
20
i_htf_ema
Min 5m FVG size (pts)
float
3.0
i_fvg_min
Min HTF FVG size (pts)
float
10.0
i_htf_fvg_min
Max sweep-to-FVG gap (pts)
float
20.0
i_sweep_gap
Swing lookback (bars)
int
10
i_swing_lb
Risk per trade ($)
float
100.0
i_risk
Max allowed risk per trade ($)
float
130.0
i_max_risk
Stop buffer beyond swing (pts)
float
10.0
i_stop_buf
$ per point (MNQ=2, NQ=20)
float
2.0
i_mnq_pt
Risk:Reward target
float
2.0
i_rr
Trade session (ET)
session
0930-1600
i_session
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.
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 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 strategy measures the distance between the current price and the opposite end of the latest fair value gap, entering trades on the expectation that price will fill the gap. It plots signals and execution levels directly on the price chart. Users can confi
This multi-timeframe scalping strategy plots moving averages alongside Smart Money Concepts elements on the price chart. It calculates trend signals using configurable moving average types like ALMA, Hull MA, or TEMA across alternate timeframes. It also plots
This overlay strategy tracks the high and low of a user-defined London session and plots the previous session levels as support and resistance. It flags a break beyond a level when price closes past an ATR buffer, then waits a set number of bars for a retest w