bb ea
-
hi trying to create ea based on bb when price/candle crosses middle bb it buys and sells, that is done, however looking for order should close after crossing middle bb to the top of bb or bottom for sell order instead of fixed tp and sl thanks
-
I recommend you to spacify candle ID 1 on all operands of both 'Condition' blocks. On the other hand I don't fully understand the closing conditions. Could you please add a picture?
-
@l-andorrà thanks for your reply, pls see the image added

-
maybe your looking for something like this?

-
That is correct. And in this case candle ID 0 should be used.
-
@kricoslav thanks a lot
-
@l-andorrà hi thanks again
-
Unfortunately its not working did exact as advised on above pic. ea opening positions at middle bb but tp keep on changing, it never taking tp at top or bottom of bb any suggestion
-

-
Can you please share the latest version?
-
-
here it is above thanks
-
Do this for buys and then duplicate it for sells: