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 Shansen, 08-30-2019, 10:18 PM
    24 responses
    938 views
    0 likes
    Last Post spwizard  
    Started by Max238, Today, 01:28 AM
    0 responses
    3 views
    0 likes
    Last Post Max238
    by Max238
     
    Started by rocketman7, Today, 01:00 AM
    0 responses
    2 views
    0 likes
    Last Post rocketman7  
    Started by wzgy0920, 04-20-2024, 06:09 PM
    2 responses
    27 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, 02-22-2024, 01:11 AM
    5 responses
    32 views
    0 likes
    Last Post wzgy0920  
    Working...
    X