LonesomeTheBlue

Support Resistance - Aging [Example]

LonesomeTheBlue Wizard アップデート済   
Hello All,

First all of Thanks to Pine Team for adding Arrays to Pine!

In this script I tried to make example for
1. Finding S/R lines using highest/lowest function
2. Using 1D array as 2D (we keep S/R levels and age)
3. "Age" usage for S/R levels, getting older on each candle and changing colors by their age (maximum age is 127 then it disappears)

You can use "Close"/Open" or "High/Low" as source.


There is an option for the background color, by default it's Black, do not forget to set it accordingly :)



Enjoy!
リリースノート:
Fixed it to show S/R levels if their age is greater than 1.
リリースノート:
color.rgb used
Red, Green, Blue option added for SR lines

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?