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 Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        558 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        324 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        545 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        547 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X