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.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    321 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    203 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    190 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    283 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    238 views
    0 likes
    Last Post CarlTrading  
    Working...
    X