How to use CumulateOrders=True and prevent opening new positions in the same TF

Forums ProRealTime English forum ProOrder support How to use CumulateOrders=True and prevent opening new positions in the same TF

Viewing 4 posts - 1 through 4 (of 4 total)
  • #131417

    Dear All,

    I’m trying a very simple code and I’m running in a little trouble.

    I’d like to open the orders in the code just once a month while other positions are still open in previous months preventing the code to open multiple positions in the same month.

    Your advice would be much appreciated.

    Thank you

    #131425

    Try this (not tested):

     

    #131426

    Thank you Roberto,

    I will give it a try.

    Cheers

    #131433

    Roberto,

    it worked beautifully

    Thank you very much for your help.

    Renzo

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

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