I'm looking for some Exponential Moving Average code, in which I can 
replace the fixed "length" parameter, with one that can vary bar-by-bar. 
 For example, maybe I'd like to make the length (lookback) a function of 
the measure cycle.
Can anyone help?
Thanks
Ian 
 
 |