kitoboynaya

Price levels

kitoboynaya Diupdate   
Thanks to the developers for adding arrays to TradingView. This gives you more freedom in Pine Script coding.

I have created an algorithm that draws support and resistance levels on a chart. The algorithm can be easily customized as you need.

This algorithm can help both intuitive and system traders. Intuitive traders just look at the drawn lines. For system traders, the "levels" array stores all level values. Thus, you can use these values ​​for algorithmic trading.
Catatan Rilis:
Now you can set the number of historical bars to search for a level. This will avoid getting random levels. Also, you can set a limit on the number of lines on the chart. The old levels will be deleted and will not bother you.

It should be noted that this algorithm is difficult to use on small timeframes due to the limited capabilities of the Pine Script. We can reference a maximum of 5000 historical bars in cycles. Also, the script may receive an error due to a long calculation. Therefore, do not ask too much of the algorithm on small timeframes.
Catatan Rilis:
Now you can graphically customize your indicator.
Catatan Rilis:
Fixed a small bug in the variable title.
Catatan Rilis:
made the code look nice!
Catatan Rilis:
made the code look nice!

Skrip open-source

Dalam semangat TradingView, penulis dari skrip ini telah mempublikasikannya ke sumber-terbuka, maka trader dapat mengerti dan memverifikasinya. Semangat untuk penulis! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.

Inggin menggunakan skrip ini pada chart?