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 bortz, 11-06-2023, 08:04 AM
    47 responses
    1,605 views
    0 likes
    Last Post aligator  
    Started by jaybedreamin, Today, 05:56 PM
    0 responses
    8 views
    0 likes
    Last Post jaybedreamin  
    Started by DJ888, 04-16-2024, 06:09 PM
    6 responses
    18 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by Jon17, Today, 04:33 PM
    0 responses
    4 views
    0 likes
    Last Post Jon17
    by Jon17
     
    Started by Javierw.ok, Today, 04:12 PM
    0 responses
    13 views
    0 likes
    Last Post Javierw.ok  
    Working...
    X