Hi
I need to calculate a moving average for ROC(1) for last 100 day for each daily close. I also want to calculate STD upon those 100 days.
Can I use array variables for this?
I yes how do I usage the indicators Average[100](myArray) and STD[100](myArray) for this?
After the first 100 days I want to recalculate Average and STD for each new date.
You don’t need arrays, AVERAGE[100] will always be calculated over the last 100 periods despite arrays.
Thank you!
I thought I had tried that but it seems I hadn’t.
Now I have and it works fine.