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.
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?