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 Jon17, Today, 04:33 PM
      0 responses
      1 view
      0 likes
      Last Post Jon17
      by Jon17
       
      Started by Javierw.ok, Today, 04:12 PM
      0 responses
      5 views
      0 likes
      Last Post Javierw.ok  
      Started by timmbbo, Today, 08:59 AM
      2 responses
      10 views
      0 likes
      Last Post bltdavid  
      Started by alifarahani, Today, 09:40 AM
      6 responses
      41 views
      0 likes
      Last Post alifarahani  
      Started by Waxavi, Today, 02:10 AM
      1 response
      20 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Working...
      X