Open and Close at start and end of same bar

Forums ProRealTime English forum ProOrder support Open and Close at start and end of same bar

Viewing 7 posts - 1 through 7 (of 7 total)
  • #8766

    Hello

    I would like to Open a trade at the start of a bar and close it at the end of the same bar i.e. my exit criteria is the end of the time period.

    Example:

    I wish to go long on a 15 min bar – I would like to buy 1 lot at 11:00 and exit my position at 11:15.

    Thanks

    K12an

    #8768

    Hi K12AN, do you want something like this?

    Or

     

    #8769

    Hope it helps you 😉

    #8771

    Thanks Adolfo – will give it a try 🙂

    #8775

    NEXTBAROPEN is depreciated. Each conditions are tested at close of the bar and then trade are launched at the next bar open.

    1 user thanked author for this post.
    #8899

    Not having much luck with this I’m afraid.

    I wanted to open a trade every day at 7am and close it at 5pm – but haven’t been able to make it work.

    Even when using the function in beta version 10.3 it doesn’t generate any trades in backtesting

    #8906

    What is the timeframe used for your conditions? May I ask you to put here your entire code for a better comprehension? Thanks! 🙂

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

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