this is my first post in your forum, so first I want to congratulate you for the wonderful software you guys have produced, for the continuous improvements, and last but not least, your friendly, patient and detailed way you answer questions in this forum. It is really extraordinary.
Now, regarding this issue of close/reopen order, I completely understand your explanation, however, MT5 is VERY long way away from going live, I would guess at least one year from now until it is fully stable and adopted by brokers.
Also, the extra spread cost of this operation makes A LOT of difference to the overall strategy performance, especially in small TFs.
For the above 2 reasons, I would like to modify the behaviour of the EA, in order to just open a second position with the new lots, instead of close/reopen. I will be happy to send you the code if I can get this working, so that you can include it in a future release if you like.
The one thing that I am not clear though, is this: how does FST deal with the more than one orders? My understading is that FST expects one order open at a time, so I guess I would also need to modify some functions that report back to FST to somehow present the total opened orders as 1 to the FST. Also, I would need to modify all the functions that modify/close the existing order, according to the command send by FST, so that these functions will now affect the whole group of open orders.
Is this correct? Is there any other potential problem that prevented you guys from implementing this?
PS: Another problem I noticed after I wrote this is that sometimes by the moment the first order is closed and we try to open the second, we receive an error "Off quotes" because the price has changed.
When new signal occurs in the direction of the current trend FST acts according to the adding logic set in "Strategy Properties". The variants are:
"Nothing" - there is no adding. FST cancels the new entry signal;
"Winner" - FST adds to the current position if it is on profit at the moment.
"Add" - FST adds new lots to the current position.
Because of lack of adding to a position capability of MT4 FST closes the current position and opens new larger one. Like this:
Current position: Long 1.5 lots;
New signal: Buy 0.5 lots;
1. Close current Long position
2. Open new Long 2.0 lots.
The drawback of this operation is we lost spread for opening 1.5 lots (the initial position).
The problem will be fixed in new upcoming MT5 since MT5 allows adding to a position.