Exitshort 1 contract

Forums ProRealTime English forum ProOrder support Exitshort 1 contract

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

    The strategy sells 2 contracts at market, one of them should be go out with Target Profit, the second one goes out with another parameters.

    How can i sell the first one? Set Target profit xx dont works in this case, it will close both contracts.

    #227427

    The answer is in your Title of the topic. It is actually like that. 🙂
    Of course you must do it in code and track yourself when to exit that 1 (or any number) of contracts.

    1 user thanked author for this post.
    #227430

    How can i set Target Profit for one contract if i have two contracts? Thats the question.

    #227432

    Firstly set the TP to the max TP you want to gain.

    Secondly, check when the intermediate TP is reached, at the closing of each bar (pending orders cannot partially close positions) and close the desired size AT MARKET.

     

    1 user thanked author for this post.
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