Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

RSI - Fast value.

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

    RSI - Fast value.

    Hi,

    I'd like to get the value of the Blue line on the RSI indicator (picture below).

    Currently, I have this code...

    testRSI=RSI(14,3)[1];

    However, it gives me the orange line only. How can I get it to provide the value of the Blue line..?

    Click image for larger version

Name:	image.png
Views:	135
Size:	17.0 KB
ID:	1225426

    Thank you!

    RK

    #2
    Hello RK,

    Thank you for your post.

    The RSI has two plots, the default RSI value and the Avg. Your line of code provides the default value:

    testRSI=RSI(14,3)[1];

    To get the Avg plot value, you would need the syntax of RSI(int period, int smooth).Avg[int barsAgo] like the following:

    RSI(14,3).Avg[1];

    For more information about the RSI indicator and syntax available:


    Please let us know if we may be of further assistance.

    Comment


      #3
      Thank you, Emily. Much appreciated!
      RK​
      Last edited by rasdaka; 11-29-2022, 09:16 AM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      43 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      21 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      30 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      50 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      41 views
      0 likes
      Last Post CarlTrading  
      Working...
      X