Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Fatal error post compilation of indicator

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

    Fatal error post compilation of indicator

    I compiled an indicator and on script refresh a fatal error occurred and recurred every time a startup was tried. I had to remove all workspaces and templates to prevent the indicator from loading. I then found the error and recompiled without errors. Put erverything back to normal and am good to go.

    The script error was in the Properties region in the set line. Just thought you'd like to know. What a difference the case syntax made.

    [Description("Show CCI predictor on chart?")]
    [Category("CCI Predictor")]
    public bool ShowPredictor
    {
    get { return showPredictor; }
    set { ShowPredictor = value; }
    }

    #2
    What NT version are you using? On compile, we detect this code error and report to the user before allowing further compile.
    RayNinjaTrader Customer Service

    Comment


      #3
      ver. 6.5.1000.2

      Comment


        #4
        You got this error since the property was not marked by
        [Category("Parameter")]
        as required (but by a different tag). We strongly recommend only going with category name above. Thanks

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by DayTradingDEMON, Today, 09:28 AM
        2 responses
        15 views
        0 likes
        Last Post DayTradingDEMON  
        Started by Stanfillirenfro, Today, 07:23 AM
        6 responses
        22 views
        0 likes
        Last Post Stanfillirenfro  
        Started by navyguy06, Today, 09:28 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by cmtjoancolmenero, Yesterday, 03:58 PM
        8 responses
        32 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by helpwanted, Today, 03:06 AM
        2 responses
        22 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Working...
        X