I'm new to MQL I am working on an EA with a simple strategy trading on a certain price levels. My defined price levels are 00, 20, 50 and 80. So let's say in a EUR/USD pair if the last two to three bars closes at my trigger price level i.e. 1.30500 then I will execute a trade with a take profit at the next price level which is 1.30520.
Please note that I already have the code to open/close & modify trades, it's just the algorithm that I am having a hard time.
Thanks in advance.
Well. Show us your attempt first. Spoon feeding is not gonna happen here.
If you do some homework, you would actually find something useful for you. > https://www.mql5.com/en/code/mt4
To add comments, please log in or register