Hi
I'm trying to find how to get an "RSI" value for an MA in my script/EA. Let me explain.
In Metatrader when you have an RSI indicator window and you drag a Moving Average indicator onto it you can see if the MA is in the overbought or oversold region etc.
How do I get that RSI % value for the MA in my code? I've tried RSIOnMA but I don't get the right values unless I'm using it incorrectly. I just need some advice on what or where to look for.
Any pointers will be greatly appreciated.
Hi
I'm trying to find how to get an "RSI" value for an MA in my script/EA. Let me explain.
In Metatrader when you have an RSI indicator window and you drag a Moving Average indicator onto it you can see if the MA is in the overbought or oversold region etc.
How do I get that RSI % value for the MA in my code? I've tried RSIOnMA but I don't get the right values unless I'm using it incorrectly. I just need some advice on what or where to look for.
Any pointers will be greatly appreciated.
Example: RSIOnMAOnRSI
Fig. 1. Indicator 'RSIOnMAOnRSI'
- www.mql5.com
I'm not getting it right. The Light Blue in my window is the RSI (14) which is the same as the Violet RSI indicator in the RSIOnMAOnRSI indicator. The MA however does not match no matter which one I'm using. All my MA's in window 1 is between the 10 and 20 marks where as the RSIOnMAOnRSI is between 20 and 30.
I'm not getting it right. The Light Blue in my window is the RSI (14) which is the same as the Violet RSI indicator in the RSIOnMAOnRSI indicator. The MA however does not match no matter which one I'm using. All my MA's in window 1 is between the 10 and 20 marks where as the RSIOnMAOnRSI is between 20 and 30.
iRSI and iMA are two DIFFERENT indicators: their scale is IMMEDIBLE. I gave you an example - see the example, read the code: the code creates an RSI indicator handle based on MA and another MA indicator handle based on RSI.
iRSI and iMA are two DIFFERENT indicators: their scale is IMMEDIBLE. I gave you an example - see the example, read the code: the code creates an RSI indicator handle based on MA and another MA indicator handle based on RSI.
iRSI and iMA are two DIFFERENT indicators: their scale is IMMEDIBLE. I gave you an example - see the example, read the code: the code creates an RSI indicator handle based on MA and another MA indicator handle based on RSI.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi
I'm trying to find how to get an "RSI" value for an MA in my script/EA. Let me explain.
In Metatrader when you have an RSI indicator window and you drag a Moving Average indicator onto it you can see if the MA is in the overbought or oversold region etc.
How do I get that RSI % value for the MA in my code? I've tried RSIOnMA but I don't get the right values unless I'm using it incorrectly. I just need some advice on what or where to look for.
Any pointers will be greatly appreciated.