OPEN-SOURCE SCRIPT
BOS + FVG Retest Signals

How it works:
Break of Structure (BOS): Uses pivots (configurable Pivot Length) to find highs and lows. A close above a previous pivot high triggers a Bullish BOS (uptrend), and a close below a pivot low triggers a Bearish BOS (downtrend).
Fair Value Gaps (FVG): When an FVG forms in the direction of the current trend (Bullish FVG during an uptrend, Bearish FVG during a downtrend), it plots a colored box extending to the right.
Retest & Rejection:
For buy signals: Price must dip into the bullish FVG (Low <= FVG Top and Close > FVG Bottom), and the candlestick's lower wick must be larger than its body based on a Wick vs Body Multiplier (default is 1.5).
For sell signals: Price must retest the bearish FVG (High >= FVG Bottom and Close < FVG Top), with an upper wick larger than the body.
Break of Structure (BOS): Uses pivots (configurable Pivot Length) to find highs and lows. A close above a previous pivot high triggers a Bullish BOS (uptrend), and a close below a pivot low triggers a Bearish BOS (downtrend).
Fair Value Gaps (FVG): When an FVG forms in the direction of the current trend (Bullish FVG during an uptrend, Bearish FVG during a downtrend), it plots a colored box extending to the right.
Retest & Rejection:
For buy signals: Price must dip into the bullish FVG (Low <= FVG Top and Close > FVG Bottom), and the candlestick's lower wick must be larger than its body based on a Wick vs Body Multiplier (default is 1.5).
For sell signals: Price must retest the bearish FVG (High >= FVG Bottom and Close < FVG Top), with an upper wick larger than the body.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
Tradingmientrung
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
Tradingmientrung
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.