Steve,

There are so many techniques you could use to create a variable array
for use in MA calculations... I think it all depends on 'how' you want
to use the MA. Clearly the technique needs to make some intuitive
sense. Are you trend following and want to avoid whipshaws in volatile
markets....?



--- In [email protected], "Steve Dugas" <[EMAIL PROTECTED]> wrote:
>
> Hi - I see that most of AB's built-in moving averages will take an
array for the Periods arg. I imagine a typical use of this might be to
calculate some array based on momentum, volatility, whatever, then
convert that to an array representing suitable periods that these
functions can use? There are many indicators/oscillators etc that try
to measure momo/volatility - my question is, what would be some good
measures to use, and then some good methods of converting these
different arrays to an array of periods suitable for use in MA(),
DEMA(), etc? Are there other/better ways to arrive at an array of
"periods"?  Of course if anyone is doing this and has an example they
could post, I would be very grateful. Thanks for any help!
> 
> Steve
>


Reply via email to