Hi! I have a question regarding using the inv() function. For example:
myStudy0 = sma(20,inv(60));
returns the 60 min, 20 bar, sma of the the present symbol regardless of the time frame we are using. My question is: by default the above example is using the closing values for the 60 min chart. Is it possible to use, say, the high values? For example somehow incorporate the following moving averages:
myStudy0 = sma(20,inv(60));
myStudy0 = sma(20,high());
/******************/
Also my second question is: whats the difference between:
myStudy0 = sma(20,close());
and
myStudy0 = new MAStudy(20, 0, "Close", MAStudy.Simple);
I tried searching on eSignal's website on info regarding "new MAStudy" and there seems to be none. Is there any feature difference in using "new MAStudy" as opposed to "sma()"?
Thanks to any one who helps!
myStudy0 = sma(20,inv(60));
returns the 60 min, 20 bar, sma of the the present symbol regardless of the time frame we are using. My question is: by default the above example is using the closing values for the 60 min chart. Is it possible to use, say, the high values? For example somehow incorporate the following moving averages:
myStudy0 = sma(20,inv(60));
myStudy0 = sma(20,high());
/******************/
Also my second question is: whats the difference between:
myStudy0 = sma(20,close());
and
myStudy0 = new MAStudy(20, 0, "Close", MAStudy.Simple);
I tried searching on eSignal's website on info regarding "new MAStudy" and there seems to be none. Is there any feature difference in using "new MAStudy" as opposed to "sma()"?
Thanks to any one who helps!
Comment