Close trade next candel close- How? Please help.
-
I would like to close opened trade on next candel cloce-
If I set TP on Candel close ---- candel ID 0--- nothing hapened or close trade imidietly after opened. AM I WRONG? please help. -
depends on your strategy, but you can try block Once per bar
-
What do you mean by "next candle close"?
If you want to open a trade in candle X and close it when that candle is closed, just use Once per bar -> Close trades. This means that any trade will be closed at the beginning of any candle.
If you want to open a trade in candle X and close it at the beginning of candle X+2... then I will suggest to try the Expiration settings. It's not exactly the same, it is similar, the trade would be closed at certain amount of time after its creation. If you still want to close is at the end/beginning of some candle, then I imagine using Once per bar followed by pink blocks For each Trade -> check age -> close
-
Thanks for answer but stiil not help.

look at the picture
if 2 condition true = 1trade is open
You say ( If you want to open a trade in candle X and close it when that candle is closed, just use Once per bar -> Close trades. This means that any trade will be closed at the beginning of any candle.)I did what you say. (I hope.) but trade is closed imidietly after open. look at the picture.! 0_1486417399333_Snímek obrazovky (23).png
please what is wrong.
Thanks mik -
@Mik78 Add "close trades" block inbetween block 6 and 1

Delete block 7 and 8
-
thanks SShui. It help
I tried another option. I put in block with TP expiration and then i can chois exactly time when trade close.by mik