Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

RSI - Set High/Low Value

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

    RSI - Set High/Low Value

    The default for the RSI is 70/30. This is displayed as a yellow line on the chart indicator at the 70 and the 30 level. I want to change this to 80/20. What are the properties I would use in C# to set these values in my code?

    TIA!
    Last edited by sultanofsuede; 09-04-2024, 11:43 AM.

    #2
    Hi sultanofsuede,

    First, declare the global variable:
    Code:
    RSI rsi;

    Then, initialize it and set the levels in Configure:
    Code:
    rsi = RSI(14, 3);
    
    rsi.Lines[0].Value = 20;
    rsi.Lines[1].Value = 80;
    Please refer to the attached file below.

    Regards,
    William
    Attached Files
    Last edited by ninZa; 09-05-2024, 09:57 PM.
    ninZa
    NinjaTrader Ecosystem Vendor - ninZa.co

    Comment


      #3
      Perfect!

      Thank you! Answers my question.

      Comment


        #4
        You are welcome!
        I'm glad to hear that I helped solve your problem.

        Regards,
        William
        ninZa
        NinjaTrader Ecosystem Vendor - ninZa.co

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        85 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        143 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        83 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        257 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        334 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X