Cumulative orders issue with individual stoploss and takeprofit

Forums ProRealTime English forum ProOrder support Cumulative orders issue with individual stoploss and takeprofit

Viewing 3 posts - 1 through 3 (of 3 total)
  • #85726

    Hello,

    I am having problems with cumulative orders. As long as the orders have fixed TP and SL value, everything seems to be ok, but I want to run this with a SL that is based on previous high which makes the SL value different for each order. When there are more than one order open at the same time it seems that PRT cannot separate them. Does anyone know how to solve this issue?  You can see more info at the bottom of the PRT code.

    Thanks

    Robert

     

    HERE IS THE ISSUE. TIME FRAME 15 JAN 2018 through 28 jan 2018
    SECOND TRADE, HIGH[1] is 09:00 18 JAN 2018
    HIGH[1] 111.357 – CLOSE 110.937 = 0.420
    TRADEPRICE 110.938
    TP = 110.518
    ____HERE COMES THE PROBLEM____
    TP WILL BE REPLACED BY THE TIHIRD TRADE´s SL&TP
    HOW TO GO AROUND THIS ISSUE?
    CLOSE WILL REPLACE CLOSE EVERY NEW CANDLE SAME GOES FOR HIGH[1]. //THIS IS DUE TO A DYNAMIC SL&TP VALUE SET BY PREVIOUS HIGH[1] MINUS CURRENT CLOSE
    THANKFUL FOR HELP

     

    #85735

    Please use the ‘Insert PRT Code’ button when putting code in your posts. I have tidied up your post as best as I can but getting rid of all the ‘shouty’ capitals was a job too far! 🙂

    Any time that you change a SET STOP or SET TARGET value it will change the distance/value for all open positions. You can sell individual amounts at individual levels by using STOP and LIMIT orders placed at every bar closure. You should however be aware that partial closure may work in back testing and manual trading but is not possible in ProOrder trading in either demo or live at the moment.

    1 user thanked author for this post.
    #85744

    Hello Vonasi,

    Thank you for your reply. I tried to upload via the PRT code button, but I obviously failed 🙂 Thanks for your help, cleaning it up!

    Now I understand the problem better and it seems that its not possible to solve the way I want it to work. I will try to use fixed SL and TP instead.

    BR

    Robert

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

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