you have made the subject impossible and unapproachable (signed, a decades long coder). Not sure if that is your intention, or is it to induce maximum caution, so that only the truly committed persist?
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
New article Creating an EA that works automatically (Part 03): New functions has been published:
Today we'll see how to create an Expert Advisor that simply and safely works in automatic mode. In the previous article, we started to develop an order system that we will use in our automated EA. However, we have created only one of the necessary functions.
If you are not sure about launching this code in the platform (it is absolutely harmless, but still you should be careful), please watch the video below, which demonstrates what the code actually does.
You can see that when moving stop loss and take profit, we have the correct movement, but when we move the open price, stop loss and take profit stay still. Why does this happen? The reason is that for a trade server, you are actually moving an order, which is possibly a stop on another open trade.
Author: Daniel Jose