Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Memory Collapse while working with Strategy

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

    #16
    Originally posted by NinjaTrader_BrandonH View Post
    Hello zhiga,

    Thanks for your notes.

    The BlockVolume indicator code requires that a 1-Tick data series is added to the script in order for the script to properly calculate block volume and plot values. In CalculateBlockVolume(bool forceCurrentBar), inTransition and hasCarriedOverTransitionTick needs tick data to detect individual ticks that occur.

    Since it requires an added 1-Tick data series, you must leave the AddDataSeries(BarsPeriodType.Tick, 1);​ code in the indicator for it to properly function.

    Thank you Brandon,
    understood that.

    Is it equivalent to adding 1-Tick data series to the code and use the Tick-Replay Chart (without the 1-Tick data series to the code)?

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    89 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X