Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Input Serie

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

    Input Serie

    Hello,

    I have loaded my custom indicator with Input series = RSI(14,3).



    Then I hope these two Prints shows the same result, but it is not.

    Code:
    Print( Input[0] + "    " + RSI(14,3)[0] );
    Am I doing something wrong ?

    Thanks
    Attached Files

    #2
    Hello cls71,

    Thank you for writing in.

    With Input[0], you are printing out the current value of the RSI indicator with the ES 03-16 close values as its input series.

    With RSI(14, 3)[0], you are printing out the current value of the Input series as its input series (the values of the RSI with the ES 03-16 close values as its input series).

    If you wish for these two prints to match, you would need to add Close as the RSI's input series.

    Example:
    Code:
    Print(Input[0] + " " + RSI(Close, 14, 3)[0]);
    Please, let us know if we may be of further assistance.
    Zachary G.NinjaTrader Customer Service

    Comment


      #3
      I am sorry, was my mistake.
      Thanks so much.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Gerik, Today, 09:40 AM
      2 responses
      6 views
      0 likes
      Last Post Gerik
      by Gerik
       
      Started by RookieTrader, Today, 09:37 AM
      2 responses
      10 views
      0 likes
      Last Post RookieTrader  
      Started by alifarahani, Today, 09:40 AM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by KennyK, 05-29-2017, 02:02 AM
      3 responses
      1,285 views
      0 likes
      Last Post NinjaTrader_Clayton  
      Started by AttiM, 02-14-2024, 05:20 PM
      11 responses
      186 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X