Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CalcOnBarClose FALSE & BarsSince

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    CalcOnBarClose FALSE & BarsSince

    I've been working on a strategy which runs with CalculateOnBarClose = false. I've also been restricting trade frequency with some success using BarsSinceEntry and BarsSinceExit criteria but occasional unexpected results. The issue is that a series of trades will (only sometimes) execute in rapid succession -- which is what I am trying to prevent with the BarsSince criteria. I was wondering if the CalcOnBarClose = false might have something to do with it.

    Can anyone advise if BarsSinceEntry/Exit functions might be affected in the case of running a strategy with CalcOnBarClose = false?

    I'll continue checking/testing to determine the issue, but figured I'd ask this question here.

    Thanks!

    #2
    Pepperdog, what would effect your strategy on running CalculateOnBarClose = false is this - your conditions can become true / false multiple times intrabar, as the building bar could trigger trades that would be negated at the closing time of the bar.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by helpwanted, Today, 03:06 AM
    1 response
    14 views
    0 likes
    Last Post sarafuenonly123  
    Started by Brevo, Today, 01:45 AM
    0 responses
    11 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    6 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    244 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    9 responses
    387 views
    1 like
    Last Post Gavini
    by Gavini
     
    Working...
    X