Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by helpwanted, Today, 03:06 AM
    1 response
    8 views
    0 likes
    Last Post sarafuenonly123  
    Started by Brevo, Today, 01:45 AM
    0 responses
    7 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    5 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    242 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    9 responses
    385 views
    1 like
    Last Post Gavini
    by Gavini
     
    Working...
    X