yes I will in future make two different variables for thatTraderDesk wrote:Okay, trying it out now... I had posted this above buy I don't know if it made sense to you...milanese wrote:Ok here comes next update, now the DeltaTime Var are automatic set =TFmilanese wrote:I see the problem it is how the 3 bars are handeled in code later I will take a lookTraderDesk wrote:I just had three buys on EURJPY with a minute of each other... They should not do that as I have the "DelayTheAdditionalEntryForXBars=3" set for bars to close before opening a new position... See below chart... Should it not wait three bars BEFORE opening a new additional position if conditions are met?
Thanks...
Cheers:)
Tommaso
the problem you had described should now too be resolved
Cheers
Tommaso
extern int DelayTheEntryForXBars=2;
extern double PriceFromHALine=5; should be optional for the crossover and opening of the original position.
--------------------------------------
extern int DelayTheAdditionalEntryForXBars=3;
extern double PriceFromHALine=5; Must be included as the EA must open an additional position when price comes back to the HA line...
Cheers
Tommaso