Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

what is Input - Input[0]

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

    what is Input - Input[0]

    I'm very new to NT8.

    I have seen Input[0] in several NT8 indicators such as SMA and SUM.
    I checked the definition in reference :

    "Holds an array of ISeries<double> objects holding the main data input. A ISeries<double> object is added to this array when calling the AddDataSeries() method. Its purpose is to provide access to the main input all Bars objects in a multi-instrument or multi-time frame script."

    I am confused with this explanation. can you explain what Input[0] refers to in SMA or SUM? What is the equivalent to "Input[0]" in NT7 ?

    #2
    Hello afshinmoshrefi,

    The equivalent of Input in NinjaTrader 7 is input.


    The input is the input series for the script.
    If you select the High as the Input series for a script, the Input[0] will return the most recent high for the bar.
    If you select another indicator as the Input series for a script, the Input[0] will return the most recent value of that indicator, calculated with input series for that script.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, Today, 06:46 AM
    0 responses
    8 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, Yesterday, 05:21 PM
    0 responses
    14 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    15 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    82 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    48 views
    0 likes
    Last Post PaulMohn  
    Working...
    X