Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error on Generating Strategy

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

    Error on Generating Strategy

    Hi NT7 support,

    I keep getting an Error on Generating Strategy message when I try to compile strategies, I am trying to make a very simple strategy in the wizard, please see pictures. I do not think I should be getting this error based on a very simple strategy, please help.

    - Todd
    Attached Files

    #2
    Can you post a screenshot of the error message window?

    Comment


      #3
      Hello Austiner87,

      Thanks for your post.

      The logic in the Strategy Wizard looks sound from your screenshots. I would suspect that there are other compile errors on the platform that are preventing this strategy from being compiled.

      I have included our instruction for troubleshooting compile errors below.

      Troubleshooting Compile Errors

      Please follow the instructions below to see where the errors are coming from after compiling the indicator. This will allow you to debug the indicator/strategy or remove it from your PC. If you are wondering why you receive an error when compiling only one indicator, it is because NinjaTrader always compiles all indicators and strategies - not just one. This is done to give you the highest runtime performance possible.

      For NinjaTrader 7:
      • Open NinjaTrader
      • From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
      • Select ANY indicator and double click on it (we need only to open and compile one script to see all compile errors for all files).
      • A new window will appear and you will need to right click in the window and select Compile to compile the indicators.
      • At the bottom of the window, a new section will appear where you can find the error locations.
      • From there you have the option to comment out offending code sections, remove the complete indicator or debug it to be able to compile again.

      If you are unsure as to what the error is indicating, please send me a screenshot of the NinjaScript File column and Error column fully visible (not to be confused with the Code column)

      To send a screenshot with Windows 7 or newer I would recommend using Window's, Snipping Tool.

      Click here for instructions

      Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.

      Click here for detailed instruction

      We have also collected more comprehensive steps for resolving NinjaScript programming errors in this tip in our Help Guide:Please let us know if you need further assistance.
      JimNinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by SantoshXX, Today, 03:09 AM
      0 responses
      11 views
      0 likes
      Last Post SantoshXX  
      Started by DanielTynera, Today, 01:14 AM
      0 responses
      2 views
      0 likes
      Last Post DanielTynera  
      Started by yertle, 04-18-2024, 08:38 AM
      9 responses
      41 views
      0 likes
      Last Post yertle
      by yertle
       
      Started by techgetgame, Yesterday, 11:42 PM
      0 responses
      12 views
      0 likes
      Last Post techgetgame  
      Started by sephichapdson, Yesterday, 11:36 PM
      0 responses
      2 views
      0 likes
      Last Post sephichapdson  
      Working...
      X