Forum

Get Moving Average Value on RSI

Hi, I am trying to get the moving average value of the RSI. RSI - 14 length MA - 20 I saw a lot of different examples on here but seem a bit complicated. I created the below code which seems to be working just fine to get the current value. Can anyone confirm if this is correct or why it is wrong

Getting the Moving Average value from the RSI for my EA

I am trying to get the moving average value from the rsi, similar to how it is displayed in tradview indicator. I managed to write the below code but it is not working as expected obviously :D Would love any help. I want to get MA 20 (PRICE_CLOSE) on RSI of 14 Appreciate any help! Thank you! int