Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error with Path in SetDefault State

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

    Error with Path in SetDefault State

    Hello NT8 Team,

    I wrote a test indicator to export tick data to a file.
    There is some error in one way than other.

    If i set path in SetDefault state then Log shows the error of instance and this happens just before indicator dialogue box loads up. After error pops my indicator is not available in indicator selection dialogue. Though there is no compile error.

    But when i set path in Configure state then no error anywhere and indicator works perfect.

    Can you explain cause of this behavior ?

    I see path setting in SetDefault state working in below example, whats different in my case ?

    Attached Files
    Devdas
    NinjaTrader Ecosystem Vendor - Devdas

    #2
    No one ?

    Devdas
    NinjaTrader Ecosystem Vendor - Devdas

    Comment


      #3
      Hello devdas,

      Thanks for writing in.

      Note that NinjaTrader 8 beta items fall secondary in priority to NinjaTrader 7 inquiries.

      Per the NinjaTrader 8 beta help guide: Bug reports will be reviewed by our support and development staff inside of a 48 hour period. This does not include holidays and weekends.

      See the link below on Bug reports and providing feedback.



      I will be investigating this further and will return with my findings.

      Thank you for your patience.
      Zachary G.NinjaTrader Customer Service

      Comment


        #4
        Hello devdas,

        This is occurring because you are attempting to access Instrument.MasterInstrument.Name in State.SetDefaults.

        You are unable to access this in SetDefaults.

        Please take a look at this link for more information about MasterInstrument: http://ninjatrader.com/support/helpG...instrument.htm

        "Warning: Properties in this class should NOT be accessed during State.SetDefaults from within the OnStateChange() method."
        Zachary G.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by mmenigma, Today, 02:22 PM
        0 responses
        1 view
        0 likes
        Last Post mmenigma  
        Started by frankthearm, Today, 09:08 AM
        9 responses
        35 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by NRITV, Today, 01:15 PM
        2 responses
        9 views
        0 likes
        Last Post NRITV
        by NRITV
         
        Started by maybeimnotrader, Yesterday, 05:46 PM
        5 responses
        26 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by quantismo, Yesterday, 05:13 PM
        2 responses
        21 views
        0 likes
        Last Post quantismo  
        Working...
        X