How would I get the day's prior Moving average?
This is what I have now
var vMA3 = study3.getValue(MAStudy.MA);
But it returns todays moving average. I need it to return the prior days moving average.
This is what I have now
var vMA3 = study3.getValue(MAStudy.MA);
But it returns todays moving average. I need it to return the prior days moving average.
Comment