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 fx.practic, 10-15-2013, 12:53 AM
    5 responses
    5,404 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by Shai Samuel, 07-02-2022, 02:46 PM
    4 responses
    95 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by DJ888, Yesterday, 10:57 PM
    0 responses
    8 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by MacDad, 02-25-2024, 11:48 PM
    7 responses
    159 views
    0 likes
    Last Post loganjarosz123  
    Started by Belfortbucks, Yesterday, 09:29 PM
    0 responses
    8 views
    0 likes
    Last Post Belfortbucks  
    Working...
    X