Steve / Kevin
At the risk of having one of my orifices expanded with a very dangerous looking pineapple

, I would like to ask some questions about the TP logic at initial placement and follow-up TP logic should there be an error during initial TP execution.
Firstly I will outline what I am seeing on the platform:
I am using version 2h OOTB except for start time Monday, SL set to zero on GP platform. I had been trying to help Tony with the same problem yesterday but could not replicate it. However, with the wild action yesterday I had trades sent for AJ, AU, EU, GU, UJ, CJ and UCad. The TP was set automatically as designed with all pairs except AU, EU and GU. I looked at the logs for errors but none were found.
I am not a coder nor am I particularly good at logic problems, but looking at the code I observed two routines that handle TP & SL. The first is for initial trade entry that checks many things including the spread. OOTB it is set to 5. If the spread is above this, the trade is not sent. The second is where the EA looks for trades that have no TP & SL and inserts them if they have been defined in the parameters.
During the wild action yesterday, the spreads on GP for
EU went from 0.5 avg to 15.0 widest.
AU 0.6 avg and 7.8 widest.
GU 1.0 avg and 14.7 widest.
My questions are:
If the spread is above the defined figure, does the EA still send the trade and not the TP or cancel the trade completely?
Using ECN, if the spread increases after the trade is sent, does it cancel out the placing of a TP ?
If the trades end up with no TP set during initial execution, should the EA check and place them later using the second routine?
There may be others wanting to ask these questions but are too afraid to do so but Steve readily admits that sometimes we have to bite the bullet and take the chance of a reaming.
This is my "BITE THE BULLET" moment! Please take it as it is meant and that is to help others as well as myself to understand what they are seeing.
PS. I am certainly not complaining about the 12.2% profit yesterday
Kind rgds
RM