Limit number of order to 2 per day

Forums ProRealTime English forum ProOrder support Limit number of order to 2 per day

Viewing 3 posts - 1 through 3 (of 3 total)
  • #238421

    I have developed a trading strategy and backtested the same using ProRealtrade. I used OTD = Barindex - TradeIndex(1) > IntradayBarIndex to limit the order to one per day. Now i want to see how the results are if i increase number of trades per day to two.

    I searched in the forum below and found below code should be used to limit orders per day to two. However, i am struggling to understand how this code works and it’s not currently delivering my need.

    ( (not onmarket and onmarket[1] and not onmarket[2]) or (tradeindex(1)=tradeindex(2) and tradeindex(1)=barindex[1] and tradeindex(1)>0) )

    Please can i get some help in limiting number of order per day to 2 and this can be configurable..

    #238426

    There you go:

     

    2 users thanked author for this post.
    #238434

    Thats brilliant. Thank you.

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

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