OPEN-SOURCE SCRIPT

Titans Price Incidence

The Titans Price Incidence indicator is set to display the historical incidence of highs and lows at each price level.
A longer bar indicates a higher occurrence of highs and lows at that price level.

The interval of each price level is determined by a user-defined "degree", which is a multiple of the counter's minimum tick.
For example, a counter with a minimum tick of 0.00001 and a degree of 200 will result in a price interval of 0.002.
As another example, a counter with a minimum tick of 0.001 and a degree of 10000 will result in a price interval of 10.
For convenience the minimum tick of the counter is included as a plot.

The historical period to study is based on a user-defined "lookback", which is the number of candles to look back over.

Finally it is possible to review the indicator display at a certain candle in the past by entering a "reference".
To display the current price incidence, a reference of 0 should be used.



Support and Resistancesupportandresistancezones

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian