PereParticipant
Veteran
Hi.
Is it possible to draw a daily simple moving average (or other average) on any timeframe?
For example, I want to draw on a 1H TF the daily 200 MA.
Multiplying 200 x 24 (4800) doesn’t work.
No, it is not.
When adding a MA the dialog box does not allow to select the source of data. Some platforms do, on any TF you can select that it be calculated on daily data etc…
It might be worth adding it to the improvements at https://www.prorealcode.com/topic/centralization-of-queries-and-suggestions-on-prorealtime/
if not already added.
Just found this old topic with a sample code to get a simple moving average in inferior timeframe. Hope it helps.
https://www.prorealcode.com/topic/daily-moving-average-with-customclose-on-non-daily-timeframe/