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
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.