King Cobra

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:)
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.