Firstly, you need to drag RSI indicator into the chart, after that drag Moving Average indicator into the previously loaded RSI chart and change "Apply to:" parameter into "Previous Indicator's Data".
I got the MA of RSI mql4 code from here https://www.mql5.com/en/forum/137619 and made a custom indicator and after that all works. Thank You!
