• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 Goolden, Today, 09:51 AM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by ArmKnuckle, Today, 01:25 AM
      1 response
      25 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by 7robert, Today, 08:26 AM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by 7robert, Today, 08:08 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Jim  
      Started by ttodua, Today, 08:09 AM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_Jim  
      Working...
      X