Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Tick based Volumetric bars out of sync with normal Tick bar of same BarsPeriod.Value

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

    Tick based Volumetric bars out of sync with normal Tick bar of same BarsPeriod.Value

    AddVolumetric("", BarsPeriodType.Tick, BarsPeriod.Value, VolumetricDeltaType.BidAsk, 1, true);

    If using 144T Bars as the primary bar series, and adding Volumetric bars based on 144T, eventually the bars become out of sync and never re-sync.
    Each are set to Break at End of Day. Reloading Historical data fixes this issue, and occasionally changing instruments and changing back to the original instrument fixes this issue.

    Any suggestions?

    #2
    Hi bmdenton23, thanks for your note.

    Do you have a sample script that I can test on my end? Please include a time in playback where this can be reproduced and state exactly what is out of sync. This simple test script works fine for me:

    Code:
    else if (State == State.Configure)
                {
                    AddVolumetric("", BarsPeriodType.Tick, BarsPeriod.Value, VolumetricDeltaType.BidAsk, 1, true);
                }
            }
    
            protected override void OnBarUpdate()
            {
                if(BarsInProgress == 1)
                {
                    Values[0][0] = Close[0];
                }
            }
    I look forward to hearing from you.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by bortz, 11-06-2023, 08:04 AM
    48 responses
    1,743 views
    0 likes
    Last Post carnitron  
    Started by Jonker, 04-27-2024, 01:19 PM
    3 responses
    23 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by businessman1929, 04-29-2024, 01:28 PM
    2 responses
    22 views
    0 likes
    Last Post businessman1929  
    Started by bltdavid, 03-27-2023, 05:32 AM
    18 responses
    347 views
    0 likes
    Last Post ETFVoyageur  
    Started by NM_eFe, Today, 05:15 PM
    0 responses
    5 views
    0 likes
    Last Post NM_eFe
    by NM_eFe
     
    Working...
    X