• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Input Series

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

    Input Series

    part of stochastics codes is shown below:

    nom.Set(Close[0] - MIN(Low, PeriodK)[0]);
    den.Set(MAX(High, PeriodK)[0] - MIN(Low, PeriodK)[0]);

    If we let ema(14) as input series of a default stochastics
    stochastics a=stochastics(ema(14), 35);
    then, the Close[0] is the Value[0] of ema(14)
    Low[0] is the Value[0] of ema(14)
    High[0] is the Value[0] of ema(14).

    Am I right? The Close, Low and High are not the values from original series, are they?

    Another question is what is the difference between Input and Close?

    #2
    Hello microsat,

    Thank you for your post.
    Am I right? The Close, Low and High are not the values from original series, are they?
    Correct, when an indicator is used as the Input Series it only has it's one value (or selected plot if the indicator has multiple) that is used for OHLC.
    Another question is what is the difference between Input and Close?
    Close is the actual bar series the indicator(s) are applied to and it represents the close price of the referenced bar. Input is the Input Series selected in the Indicator settings menu.

    Please let me know if you have any questions.
    Patrick H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DavidHP, Today, 04:11 PM
    0 responses
    1 view
    0 likes
    Last Post DavidHP
    by DavidHP
     
    Started by alexstox, 03-24-2019, 01:07 PM
    6 responses
    51 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by fredfred, Today, 11:29 AM
    3 responses
    11 views
    0 likes
    Last Post NinjaTrader_JoshG  
    Started by swcooke, Today, 10:38 AM
    3 responses
    11 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by rickyblah12, Today, 10:12 AM
    5 responses
    20 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Working...
    X