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.
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?