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 geddyisodin, 04-25-2024, 05:20 AM
      8 responses
      61 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by jxs_xrj, 01-12-2020, 09:49 AM
      4 responses
      3,288 views
      1 like
      Last Post jgualdronc  
      Started by Option Whisperer, Today, 09:55 AM
      0 responses
      5 views
      0 likes
      Last Post Option Whisperer  
      Started by halgo_boulder, 04-20-2024, 08:44 AM
      2 responses
      22 views
      0 likes
      Last Post halgo_boulder  
      Started by mishhh, 05-25-2010, 08:54 AM
      19 responses
      6,189 views
      0 likes
      Last Post rene69851  
      Working...
      X