There are a lot of examples here in CodeBase so you can search it by yourself, for example:
How to make a search on the forum/CodeBase/Market
https://www.mql5.com/en/forum/193510
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!
I am new here, also new with the MT5 & Trading etc, and i want to create a simple EA that sets buy/sell with StopLoss and TakeProfit.
Anybody got an example on the code for SL and TP? it doesnt have to be an automated sell and buy, just to make it Takt Profit or Stop Loss at a certain value.
Thank You Very Much