How to add a moving average to RMI (relative momentum index) through code? - page 2

 
Pauper31 # :

The code looks great. However, it returns the following errors:

Examine the error. Study the code. After that you will find YOUR mistake :)

 
Vladimir Karputov #:

Examine the error. Study the code. After that you will find YOUR mistake :)

I realize you use the iCustom function, so I copied the rmi indicator to the default Indicators folder. Then it works like charm!!! Thanks a lot. With some additions and edits, the indicator now looks like this:

Working MA on RMI

 
Pauper31 #:

I realize you use the iCustom function, so I copied the rmi indicator to the default Indicators folder. Then it works like charm!!! Thanks a lot. With some additions and edits, the indicator now looks like this:


My next job is to find a way to code the RMI-MA indicator without relying on the iCustom function. What I learned from you is very helpful in my journey. Thanks buddy.