OPEN-SOURCE SCRIPT

Reset Every (Price)

4 419
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!

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน