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 kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    88 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    92 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    70 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    87 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    64 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X