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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    75 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    146 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    79 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    50 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    54 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X