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 Jimmyk, 01-26-2018, 05:19 AM
      6 responses
      835 views
      0 likes
      Last Post emuns
      by emuns
       
      Started by jxs_xrj, 01-12-2020, 09:49 AM
      6 responses
      3,291 views
      1 like
      Last Post jgualdronc  
      Started by Touch-Ups, Today, 10:36 AM
      0 responses
      10 views
      0 likes
      Last Post Touch-Ups  
      Started by geddyisodin, 04-25-2024, 05:20 AM
      11 responses
      62 views
      0 likes
      Last Post halgo_boulder  
      Started by Option Whisperer, Today, 09:55 AM
      0 responses
      8 views
      0 likes
      Last Post Option Whisperer  
      Working...
      X