@leventecsibi here:
https://fxdreema.com/shared/yZovgxaae
It calculates the average for close prices, you can change the indicator to your liking, just remember to set the candle id and adjust like I did.
This is not the best solution, though, because on every new bar, the EA must calculate all 200 values again and again. If you want to get more efficient, learn arrays.





