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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    80 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X