Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Dom

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

    Dom

    Hi
    I was hoping some kind sole could help. I need some ones help to add one simple change to the existing NinjaTrader 8 "RSI".

    In "Properties" under the "Lines" I would like to add two more lines and modify the two existing ones.

    Upper
    Color: Green
    Dash style: Solid
    Name: Upper
    Value: 80
    Width: 5

    Lower
    Color: Green
    Dash style: Solid
    Name: Upper
    Value: 40
    Width: 5


    Upper
    Color: Red
    Dash style: Solid
    Name: Upper
    Value: 60
    Width: 5


    Lower
    Color: Red
    Dash style: Solid
    Name: Upper
    Value: 20
    Width: 5

    So 2 green line at 80 & 40
    & 2 red ones at 60 & 20 with a width of 5 for all 4 lines.

    That's it.....that's all I need done.

    If some one could code this and name it "RSIDom"

    Sincerely
    Dom
    Last edited by crwmdo; 09-06-2018, 02:47 AM. Reason: Better Explination

    #2
    Hello crwmdo,

    Thanks for your post and welcome to the NinjaTrader forums.

    You can accomplish your goal without custom programming using the existing capabilities of the platform. Please see the attached screenshot that shows the end result of how this can be done as described below.

    In the screenshot, I have changed the 2 existing RSI lines to match your description of Green color with values of 80 and 40 both with a width of 5. The line names need to be unique so I have left them as is. These changes will get you 2 of the 4 lines. If you want to set the RSI to always show these lines this way for future use, you can save the settings by clicking the word "preset" located at the bottom right of the indicator properties, then click "save". This only gets you 2 of the 4 lines.

    To add the 2 red lines, you can use the drawing tool (pencil icon on the chart) "Horizontal line" to draw two (or more) horizontal lines in the RSI indicator panel. The lines, when drawn, will be the default color and size and likely will not be (and do not need to be) precisely at the levels. For each of the two added lines:

    1) Double left click on the line to open the "drawing objects" property window. On the right side will be the line data of the line you double left clicked.
    2) Left click the 'Line" to expand the line selections
    3) Change the color to red
    4) Change the width to 5
    5) left click on the word "data" to expand the data properties
    6) Change the "Anchor Y" to the precise values needed (in my example this was the 20 and 60 line).
    7) Click OK to see the changes to the line on the chart.

    Repeat 1 - 7 for the other horizontal line.

    Note, if adding the RSI on other charts you would need to repeat the above steps on any new chart to add the two horizontal lines. After you have done this a couple of times it can be done quickly.
    Attached Files
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Hi Paul
      "if adding the RSI on other charts you would need to repeat the above steps on any new chart to add the two horizontal lines. After you have done this a couple of times it can be done quickly"


      I have one chart with an RSI open on my saved workspace. Via my "Market Analyzer" I scroll thru many many symbols as well as 4 different time frames. So what you describe above is a pain as I have to add lines to maybe 100 charts in total.


      This is why I need it written into the code of an RSI. That way one indicator on one chart. I can then scroll thru as many charts and as many time frames as I like without having to add hundreds of lines.


      Sincerely
      Dom

      Comment


        #4
        Hello crwmdo,

        Thanks for your reply.

        I agree your set-up would not be conducive for implementing the non-coding changes I suggested. While we do not provide custom modifications in general, this was a simple change to make for your convenience. Please find attached RSIdom.
        Attached Files
        Paul H.NinjaTrader Customer Service

        Comment


          #5
          Dear Paul

          Dear Paul


          You leave me speechless..........thank you so much for the help sir.....much appreciated.


          Sincerely
          Dom

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by TheWhiteDragon, 01-21-2019, 12:44 PM
          4 responses
          541 views
          0 likes
          Last Post PaulMohn  
          Started by GLFX005, Today, 03:23 AM
          0 responses
          2 views
          0 likes
          Last Post GLFX005
          by GLFX005
           
          Started by XXtrader, Yesterday, 11:30 PM
          2 responses
          11 views
          0 likes
          Last Post XXtrader  
          Started by Waxavi, Today, 02:10 AM
          0 responses
          7 views
          0 likes
          Last Post Waxavi
          by Waxavi
           
          Started by TradeForge, Today, 02:09 AM
          0 responses
          14 views
          0 likes
          Last Post TradeForge  
          Working...
          X