Pufferman7777

2. [pufferman] - Key Bars with auto halfline

The idea is to identify significantly large candles on high volume. These candles frequently offer significant context to the subsequent candles.

The indicator marks unusually large candles with certain body to wick & tail ratio that has above average volume. These candles are marked bullish and bearish (green or red respectively). It is recommended that these colors are a higher tier than the regular candles to denote significance. See chart for reference. regular candles are blue and yellow while key bars are marked green and red.

the half value of the spread (open and close) of the candle is significant level. you want the half line held in whatever direction your trend is. I.e. if a bullish key bar, you want the price to hold above the half line of the key bar. this is the type of price action you want to see in a trending move. Reverse for bearish key bars.

This indicator work on all time frames and will identify keybars according to he users metrics on all time frames. However, the most two recent daily keybar half line is projected onto all intraday timeframes to allow the user quickly see significant daily levels on the intraday time frames.

The indicator is based on moving average of the atr of the spread of the candle and tail and wick vs spread size ratio to determine unusually large bodied candles. The candle also have to have above average volume. Default average is the 10 session MA.

I use blue and yellow regular candles. and so the keybars are colored red and green. you may need to change this. In case the user uses other candle color overlays, the keybars are also denoted via a purple square below the candle.
Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?