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.

    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.

        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.

            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.

                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.

                    Comment


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

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by DJ888, 04-16-2024, 06:09 PM
                      6 responses
                      18 views
                      0 likes
                      Last Post DJ888
                      by DJ888
                       
                      Started by Jon17, Today, 04:33 PM
                      0 responses
                      1 view
                      0 likes
                      Last Post Jon17
                      by Jon17
                       
                      Started by Javierw.ok, Today, 04:12 PM
                      0 responses
                      6 views
                      0 likes
                      Last Post Javierw.ok  
                      Started by timmbbo, Today, 08:59 AM
                      2 responses
                      10 views
                      0 likes
                      Last Post bltdavid  
                      Started by alifarahani, Today, 09:40 AM
                      6 responses
                      41 views
                      0 likes
                      Last Post alifarahani  
                      Working...
                      X