• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

rsi alteration

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

    rsi alteration

    Hello Forum,

    Really new to trading, im trying to train my eye to the rsi indicator, so i use two horizontal lines at the 40 and 60 measurements to help put reference to the response in price action. I will attach a pic to show what im trying to explain. Anyways, i would really appreciate if someone can show/tell me how to make this a permanent fixture in my rsi, along with my default overbought/oversold lines. I have a lot of charts i look at, and its just one less thing i would have to convert every time i change time intervals or instruments in my charts.

    if this isn't the appropiate section to ask, then could somone tell me where or whom to ask to get this setting to a default on my platform.
    Attached Files

    #2
    Hello Julienxr,

    Thank you for writing in.

    Unfortunately, drawing tools would not be able to be saved to a chart template.

    What I would suggest doing is making a duplicate RSI indicator and modifying this duplicate to add your additional 40 and 60 lines.

    To do this, follow these steps below:
    1. Click New -> NinjaScript Editor within the Control Center
    2. Double-click the Indicators folder in the NinjaScript Explorer panel within the ride side of the NinjaScript Editor window
    3. Double-click RSI
    4. Once the code appears for the RSI, you'll want to right-click within this code and click Save As
    5. Name this ducpliate copy of the RSI indicator to whatever you like
    6. Within OnStateChange(), you'll see if (State == State.SetDefaults)
    7. Within if (State == State.SetDefaults), you'll see two calls to AddLine(). You'll want to add additional calls to AddLine() for the lines you wish to add into the indicator


    More information about AddLine() can be found here: https://ninjatrader.com/support/help...s/?addline.htm

    Even without programming experience, you can easily add a line. A simple breakdown of the syntax would be like this:
    Code:
    AddLine(Brushes.[Color], [value to draw the line at], "[name of line]");
    For example, if you wish this line to be the color blue, at a value of 40, and the name Line1, you'd type the syntax as:
    Code:
    AddLine(Brushes.Blue, 40, "Line1");
    Do note that the first letter of the color (Blue) must be capitalized and the name of the line (Line1) is wrapped in quotation marks.

    Please, let us know if we may be of further assistance.
    Zachary G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by rblunsom, Today, 11:19 AM
    2 responses
    20 views
    0 likes
    Last Post guidoisot  
    Started by drewski1980, Today, 02:38 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by jfep1977, Today, 02:31 PM
    2 responses
    10 views
    0 likes
    Last Post jfep1977  
    Started by dmking, Today, 12:39 PM
    6 responses
    22 views
    0 likes
    Last Post dmking
    by dmking
     
    Started by marioresa, Today, 10:15 AM
    3 responses
    26 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Working...
    X