Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

compiler warnings in stock code

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

    compiler warnings in stock code

    I like to have my code clean and compile without warnings. when I enable 'show warnings' in the NinjaScript Editor, I see a few warnings in the stock code regarding obsolete function calls:
    * @APQ.cs, Line 390
    * @Notes.cs, Line 180
    * @ProfitLoss.cs, Line 145
    * @Volume.cs, Line 239

    These should be fixed or suppressed.


    Thank you,
    best regards, Felix

    #2
    Hello fbertram,

    Thank you for your post.

    There should not be any messages in regards to the pre-loaded indicators. This is an indication of a larger matter.

    Please follow the instructions below and provide the screenshot of the errors with the messages expanded and readable.
    • Open NinjaTrader
    • From the Control Center select the New menu--> select NinjaScript Editor
    • Right click in the window and select Compile to compile all NinjaScript objects
    • At the bottom of the NinjaScript Editor window a new section will appear where you can find the error locations

    Please send me a screenshot of the error with the name and description fields clearly readable.

    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 on our forums - http://www.ninjatrader.com/support/f...ead.php?t=4678

    Comment


      #3
      Hello fbertram,

      I see these are the 'Warnings' and not compile errors. Please disregard my last post. Development is reviewing. Thank you for your report.

      Comment


        #4
        Hi Patrick,
        here you go. Please let me know if there is anything else I can do to help.

        Best regards, Felix
        Attached Files

        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