• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unable to Load ATM Strategy Template Error

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

    Unable to Load ATM Strategy Template Error

    Hello support,

    I have several custom ATM strategies for stops, and none of them are loading.
    When I try to insert a ATM stop strategy or edit one of them I get the error message:

    "Unable to load ATM strategy template from file 'C:\Users\username\Documents\NinjaTrader 8\templates\StopStrategy\OCO ES.xml'

    Any way to fix this?

    Thanks, and have a great day,

    DT_12

    #2
    Hello DayTrader12,

    Thank you for your post.

    Do you find the file named "OCO ES" under Documents\NinjaTrader 8\templates\StopStrategy on your PC?
    If so, please right click on the file > select Cut > then right click on your Desktop > select Paste. Finally, please test creating a new Stop Strategy.

    Please let me know if this resolves the matter.
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      Hi Patrick,

      I was able to find the file and cut and paste it to the desktop.
      I was able to create a new stop strategy.
      Does this mean my old templates are corrupt?

      Thanks,
      DT_12

      Comment


        #4
        Hello DayTrader12,

        Thank you for your response.

        This would indicate the file was corrupted.

        Please let me know if you have any questions.
        Patrick H.NinjaTrader Customer Service

        Comment


          #5
          Thanks Patrick,

          Can I open up the files and repair them using Visual Studio?

          Or maybe I can view the settings and then recreate new ones.

          I'll try that and let you know.

          DT_12

          Comment


            #6
            Try 8.0.7.0, a specific bug around re-saving over the top of an existing ATM template with a specific set of windows open was resolved that generated the below.
            BrettNinjaTrader Product Management

            Comment


              #7
              Hi Brett,

              I upgraded to 8.0.7.0, and now I have Ninjascript errors:
              @BarTimer.cs errors:

              NinjaScript File Error Code Line Column
              @BarTimer.cs 'NinjaTrader.Custom.Resource' does not contain a definition for 'BarTimerWaitingOnDataError' CS0117 152 76
              NinjaScript File Error Code Line Column

              NinjaScript File Error Code Line Column
              @BarTimer.cs 'NinjaTrader.Custom.Resource' does not contain a definition for 'BarTimerWaitingOnDataError' CS0117 72 78
              NinjaScript File Error Code Line Column
              @BarTimer.cs 'NinjaTrader.Custom.Resource' does not contain a definition for 'BarTimerWaitingOnDataError' CS0117 152 76

              @SampleCustomRender.cs errors:

              NinjaScript File Error Code Line Column
              @SampleCustomRender.cs 'NinjaTrader.Custom.Resource' does not contain a definition for 'NinjaScriptIndicatorNameSampleCustomRender' CS0117 60 79
              NinjaScript File Error Code Line Column
              @SampleCustomRender.cs 'NinjaTrader.Custom.Resource' does not contain a definition for 'NinjaScriptIndicatorNameSampleCustomRender' CS0117 49 45
              NinjaScript File Error Code Line Column
              @SampleCustomRender.cs 'NinjaTrader.Custom.Resource' does not contain a definition for 'NinjaScriptIndicatorDescriptionSampleCustomRender ' CS0117 48 51
              Last edited by DayTrader12; 06-07-2017, 08:27 AM. Reason: more info

              Comment


                #8
                Hello DayTrader12,

                Thank you for your post.

                May we schedule support call with you to look into this further?
                If so, please send an email to platformsupport[at]ninjatrader[dot]com with 'ATTN: Patrick H' in the subject line and a reference to this thread in the body of the email.

                I look forward to assisting you further.
                Patrick H.NinjaTrader Customer Service

                Comment


                  #9
                  I tried searching for the CS0117 error in platform help.
                  Looking on the forums now, Thanks

                  Comment


                    #10
                    Hello DayTrader12,

                    Thank you for your response.

                    Those errors should not be occurring and likely indicating missing or incorrect files.

                    Please let me if I may be of further assistance.
                    Patrick H.NinjaTrader Customer Service

                    Comment


                      #11
                      OK thanks Patrick, I will send an email now.

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by GATT1, Yesterday, 03:56 PM
                      2 responses
                      18 views
                      0 likes
                      Last Post GATT1
                      by GATT1
                       
                      Started by rickyblah12, Today, 03:07 PM
                      5 responses
                      12 views
                      0 likes
                      Last Post NinjaTrader_Jesse  
                      Started by itrader46, 10-03-2019, 06:18 AM
                      35 responses
                      187 views
                      0 likes
                      Last Post NinjaTrader_ChelseaB  
                      Started by aslane, Today, 03:09 PM
                      1 response
                      10 views
                      0 likes
                      Last Post rickyblah12  
                      Started by stoner, Today, 02:36 PM
                      1 response
                      5 views
                      0 likes
                      Last Post NinjaTrader_Melissa  
                      Working...
                      X