OPEN-SOURCE SCRIPT
已更新 BOS + FVG Pullback Strategy

Strategy to detect BOS and FVG Touch
from Valérie Hackbarth
from Valérie Hackbarth
版本注释
Trading Strategy Summary – BOS + Demand Zone PullbackMarket Context
Timeframe: Lower timeframe (e.g. 5-minute)
Bias: Bullish trend
Trading only in the direction of the trend
1. Break of Structure (BOS)
A previous swing high is identified using market structure (pivot highs).
A Break of Structure occurs when price closes above the last swing high.
Only the first break candle is considered valid (no repeated BOS signals).
2. Impulse Move Confirmation
After the BOS:
Price must produce a strong bullish impulse, defined as:
At least N consecutive bullish candles
The distance from the open of the first bullish candle to the close of the last bullish candle is at least X × ATR
This confirms real buying pressure, not a fake breakout.
3. Demand Zone Identification
The last bearish candle before the bullish impulse defines the Demand Zone:
Zone Top = High of the bearish candle
Zone Bottom = Low of the bearish candle
This zone represents institutional buying interest.
The zone is considered valid for a maximum of 10 candles after its creation.
4. Pullback Entry Conditions
A buy setup is valid only when:
Price pulls back into the Demand Zone
The candle closes at or above the zone top
The pullback occurs after the impulse has completed
The demand zone is still within its valid time window
5. Bullish Candle Confirmation
The entry candle must show bullish intent using one of the following patterns:
Bullish Marubozu (strong momentum, minimal wicks)
Bullish Engulfing (buyers fully absorb sellers)
Bullish Pin Bar / Hammer (rejection of lower prices)
Only one of these patterns is required.
6. Trade Execution
Entry: At close of the confirmation candle
Stop Loss: Bottom of the Demand Zone
Take Profit: 1.3 × Risk (R-multiple)
Only one open trade at a time
7. Risk Logic
Risk is defined structurally, not by indicators:
Risk = Entry − Zone Bottom
If price breaks below the demand zone, the trade idea is invalidated.
Core Philosophy
This strategy combines:
Market structure (BOS)
Momentum confirmation (impulse)
Institutional zones (demand)
Price action confirmation (candlesticks)
The result is a rule-based, high-quality pullback strategy designed to avoid chasing price and instead enter where smart money is most likely active.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。