OPEN-SOURCE SCRIPT
Updated M15 Impulse FVG Entry

M15 Impulse FVG Entry
M15 Impulse FVG Entry is a minimalist price-action tool designed to highlight structured entry contexts using impulse candles, decision zones, and Fair Value Gap (FVG) logic.
⸻
Core Logic
1. M15 Impulse Candle
A strong M15 candle is identified using ATR expansion and body-to-range ratio.
This candle defines a decision zone (High / Low).
2. IN Candle
Only the first candle that forms fully inside the decision zone after the M15 impulse is considered.
This candle acts as the structural reference.
3. OUT Candle
Price must break cleanly outside the zone.
The previous candle must already close outside the zone.
No reversal is allowed through the IN candle extreme.
4. FVG Entry Context
The gap between the IN candle and the OUT candle forms the Fair Value Gap.
A midpoint between IN and OUT can be used as a potential entry reference.
⸻
What This Script Shows
• M15 — Impulse candle marker
• Zone — High / Low of the impulse candle
• IN — First valid candle inside the zone
• OUT — Valid breakout candle
⸻
Design Philosophy
• No BUY / SELL bias
• No alerts, no automation
• No indicator stacking
• Clean and chart-friendly
This script provides market context and structure only.
Risk management and execution rules remain the trader’s responsibility.
M15 Impulse FVG Entry is a minimalist price-action tool designed to highlight structured entry contexts using impulse candles, decision zones, and Fair Value Gap (FVG) logic.
⸻
Core Logic
1. M15 Impulse Candle
A strong M15 candle is identified using ATR expansion and body-to-range ratio.
This candle defines a decision zone (High / Low).
2. IN Candle
Only the first candle that forms fully inside the decision zone after the M15 impulse is considered.
This candle acts as the structural reference.
3. OUT Candle
Price must break cleanly outside the zone.
The previous candle must already close outside the zone.
No reversal is allowed through the IN candle extreme.
4. FVG Entry Context
The gap between the IN candle and the OUT candle forms the Fair Value Gap.
A midpoint between IN and OUT can be used as a potential entry reference.
⸻
What This Script Shows
• M15 — Impulse candle marker
• Zone — High / Low of the impulse candle
• IN — First valid candle inside the zone
• OUT — Valid breakout candle
⸻
Design Philosophy
• No BUY / SELL bias
• No alerts, no automation
• No indicator stacking
• Clean and chart-friendly
This script provides market context and structure only.
Risk management and execution rules remain the trader’s responsibility.
Release Notes
M15 Impulse FVG EntryM15 Impulse FVG Entry is a minimalist price-action tool designed to highlight structured entry contexts using impulse candles, decision zones, and Fair Value Gap (FVG) logic.
────────────────
Core Logic
1. M15 Impulse Candle
A strong M15 candle is identified using ATR expansion and body-to-range ratio.
This candle defines a decision zone (High / Low).
2. IN Candle
Only the first candle that forms fully inside the decision zone after the M15 impulse is considered.
This candle acts as the structural reference.
3. OUT Candle
Price must break cleanly outside the zone.
The previous candle must already close outside the zone.
No reversal is allowed through the IN candle extreme.
4. FVG Entry Context
The gap between the IN candle and the OUT candle forms the Fair Value Gap.
A midpoint between IN and OUT can be used as a potential entry reference.
────────────────
What This Script Shows
- M15 — Impulse candle marker
- Zone — High / Low of the impulse candle
- IN — First valid candle inside the zone
- OUT — Valid breakout candle
────────────────
Suggested Usage
- Execution timeframe: M5
- Entry: midpoint of the FVG gap
- Stop Loss: start of the FVG (or deeper depending on risk tolerance)
- Take Profit:
- Fixed RR around 1 : 1.5
- Or hold until the next M15 impulse, depending on trader discretion
────────────────
Design Philosophy
- No BUY / SELL bias
- Optional alerts for M15 Impulse and OUT
- No indicator stacking
- Clean and chart-friendly
This script provides market context and structure only.
Risk management and execution rules remain the trader’s responsibility.
Release Notes
M15 Impulse FVG EntryM15 Impulse FVG Entry is a minimalist price-action tool designed to highlight structured entry contexts using impulse candles, decision zones, and Fair Value Gap (FVG) logic.
────────────────
Core Logic
1. M15 Impulse Candle
A strong M15 candle is identified using ATR expansion and body-to-range ratio.
This candle defines a decision zone (High / Low).
2. IN Candle
Only the first candle that forms fully inside the decision zone after the M15 impulse is considered.
This candle acts as the structural reference.
3. OUT Candle
Price must break cleanly outside the zone.
The previous candle must already close outside the zone.
No reversal is allowed through the IN candle extreme.
4. FVG Entry Context
The gap between the IN candle and the OUT candle forms the Fair Value Gap.
A shaded box is drawn between IN and OUT to visualize this gap, with a midpoint line as a potential entry guide.
A midpoint between IN and OUT can be used as a potential entry reference.
────────────────
What This Script Shows
- M15 — Impulse candle marker
- Zone — High / Low of the impulse candle
- IN — First valid candle inside the zone
- OUT — Valid breakout candle
- FVG box — shaded area between IN and OUT with a midpoint guide line for potential entry
────────────────
Suggested Usage
- Execution timeframe: M5
- Entry: midpoint of the FVG gap
- Stop Loss: start of the FVG (or deeper depending on risk tolerance)
- Take Profit:
- Fixed RR around 1 : 1.5
- Or hold until the next M15 impulse, depending on trader discretion
────────────────
Design Philosophy
- No BUY / SELL bias
- Optional alerts for M15 Impulse and OUT
- No indicator stacking
- Clean and chart-friendly
This script provides market context and structure only.
Risk management and execution rules remain the trader’s responsibility.
Release Notes
v4 (2026-01-06)- Color-coded OUT markers: green for buy, red for sell.
- Switched to compact label shapes.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.