Hi,
I have an EFS which calcuates a variable, NEWARIABLE, based on price action. I want to calculate a moving average of that variable.
I tried to do that using the 'new MAStudy' command substituting the variable name for the price that one want to calcualte the MA of.
eg: new MAStudy(50,0,NEWVARIABLE,MAStudy.SIMPLE)
This does not appear to work, any ideas.
I know this should work for MA of a pre-defined function such as RSI.
Any ideas?
Tx
Stuart
I have an EFS which calcuates a variable, NEWARIABLE, based on price action. I want to calculate a moving average of that variable.
I tried to do that using the 'new MAStudy' command substituting the variable name for the price that one want to calcualte the MA of.
eg: new MAStudy(50,0,NEWVARIABLE,MAStudy.SIMPLE)
This does not appear to work, any ideas.
I know this should work for MA of a pre-defined function such as RSI.
Any ideas?
Tx
Stuart
Comment