Quick SL and TP Q

Forums ProRealTime English forum ProOrder support Quick SL and TP Q

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

    Hey guys, I have a quick question about SL and TP. Is it possible to have one SL/TP for the long side and one for the short side in the same code? 🙂

    Like this:

     

     

    #50280

    It is possible but you can not use the SET command. Look here:

     

    #50331

    Thanks!

    #50615

    @Despair

    Thanks for answering the Joachim’s question but I do not understand your code. The code Joachim shared in his post should work fine to me.

    In your code:

    the long orders will close at 50, which will never be possible if the current instrument quote at 13000 for instance. I think Joachim would like to set its takeprofit and stoploss in points, not in price.

    #50626

    You are correct Nicolas. I forgot to add the trade price. The think Joachim wanted to achieve is that he has different TP and SL for short and long.

     

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