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.
I have been trying to code my first EA for sometime now. I have come close but i havent really made it to my liking. Can someone please
direct me on how the following RA code would look like.
Open Buy when LMA_1 crosses above LMA_2
Close that position when LMA_2 comes below LMA_1
Open Sell when LMA_2 crosses below LMA_1
Close the short position when LMA_1 crosses above LMA_2.
No TP,TS or SL.
All profits and losses will be decided by open and close prices.