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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    79 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    45 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    29 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    66 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X