[contains attachment demonstrating what was said in the message below]
Hello friends,
I am having doubts in a part of the code of my robot.
In my strategy I use the RSI and superimpose the momentum. In RSI I only use the levels and the momentum line (as per attachment), if the momentum line is below 30 RSI signals me to buy, for example.
My question is: In the EA programming, how do I get the relation between the RSI and the momentum, EX: in the EURUSD momentum value 99.4246 is below the RSI level 30, in which case it should signal me .... but I need to find a way to calculate this relationship.
Note: In the image below the RSI line is red and the momentum is blue. I delete the red line, but I added the line only for understanding.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
My question is: In the EA programming, how do I get the relation between the RSI and the momentum, EX: in the EURUSD momentum value 99.4246 is below the RSI level 30, in which case it should signal me .... but I need to find a way to calculate this relationship.
Note: In the image below the RSI line is red and the momentum is blue. I delete the red line, but I added the line only for understanding.