Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Input and Inputs

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

    Input and Inputs

    On the manual page 729, Section 10.4.3.40 under Tips, "When working with multi-series indicators, Input always references BarsInProgress 0."

    I always thought Input is a just a convenient 'alias' for OHLC objects so the behaviors should be the same, i.e., Close[0] always refers to the 'current calling Bars object's Close.

    So why is it Input is behaving differently?

    There's no mention of Inputs as Open/Opens, but in some of the Indicators code there're references of Inputs[0]

    So what is the correct behavior of Input, and can I use Inputs as in Closes?

    #2
    Hello balancenv,
    Correct, Input would basically represent the PriceType you select while initializing the indicator.

    If you select the input series as Close then it will return the Close data series values.

    To assist you further may I know are you getting any different values.


    Since using Inputs wont provide any extra benefit as you cannot select the additional inputs (like value for Inputs[1]) it would be recommended to use Closes[1] etc as they are documented and officially supported unlike Inputs.
    JoydeepNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    631 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    364 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    566 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    568 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X