Discussion of article "Creating an EA that works automatically (Part 03): New functions"

 

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

 
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?