Multiple entry executions but only trailing SL on one

Forums ProRealTime English forum ProOrder support Multiple entry executions but only trailing SL on one

Viewing 15 posts - 1 through 15 (of 15 total)
  • #240405

    Hello!

    I am currently working on a long only strategy, where I have two different entry executions, for reference they look like this:

    entry method 1:

    and

    entry method 2:

     

    currently I am managing stoploss with a trailing SL that looks like this:

     

    however this makes it so that applies to both entry methods, I would only like to have trailing SL for entry method 1, where as entry method 2, i just want SL to be put breakeven and never move again.

    Is there any solution to distinguish this?

     

    best regards

    Jonathan

    #240410

    You could run two separate strategies? Keep it simple.

    #240415

    unfortunately not, as i dont want there to be a scenario where they execute at the same time

    #240416

    Try …

     

    #240417

    does unfortunately not do it. Method 2 still trails the stoploss the same way. but i think you you’re onto something about defining the different methods to split them up, im just not very experience on that end yet

    #240419

     

    #240420

    Try below to only take a position under one Method … I’ve not tested and not had coffee yet! 🙂

     

    #240424

    Just had a shot of caffeine, this should work better (not tested) …

     

    2 users thanked author for this post.
    #240429

    Delete Line 42 in above.

    #240434

    Also add below …

    If you want to post the .itf including your variables then I would test out on my Platform.

    Anybody feel free to add / join in etc.

    #240438

    So here we are, a question that is relevant to this Topic … using Nicolas Trailing Stop (as in the code above) with SELL AT newSL STOP at Line 38 … will the SET STOP %LOSS 1.3 at Line 10 still work?

    OR will the ‘Line 38 Stop instruction’ cancel / make redundant the ‘Line 10 Stop Instruction’??

    Anybody know or hazard a guess? 

    #240439

    Have dropped the ITF below, and the full strategy code following:

     

    Have not yet tried out the alternatives you have dropped during the day as i am on the run for a bit, but will hopefully get a few hours this evening. I appreciate the help big time, mate

    1 user thanked author for this post.
    #240441

    impossible with prt only with mt4

    #240445

    using Nicolas Trailing Stop

    Does not cancel / make redundant a Set Stop %Loss or Set Stop pLoss instruction.

    #240446

    The following code does it for me:

     

    1 user thanked author for this post.
Viewing 15 posts - 1 through 15 (of 15 total)

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