Stop at X bars

Viewing 6 posts - 1 through 6 (of 6 total)
  • #35522

    Hi guys,

    I am seeking for a bit of help please:

    What should be written where to have the position stopped (closed) X bars after the entry?

    Coding for me is close to Chinese (with all the respect I have for this great country ;).

    FYI: careful: This strategy does not perform well all the time…

    Thank you for your help.

    DJ

    Edited by moderator to make PRT code format appear, please use the <> button in your new messages toolbar to insert PRT code

    #35618

    It has been answered many times already in the past on forums. You need to use TRADEINDEX and make a comparison with the actual BARINDEX, that’s all you need 🙂

     

     

    1 user thanked author for this post.
    #35645

    Thank you Nicolas. Help much appreciated.

    #35685

    Hi Nicolas,

    What would be the keyword that I should look for to have the strategy looking for multiple entries please ? (like for each signal given instead of waiting for being flat again)

    Thank you again Boss !

    DJ

     

    #35687

    You want to take another order while you are still on market, right? What would be the trigger to decide to add orders?

    1 user thanked author for this post.
    #35705

    Hi Nicolas, I think I found the trick on one of your previous posts … I have set up Defparam to True… then the strategy is now looking for all possible entries during the specified time frame…

     

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

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