gadatas

Break of Structure with trend table by Gadatas

This indicator is designed to identify and track swing highs and lows in a given market on chart timeframe. It plots these swing highs and lows as solid lines on the chart. The indicator allows for customization of the line color and width. The selected timeframe trend is visually represented in a table located in the upper right corner of the chart. To enhance consistency, the background color of the timeframe column now elegantly matches the color of the BOS line.

The indicator follows specific rules to determine when a new high or low is created. If the current range is considered bullish (meaning the most recent breakout was to the topside), the indicator will only update the low if a candle's body falls below the current low. However, if the current range is bearish (most recent breakout to the downside), the indicator will only update the high if a candle's body rises above the current high.

When a range is identified as bullish, the indicator will continue updating the high until a swing high is formed, denoting the high of the range. The high will only change if a candle's body surpasses the previous high. The low, on the other hand, will be updated based on the last time a candle's body falls below a previous candle's low. The lowest low after this condition is met will be assigned as the low of the range.

Conversely, when a range is identified as bearish, the indicator will continue updating the low until a swing low is formed, denoting the low of the range. The low will only change if a candle's body falls below the previous low. The high, in this case, will be updated based on the last time a candle's body rises above a previous candle's high. The highest high after this condition is met will be assigned as the high of the range.

Swing highs are determined by having lower highs to the left and right, while swing lows have higher lows to the left and right. These swings are used to determine the final high or low of a bullish or bearish range, respectively.

Tis Indicator differs from other indicators by incorporating this concept to track market structure. The indicator assumes that significant market players sell before making heavy purchases in bullish ranges and buy before selling heavily in bearish ranges. The lines on the chart represent prior highs and lows, as well as the current updated highs and lows based on this theory. By using this indicator, one can gain insights into the structure of price movement and potentially identify bullish or bearish continuations. It can also provide confluence when analyzing multiple timeframes to validate trend-following strategies.
Open-source script.

It now displays both short and long condition changes along with their respective arguments:
1. In the case of a high Bos line break followed by a fall, a very long condition change is made when at least three breaks of Bos Low are observed, transitioning from very short to short then distribution , and after that to long.
2. Short conditions are indicated when a high Bos falls and the condition changes from very long to long and then accumulation, short, and very short with each break.

Additionally, the break counter column now shows positive numbers for long situations, indicating each low Bos break, and negative numbers for short situations, indicating each high Bos break.

The background color of the break counter column now changes to green for positive numbers and red for negative numbers.
保護スクリプト
このスクリプトは保護スクリプトとして公開されていますが、利用することができます。お気に入りに登録してチャート上でご利用頂けます。但しこのスクリプトのソースコードを閲覧したり変更することはできません。
免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?