Not logged in
Viewing 2 posts - 1 through 2 (of 2 total)

Forums>StrategyQuant>General Discussion>extern int OpenBarDelay = 0; // open bar delay in minutes

  • #267532 |
    Participant
    39 Posts

    what is it mean?

    if strategy is hourly or h4 then delays happens on each open bar? every h1 or h4?

    is  there a midnight or roll over trigger?

     

    extern int OpenBarDelay = 0; // open bar delay in minutes
    // it can be used for Daily strategies to trigger trading a few minutes later –
    // because brokers sometimes have technical delay after midnight and we have to postpone order execution

    #267553
    tomas262
    Administrator
    1826 Posts

    Hello,

    it is related to each bar open no matter what timeframe is used. So activating this (using value > 0) makes sense really just for the Daily timeframe

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

You must be logged in to reply to this topic.