RIC and moving average

Hi, the code I use on the top chart doesn’t work on the RIC chart, how do I get the RIC data to use in the code?

current codes I use on the above chart:

CLOSE() > MA(BARS=200)
&
CLOSE() < MA(BARS=200)

Hi Grant,

This post may help: https://forum.optuma.com/topic/ric-crossovers/