• 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

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
    Patrick H.NinjaTrader Customer Service

    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.
      Patrick H.NinjaTrader Customer Service

      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 ninjo, Today, 02:42 PM
        2 responses
        4 views
        0 likes
        Last Post ninjo
        by ninjo
         
        Started by Longhornmark, Today, 01:13 PM
        5 responses
        13 views
        0 likes
        Last Post Longhornmark  
        Started by ntbone, Today, 12:34 PM
        4 responses
        18 views
        0 likes
        Last Post ntbone
        by ntbone
         
        Started by deltaZ, Today, 12:41 PM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Started by pjsmith, Today, 12:21 PM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_PatrickG  
        Working...
        X