Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Onbarclose vs Oneachtick

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

    Onbarclose vs Oneachtick

    I'm testing a scalping strategy that I developed. The difference between onbarclose and oneachtick is substantial in replay backtesting. My question is how does "on each tick" really work? Is it capturing the same trade over and over due to volatility in the market? I'm trading the NQ. When I use on bar close, it takes one trade only. But the on each tick option produces multiple trades per entry point. Curious as to how this works. Thanks.

    #2
    Hello Fran888,

    When using OnEachTick and comparing against historical results you would see large differences because the historical test will be run OnBarClose and not OnEachTick. In playback you can test OnEachTick because you are playing through realtime data.

    OnEachTick means OnBarUpdate is called for each tick, OnBarClose means OnBarUpdate is called once each bar closes.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    13 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    59 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    42 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    47 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    38 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X