nixonmark:
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 please? Because i'm a bit confused with all the complicated examples.
It is correct well done , but set the totRSI on top to 0.0 on the dexclaration 👍 👍

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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 please? Because i'm a bit confused with all the complicated examples.