Bucket of trades on init not firing
-
Hi there
I have a bucket of trades block in oninit but the block doesn't fire when loaded. I have tested but with some buy/sell blocks before it and it works perfectly.
And when I say the bucket of trades block doesn't fire, I mean I put a log message on both true/false outputs and nothing happens.
Anyone shed any light on this?
-
@general-melchett I am unsure but possibly correct your block id's.
-
Tried normalizing...same. No difference. Still doesn't fire bucket block...
-
I put an 'if trade' block before the bucket, the argument fails (I know this as I put a log message to print).
So the EA believes there are no trades running (there are 2 open on the same chart/pair! It's a demo account).
I now have to figure out in what instance the EA would assume no trades are running (where there are).
-
This is weird. Even if I put an 'if trade' block, in oninit or on tick, it returns false, even when 2 trades are running??
-
Problem solved, my bad: I set group mode to 'All' and now the EA performs as expected.