It is common knowledge that I code my ea's using my shell. This shell caters for strategies that only trade at the open of a new candle and those that trade at every tick with the variable EveryTickMode. When an ea trades only at the start of a new candle, I hide the variable and set it to false.
Someow, BASA latest has this set to 'true'. I will post a fix later. In the meantime, those of you who can (and yes, that really should be all of you by now) find
bool EveryTickMode=true;
and change it to
bool EveryTickMode=false;
then recompile.
fxozgirl wrote:Ok, this is interesting...SteveHopwood wrote:If the spread widens beyond MultiplierToDetectStopHunt * AverageSpread, BASA (and any other ea coded from later versions of my shell) will hang up its hat with a "EA suspended during a massive spread event" or some such wording. It will continue to monitor open trades but will not attempt to send new trades until the spread returns to within acceptable bounds.spotdespot wrote: I can't think of any reason why any Main or Re-entry trade would open part way through a H4 candle - whatever the settings. For me that is the main mystery.
.
This all happens within void CheckForSpreadWidening(), so the code to tell BASA that a new candle is not reached at the end of start(). So far as BASA is concerned, it is looking at a new candle even though that candle may be some minutes old.
Shouldn't be a problem, but we can monitor this and change if need be.
I too had a GBPNZD trade taken 2 hours into the candle last night, the entry was correct for the start of the candle, just a delayed entry??
Unfortunately this trade due to a spike down in the next candle was stopped out, but if it had been taken at the start of the candle would have closed in a nice profit. Worse, it was my live account![]()