Day trade exit code error

Forums ProRealTime English forum ProOrder support Day trade exit code error

Viewing 5 posts - 1 through 5 (of 5 total)
  • #188555

    Hi

    I have write the following code in the algo, but the result, it does not close the position at that time.

    You can see the Bar…these trade is over many days and close it at trail stop/target profit/stop loss.

    Thanks

    #188557

    close it at trail stop/target profit/stop loss.

    Hi Alfred – You are only talking about the first trade in that list, right ? all others look fine to me, although you don’t show the exit code for that.

    Is that instrument from a market which is open at those times ? … I would find it harder to find instruments which are open at those times, if the times would be mapped to European times (Amsterdam specifically). And then this won’t work …

    1 user thanked author for this post.
    #188560

    Thanks, the code is work  in the other algo.

    I am trying to find out the reason in this algo, thanks

    #188568

    240000 does not exit.

    Time ranges from 000000 to 235959.

     

    1 user thanked author for this post.
    #188571

    Thanks! Your are right, and fixed 🙂

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

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