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

'NT application has stopped working' message

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

    'NT application has stopped working' message

    the following two lines in the indicator initialize region cause NT to immediately crash with the message 'NT application has stopped working'. Please advise.

    joeXXOindicator(1).Plots[0].Pen.Width = 3;
    joeXXOindicator(
    1).Plots[0].Pen.Color = Color.Red;

    #2
    The same statements work ok in the strategy???

    The same statements work ok in the strategy???
    Last edited by joemiller; 07-25-2013, 03:21 AM.

    Comment


      #3
      Joe, indicators would not Add() indicators in for display, that's something only supported for strategies.
      BertrandNinjaTrader Customer Service

      Comment


        #4
        Do you mean the two statements are 'add' statements even though there is no explicit word 'add'?

        Comment


          #5
          No, but this is a technique needed when you want to change plot colors for indicator Add()ed by a strategy. This would not apply to your regular indicator - here you would just specify the desired plot color in the Add() call for the plot that defines the visualization aspects.
          BertrandNinjaTrader Customer Service

          Comment


            #6
            my experience with NT is not sufficient to fully understand [to the point where I could explain it myself]. However, no problem ... It is time for me to be glad that I've got it working, and to press on.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by WHICKED, Today, 12:56 PM
            2 responses
            15 views
            0 likes
            Last Post WHICKED
            by WHICKED
             
            Started by Felix Reichert, Today, 02:12 PM
            0 responses
            1 view
            0 likes
            Last Post Felix Reichert  
            Started by Tim-c, Today, 02:10 PM
            0 responses
            1 view
            0 likes
            Last Post Tim-c
            by Tim-c
             
            Started by cre8able, Today, 01:16 PM
            2 responses
            9 views
            0 likes
            Last Post cre8able  
            Started by chbruno, 04-24-2024, 04:10 PM
            3 responses
            49 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Working...
            X