average calculation for indicators
-
Hi guys,
any idea how to calculate the average of technical indicators for example RSI in the last 10 bars?
Thanks in advance!

-
You could use some arrays and loops, but I think the more "robust" solution is just to get a custom indicator that has the MA built-in.
-
@roar ok. Thanks, ! will try to do that.