define exit conditions based on specific entry conditions

Forums ProRealTime English forum ProOrder support define exit conditions based on specific entry conditions

Viewing 8 posts - 1 through 8 (of 8 total)
  • #148771

    Hi PRC members,

    Bonjour à tous,

    I was wondering whether, in one strategy, we could set specific exit conditions that applies to only to some entry conditions e.g. :

    c1 and c2 to take trade

    c3 et c4 to take a different trade

    c10 exits the trade taken by c1 and c2

    c11 exits tthe trade taken by c3 and c4

    thanks a lot for your inputs
    #148810

    No we can’t take partial exits … IG set the rules, don’t blame PRT! 🙂

     

    #148812

    Hi Grahal,

    sorry if i was not clear in my request but i am not seeking to do a partial exit per say but implement an exit condition based on some of of the entry position i set.

    in other words i would like to set an exit condition which would be valid only if lets say c1 and c2 has trigger an entry in position (while there are others conditions c3 c4 etc… that could also trigger another entry in position).

    thank you !

     

    #148813

    worth mentioning that the position will be exited in full, not partial TP etc…

    #148815

    Yeah sure what you want to do can be done.

    Record a Flag when Cond C1 and C2 = True and a different Flag for C3 and C4 = True.

    Include the Flags within respective If EndIf Exit Conditions.

    #148817

    Remember to reset the Flags in your Exit conditions.

    #148848

    Hi Grahal,

     

    you are definitely a master coder which i am not and after numerous tries to code your suggestions i can say that i would need some helps for that too.

    can you let me know how in practical (i.e. in code) this flag and my overall request should look like ?

     

    thank you so much

    #148864

    you are definitely a master coder

    Above is one thing I am NOT! 🙂

    If you post your code on here then it be easy for the Master Coders to advise what you need.  Your code can be conditions C1 and C2 etc.

    If you don’t post your code then I would be spending time (away from manual trading) writing out the conditions in order to illustrate use of a Flag.

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

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