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

Custom RSI Development

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

    #16
    ginx10k,

    Thank you for the indicator

    I've reattached the adjusted Indicator.

    You do not need to .Set a line as that is done in the Initialize() section or in the Indicator settings when first applying it.

    Second, you will need to set values for the rsiMain and Avg plots to start having lines plotting on your chart.

    Let me know if I can be of further assistance.
    Attached Files
    Cal H.NinjaTrader Customer Service

    Comment


      #17
      Cal the Avg and rsiMain, are just there for other lines. the only thing I'm trying to do now is the 20 and 80 overbought/sold Levels.

      can you or somebody else write a snippet to illustrate what you're trying to say. I've already got rid of the .Set and typed
      Code:
      RSI(Lower(5,1));
      . that doesn't work.


      Does anyone have an answer that can help. please show a code.


      P.S. I appreciate your patience Cal, I just need a more straight forward answer. thanks buddy!!

      Comment


        #18
        Ginx10k,

        The Add(new Line()) is already taken care of for the Overbought and Oversold when we created them in the Initialize() section. However, they will not show unless there is something to plot; this is why I assigned .Set() values to the RsiMain and Avg.

        Effectively, once you create these lines, you can only change the value of them from the Initialize() section or in the Indicator settings when you apply the indicator to a chart.

        Let me know if this gives clarification
        Cal H.NinjaTrader Customer Service

        Comment


          #19
          Got It thanks!!

          OMG> I finally saw my error. I just missed the
          Code:
          rsiMain.Set(RSI(RsiPeriod, RsiSmooth).Default[0]);
          			Avg.Set(RSI(RsiPeriod, RsiSmooth).Avg[0]);
          I literally didn't have that on my indicator, after that was placed, everything plotted even the 80/20 lines.


          thanks SO much. I'm sorry I was so confused. I'm still really new to this.

          thank you so much.
          Last edited by ginx10k; 05-15-2014, 09:49 AM. Reason: Figured it out

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by wzgy0920, 04-20-2024, 06:09 PM
          2 responses
          27 views
          0 likes
          Last Post wzgy0920  
          Started by wzgy0920, 02-22-2024, 01:11 AM
          5 responses
          32 views
          0 likes
          Last Post wzgy0920  
          Started by wzgy0920, 04-23-2024, 09:53 PM
          2 responses
          49 views
          0 likes
          Last Post wzgy0920  
          Started by Kensonprib, 04-28-2021, 10:11 AM
          5 responses
          193 views
          0 likes
          Last Post Hasadafa  
          Started by GussJ, 03-04-2020, 03:11 PM
          11 responses
          3,235 views
          0 likes
          Last Post xiinteractive  
          Working...
          X