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. קרא עוד ב־תנאי השימוש.