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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    55 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    132 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    73 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X