Most EFS2 studies allow for flexible data series as parameters, but not osc and macd [which the same]. For those two studies the inputs MUST be ma's and CANNOT be from the studies already declared [even if they are ma's].
I suggest to modify osc function to accept any already declared data series.
For example, if I already have
var stMA1 = sma(Per1);
var stMA2 = sma(Per2);
then
var stOsc1 = osc(stMA1,stMA2);
should be accepted.
The advantages are many, from time saving [large ma's eat up processing time], to allowing easy diferential calculastion for many other studies [ex: delta between stoch, rsi, etc. in two diferent time intervals].
Thank you.
I suggest to modify osc function to accept any already declared data series.
For example, if I already have
var stMA1 = sma(Per1);
var stMA2 = sma(Per2);
then
var stOsc1 = osc(stMA1,stMA2);
should be accepted.
The advantages are many, from time saving [large ma's eat up processing time], to allowing easy diferential calculastion for many other studies [ex: delta between stoch, rsi, etc. in two diferent time intervals].
Thank you.
Comment