Lemrin

Reset Every (Price)

Someone requested a high/low price indicator that would reset the "remembered" prices daily. I started out doing just that, and then decided to make it much more configurable.

Choose the units (minutes, hours, days, weeks, months) and the number of those units, and this will reset the highest/lowest value remembered to the current values on your chosen time interval.

This should work with any time interval you desire, within reason...asking for resets every 4000 hours on a monthly chart will probably not work.

GE, monthly, every 7 months:

Ford, weekly, every 18 months:

Dow Jones Industrial Average, weekly, every 90 days:

LTCBTC, daily, every 10 days:

ETHUSD, 30 minutes, every 10 days:

BTCUSD, 1 minute, every 10 hours:

EURUSD, 1 minute, every 50 minutes:

Also, I am about to publish another version of this with just one source input that can be applied to any indicator...stay tuned!
Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?