Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

TickReplay: critical but stable

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

    #16
    ANY indicator could misbehave during historical tick replay

    Most indicators set to update On Price Change or On Each Tick do not need more than one tick per bar to backfill historical data. However if running on a tick replay chart they will receive every historical intrabar tick.
    Therefore, since ANY indicator could find its way onto a tick replay chart, seems to me that
    • Every indicator should have the CurrentBar<activeBar check.
    • Every indicator that does not need historica intrabar data should have a test that rejects such data
    :
    Code:
    If (IsTickReplays[0] and Historical State and NOTFirstTickOfBar)  return.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by zstheorist, Today, 07:52 PM
    0 responses
    3 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    149 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    5 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    33 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Started by tkaboris, Today, 05:13 PM
    0 responses
    5 views
    0 likes
    Last Post tkaboris  
    Working...
    X