EA reacts not as build
-
Please see the attachment.
I want to make a buying trade a soon the price brakes down the lower envelop line on candle 1 and comes back up with a Bull candle 0.
How is it possible that the trade can be done on a Bear candle anyway?
I have also tested with minimum Bull candle body, but it keeps doing the same.
What do I overlook?Thank you very much in advance for your reactions!!!

-
@olavvanderbeek Can you please share the link to your project?
-
-
Or better http://fxdreema.com/shared/PkMRu0kse

-
@olavvanderbeek This is due to the fact that you are not using a 'once per bar' block. What you see as a bearish candle was a bullish candle at the exact moment the trade was open. Later on price moved dwon and the candle became a bearish one.
Same with the indicator. What you see now as the position of the evelopes shows the position of it at the moment that was the las candle on the chart. Later on many other candles have been plotted and the indicator repainted the lines plotted to adjust the result. It's not you fault, this is how many indicators work.