OPEN-SOURCE SCRIPT

King Cobra

3930
With this indicator i tried to create a more clear view of the daily chart.
This indicator only works on the daily chart.

This is how the plotted line is created:
When the 'day close' is greater then the 'day hl2' it plots 1 up 'color = green'
When the 'day close' is lesser then the 'day hl2' it plots 1 down 'color = red'

When the 'day hl2' is greater then the 'previous day hl2' it plots 1 up 'color = green'
When the 'day hl2' is lesser then the 'previous day hl2' it plots 1 down 'color = red'

When value (position) of plotted point is on the same value (position) as previous point it plots the color yellow.

A yellow spot could be position entry or exit.

Enjoy:)

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.