View Full Version : bandlong in volatility app. note 2
gawdib
25th December 2003, 04:00 AM
there is a reference to "bandlong" on page 7-8. there is no reference to bandlong in the manual. I cannot figure out where this bandlong comes from. or is it created?. If so, wherre is it created? when it is put into the initial sstop spot, how does that know what bandlong means? thank you
David Samborsky
30th December 2003, 02:17 AM
pp6-7 of AN-2
Period:=10; { ATR period }
ARC:=3.0; { Average range constant }
Stop:=C-ARC*ATR(Period);
BandLong:=If(L<=PREV,Stop,If(Stop>PREV,Stop,PREV));
ExitLong:=(L <= ref(BandLong,-1));
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.