Bollinger band EA not firing all signals
-
Thanks Ambrogio, appreciate it.
-
Eric
Looks like you may have been testing the EA over last weekend?
When you ran the EA, was the market open or closed? The spread that you have set in tester might not have allowed the bid that you are using to trigger the trade to be greater or less than the Boll Band value even though the candle shows greater or less than the Boll value.. Test with Candle Close (Candle 0) rather than bid.....you might notice a difference. -
Remove the Once per bar block and things will start working.
-
Thanks, Richard and Andy. Problem solved! Appreciate your help.
-
Yes, it is important where Once per bar is. I think it is also very logical that when this block is somewhere on the top, everything below it would run only 1 time per bar - on the 1st tick of every new bar. At that time the bar looks like a dot, because O, H, L and C are the same. And after that time the bar will change its appearance on every tick until it closes, but nothing will happen below Once per bar, because it already passed for that bar.
If Once per bar is below the condition, then you can got a signal in the middle of the bar.