Hi,
I am hoping that someone might be able to help with a minor problem concerning values of N periods ago.
How would I get the value from, say, 6 days ago of the MA study below?
//The PMP
var vTMP = new MAStudy(3, 0, "HL/2", MAStudy.SIMPLE);
//The EMA of the TMP
var vEMA3_of_TMP = new MAStudy(3, 0, vTMP, MAStudy.MA, MAStudy.EXPONENTIAL);
I'd like to get the value of this vEMA3_of_TMP as it is today (now) and also as it was 6 days ago.
Can anyone help?
Many thanks,
I am hoping that someone might be able to help with a minor problem concerning values of N periods ago.
How would I get the value from, say, 6 days ago of the MA study below?
//The PMP
var vTMP = new MAStudy(3, 0, "HL/2", MAStudy.SIMPLE);
//The EMA of the TMP
var vEMA3_of_TMP = new MAStudy(3, 0, vTMP, MAStudy.MA, MAStudy.EXPONENTIAL);
I'd like to get the value of this vEMA3_of_TMP as it is today (now) and also as it was 6 days ago.
Can anyone help?
Many thanks,
Comment