Need some help with mql5 code please

 

Hi guys

I'm building an MT5 EA based on a range breakout strategy 

i want the EA to Enter the trade at the low of the lest bullish candle before the breakout and the stoploss at the high of it like you can see on the image below

Anyone know how can i do that please 


Thanks

 
  • Your topic has been moved to the section: Expert Advisors and Automated Trading — In the future, please consider which section is most appropriate for your query.
  • Usually people who cannot code do not receive free help on this forum.
  • If you show your attempts and describe your problem clearly, you will most probably receive an answer from the community. Use the CODE button (Alt-S) when inserting code.
  • If you do not want to learn to code, that is not a problem. You can either look at the Codebase if something free already exists, or in the Market for paid products (also sometimes free). However, recommendations or suggestions for Market products are not allowed on the forum, so you will have to do your own research.
  • Finally, you also have the option to hire a programmer in the Freelance section.