OPEN-SOURCE SCRIPT
GK BOS ultimate

GK BOS ultimate is a structured Break of Structure tool designed to highlight major shifts in the market structure.
The script identifies when price breaks above a significant previous high or below a significant low, using a defined lookback period and a ATR filter to reduce weak or minor breakouts
When a major bullish or bearish structure breaks occurs, the indicator marks the chart with a GK BUY or GK SELL label.
It also plots a TP1 level based on ATR(14) multiplied by a user-selected factor.
This provides a consistent volatility-based reference point that helps traders analyse potential follow-through areas after a structure break.
HOW IT WORKS
the script calculates the highest high and lowest low over the chosen lookback period
A break of structure is confirmed only if the close moves beyond these levels with enough strength relative to ATR, When this happens the indicator
Prints GK BUY for bullish structure breaks
Prints GK SELL for bearish structure breaks
Plots a corresponding TP1 PRINT derived from recent volatility
no repainting occurs because calculations are based on confirmed closes
this TOOL is intended for educational and analytical purposes only
The script identifies when price breaks above a significant previous high or below a significant low, using a defined lookback period and a ATR filter to reduce weak or minor breakouts
When a major bullish or bearish structure breaks occurs, the indicator marks the chart with a GK BUY or GK SELL label.
It also plots a TP1 level based on ATR(14) multiplied by a user-selected factor.
This provides a consistent volatility-based reference point that helps traders analyse potential follow-through areas after a structure break.
HOW IT WORKS
the script calculates the highest high and lowest low over the chosen lookback period
A break of structure is confirmed only if the close moves beyond these levels with enough strength relative to ATR, When this happens the indicator
Prints GK BUY for bullish structure breaks
Prints GK SELL for bearish structure breaks
Plots a corresponding TP1 PRINT derived from recent volatility
no repainting occurs because calculations are based on confirmed closes
this TOOL is intended for educational and analytical purposes only
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.