Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

i need help

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

    i need help

    Hi .....

    Sorry if my English Language is't good .

    How i can add 2 Lines values 40 & 60 to RSI in the ninjatraderScript editor ?

    Thanks

    #2
    Hello Legend,

    Thanks for your post.

    You could create a copy of the RSI indicator that comes default with NinjaTrader and then modify the copy of the script.

    To create a copy of the RSI indicator script, open a New > NinjaScript Editor window, open the Indicators folder, double-click on the RSI file, right-click in the code of the indicator, select 'Save as', name the copy of the script, and click OK. After making a copy of the script, you could modify the copy to include two lines with a value of 40 and a value of 60.

    The AddLine() method could be used in OnStateChange() when the State == State.SetDefaults to add two lines to the copy of the RSI indicator.

    See this help guide page for more information about the AddLine() method and sample code.

    AddLine(): https://ninjatrader.com/support/help...t8/addline.htm
    Brandon H.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_BrandonH View Post
      Hello Legend,

      Thanks for your post.

      You could create a copy of the RSI indicator that comes default with NinjaTrader and then modify the copy of the script.

      To create a copy of the RSI indicator script, open a New > NinjaScript Editor window, open the Indicators folder, double-click on the RSI file, right-click in the code of the indicator, select 'Save as', name the copy of the script, and click OK. After making a copy of the script, you could modify the copy to include two lines with a value of 40 and a value of 60.

      The AddLine() method could be used in OnStateChange() when the State == State.SetDefaults to add two lines to the copy of the RSI indicator.

      See this help guide page for more information about the AddLine() method and sample code.

      AddLine(): https://ninjatrader.com/support/help...t8/addline.htm
      Thanks for you ..... done

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by ageeholdings, Today, 07:43 AM
      0 responses
      7 views
      0 likes
      Last Post ageeholdings  
      Started by pibrew, Today, 06:37 AM
      0 responses
      4 views
      0 likes
      Last Post pibrew
      by pibrew
       
      Started by rbeckmann05, Yesterday, 06:48 PM
      1 response
      14 views
      0 likes
      Last Post bltdavid  
      Started by llanqui, Today, 03:53 AM
      0 responses
      6 views
      0 likes
      Last Post llanqui
      by llanqui
       
      Started by burtoninlondon, Today, 12:38 AM
      0 responses
      12 views
      0 likes
      Last Post burtoninlondon  
      Working...
      X