bobym: How can I write commands for RSI and MA lines that are inside RSI indicator settings?
- Settings are values. There are no lines inside a value.
- There are no RSI or MA lines inside the RSI indicator.
- Read the RSI and MA using code. Perhaps you should read the manual, or press F1 in the editor. Technical Indicators - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
How To Ask Questions The Smart Way. (2004)
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up.
William Roeder #:
- Settings are values. There are no lines inside a value.
- There are no RSI or MA lines inside the RSI indicator.
- Read the RSI and MA using code. Perhaps you should read the manual, or press F1 in the editor. Technical Indicators - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
How To Ask Questions The Smart Way. (2004)
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up.
With thanks,
I meant to write an instruction that when RSI line cross its inner MA line up or down to do something.
Ivan Titov #:
I'm afraid the RSI line and its inner MA line never cross. As fo MACD, you mean like this?
No. If you open the setting of a RSI indicator, in its Inputs and Style,
you see the settings of MA/SMA Length and RSI Length, etc.
And I want to write a code when the above-mentioned MA/SMA line crossed RSI line,
do something.
Thanks,
bobym #: No. If you open the setting of a RSI indicator, in its Inputs and Style, you see the settings of MA/SMA Length and RSI Length, etc. And I want to write a code when the above-mentioned MA/SMA line crossed RSI line, do something.
That does not seem to be the standard built-in RSI. You are probably using a custom indicator.

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
Hello,
By using MQL5 language for a trading robot;
How can I write commands for RSI and MA lines that are inside RSI indicator settings?
and also, for MACD and signal lines which are inside MACD indicator setting?