• 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 afoschini, Today, 02:57 AM
        0 responses
        1 view
        0 likes
        Last Post afoschini  
        Started by jecoyeko, Today, 12:45 AM
        0 responses
        5 views
        0 likes
        Last Post jecoyeko  
        Started by Newtrader101, Yesterday, 06:31 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_EricB  
        Started by Tyler7498, Yesterday, 07:34 PM
        0 responses
        4 views
        0 likes
        Last Post Tyler7498  
        Started by Woomera, Yesterday, 07:24 PM
        2 responses
        10 views
        0 likes
        Last Post Woomera
        by Woomera
         
        Working...
        X