Adaptive Enveloppe

Category: Indicators By: odin Created: May 22, 2018, 8:33 AM
May 22, 2018, 8:33 AM
Indicators
2 Comments

This adaptive Enveloppe indicator adjusts automatically its upper and lower bands with a percentage of price set with the higher high and lower low of the last 10 periods (you can adjust this lookback period with the “p” variable in the code).

p = 10
c1 = highest[p](high) - lowest[p](low)
c2 = c1/2
p2 = p*1
c4 = Average[p2](c2)
c5 = Average[p](close)
c6 = Average[p](close) + c4
c7 = Average[p](close) - c4
return c5, c6, c7

Download
Filename: Adaptive-Enveloppe.itf
Downloads: 228
odin Veteran
secundary school-education to banker staff-multiple host part time - economist partime like: reading-thinking biases and chess.
Author’s Profile

Comments

Logo Logo
Loading...