how do i sell at next candle?

Forums ProRealTime English forum ProOrder support how do i sell at next candle?

Viewing 4 posts - 1 through 4 (of 4 total)
  • #87466

    How do i code “sell at next candle”, in other words sell at the next candle close no matter what

    #87471

    You can never sell at the close. You can only sell at the open after the close!

    If you enter mid candle with a limit or stop order then this will close the trade on the same candle (well the following open at least). Otherwise if your strategy bought at the open then it will sell at the close (or following open really) of the candle after the decision candle – the same one that you entered on.

    #87486

    What about “exit after X bars”, possible to code? 🙂

    #87493

    Just start counting bars from the moment you decide you want to exit after x bars or save the barindex and and exit when barindex equals your saved value plus however many bars.

Viewing 4 posts - 1 through 4 (of 4 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login