Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Market replay with indicator

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

    Market replay with indicator

    I have an indicator that draws arrows on the screen. When I run it in Market Replay, the arrows drawn are not all consistent with the arrows that show if I refresh the indicator -- without code changes.

    I get arrows that definitely should not show, am missing others and many are correct.Refresh fixes it to match the expected results based on the code and verified by comparing values in the databox.

    I have another instrument on my chart and CalculateOnBarClose = false. The action on this additional instrument is for each tick. The arrows only draw on the close of the bar so I useCurrentBar to verify the bar closed.

    I have tried this at 1x speed because I thought there could be inconsistencies with higher replay speeds, butI do not notice this to be a factor.

    If you can shed some light on this, I would be very appreciative.

    Thank you,

    SuzyG

    p.s. I am getting some wrong calls realtime too.


    #2
    imported post

    We will put out another beta likely later this week. You could be experiencing an issue by where OnBarUpdate() can be called multiple times for the same tick. The next release addresses this. If the problem persists after that, please let me know.

    Ray
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kuxosude, Today, 02:17 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by PanicTrades, 05-10-2020, 08:45 AM
    6 responses
    71 views
    0 likes
    Last Post damon_achey  
    Started by soon123, Yesterday, 11:44 PM
    0 responses
    9 views
    0 likes
    Last Post soon123
    by soon123
     
    Started by Hyper, Yesterday, 11:10 PM
    0 responses
    5 views
    0 likes
    Last Post Hyper
    by Hyper
     
    Started by soon123, Yesterday, 10:20 PM
    0 responses
    5 views
    0 likes
    Last Post soon123
    by soon123
     
    Working...
    X