MaryParticipant
Average
Hello,
How would you create an indicator on Price Chart where you want an Envelope to surround your price candles that reflect ATR( 14 period) vertical shift of ATR 10% Envelope + (10% shift) and Envelope- (10% shift)?
I want to plot the ATR Indicator you see below in picture onto Price Chart as an Envelope that shows calculated value of ATR 10% up and ATR 10% down.
In the picture below, the Average True Range is represented (14 period) is represented by dark blue line, Envelop+ is 10% is orange line and Envelope – 10 % is green line.
Thank you in advance.
JSParticipant
Senior
Hi @Mary
Try this:
ATRUp = Close + AverageTrueRange[14](close) * 1.1
ATRDown = Close - AverageTrueRange[14](Close) * 1.1
Return ATRUP as "AtrUp" Coloured(255,0,0) , ATRDown as "ATRDown" Coloured(0,255,0)
MaryParticipant
Average
Thank you so much! It works!
ZigoParticipant
Master
Envelope-ATR exist already in the library.
Envelope-ATR