Not open more trades for today

Forums ProRealTime English forum ProOrder support Not open more trades for today

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

    Hello, im trying to code a sytsem on timeframe 30min but i don’t want it to open more than one trade per day,

    so i tried to use a multitimeframe on daily timeframe section by setting something like ” not tradeindex =0″ in the conditions of the orders because it should return the index of the bar of the last trade (therefore it is 0 if he has already opened a trade today) but it doesn’t work.

    How could it be solved? Thanks

    #215326

    Use this variable (OTD) as an additional condition to enter a trade:

    Example:

     

     

    1 user thanked author for this post.
    #215354

    Thanks Roberto it seems to work fine.

     

    Grazie Roberto sei un idolo!

    #215363

    Thanks to the guy who pointed it out and its creator in the library https://www.prorealcode.com/topic/help-with-limiting-strategy-to-one-trade-per-day/#post-143705.

     

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