trailing stop not accepted when going live

Forums ProRealTime English forum ProOrder support trailing stop not accepted when going live

Viewing 10 posts - 1 through 10 (of 10 total)
  • #152247

    Hi guys, anybody can explain me why when I am adding a trailing condition in my strategy the platform doesn’t allow me to run the system and when I delete the trailing conditions from the strategy the platform run my strategy?? Thanks

    #152250

    SET STOP TRAILING is accepted,thiough recommended.

    What error does it return?

    Usually a common mistake is to use TWO different kinds of stop, such as:

    which is not allowed, SET STOP LOSS and SET STOP TRAILING cannot be in the same line and cannot be in the same strategy. If they are in the same line an error is reported, while if they are on different lines they are accepted, but the second line always overrides the previous one.

     

     

    1 user thanked author for this post.
    #152255

    Hi, this is the code I am using for

     

    #152256

    When I try to launch the automatic proreal time in the live market it`s show me this

    #152261

    It means : Delete the last line of your code.

    1 user thanked author for this post.
    #152265

    oh yeah, I have just realized now. DONE. appreciate your help, many thanks.

    #152268

    Always use the ‘Insert PRT Code’ button when putting code in your posts to make it easier for others to read.

    Thank you 🙂

     

    #152392

    Hi guys, I am new in programming so there is anybody who can help me how to build a breakeven code for short positions ? what do I have to change exactly to make it work for short one ? thank you for your patience.

    MODERATORS EDIT: One post deleted and merged and code tidied up. Topic also moved to correct forum. Please try to be more careful with future posts.

    #152399
    #152402

    Replace line 30 with:

     

     

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

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