Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

system Indicator BlockVolume

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

    system Indicator BlockVolume

    Hello,

    In the System Indicator "BlockVolume", when assigning the value to the plot, there is only one Plot, but when assigning the value, both Plot[0] and Plot[1] are used...but there is just one Plot created in State.SetDefaults

    I want to clone this indicator but don't understand why it is coded this way.

    Specifically I want to add an SMA line plot...would that not be Value[1]

    Or ???

    #2
    Hello llanqui,

    Did you mean Value[0] and Value[1]?

    If so that means set the plot at 0 bars ago and set the plot at 1 bars ago. Value represents the first plot.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DJ888, 04-26-2024, 10:57 PM
    2 responses
    17 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by port119, 04-27-2024, 02:43 PM
    3 responses
    31 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by sastrades, 01-31-2024, 10:19 PM
    13 responses
    204 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by reynoldsn, Today, 04:40 PM
    0 responses
    7 views
    0 likes
    Last Post reynoldsn  
    Started by Philippe56140, 04-27-2024, 02:35 PM
    6 responses
    56 views
    0 likes
    Last Post bltdavid  
    Working...
    X