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 sjsj2732, Today, 04:31 AM
        0 responses
        20 views
        0 likes
        Last Post sjsj2732  
        Started by NullPointStrategies, 03-13-2026, 05:17 AM
        0 responses
        280 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        279 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        130 views
        1 like
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        90 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Working...
        X