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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        129 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        74 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        116 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        110 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        89 views
        0 likes
        Last Post CarlTrading  
        Working...
        X