I am trying to convert a MetaStock Formula Language routine to EFS. The routine reduces the lag time for crossovers on the MACD indicator.
The routine requires creating a moving average of a moving average. I realize that I can write this JS code, but it is rather long and tedious. (It actually uses EMA's.)
I suspect that it may be possible to do it using the MA BuiltIn study. I've been unable to guess the construction so far.
REQUEST:
I would like a code fragement showing the setup for computing the MA of a MA using the EFS BuiltIn study, or an example script that does it for a different indicator.
Thank You
Reef Break
[email protected]
The routine requires creating a moving average of a moving average. I realize that I can write this JS code, but it is rather long and tedious. (It actually uses EMA's.)
I suspect that it may be possible to do it using the MA BuiltIn study. I've been unable to guess the construction so far.
REQUEST:
I would like a code fragement showing the setup for computing the MA of a MA using the EFS BuiltIn study, or an example script that does it for a different indicator.
Thank You
Reef Break
[email protected]
Comment