Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

error when trying to import indicator

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

    error when trying to import indicator

    this msg pops up whenever i try importing ShowBidAsk indicator

    please advise how i should fix this
    thank you

    btw when can i get NT8
    Attached Files
    Last edited by maaz1598; 12-01-2015, 02:59 AM.

    #2
    there is something wrong with your files. you would need to check for errors by tryin to compile any indicator and fix those.

    thats why im always addin custom indicators by simply dropping the cs file in the indicator folder and then tryin to compile. that way u will easily see if somethings wrong. you will find that at <My Documents>\NinjaTrader 7\bin\Custom\Indicator\

    anyway. try to look for compile errors and within which indicators or strategies they occur. most likly they are custom indicators. maybe even some ur programmed urself. you would have to remove either the errors or the files in order to compile again.

    EDIT: you can doubleclick on compilerrors and the file in which they occured pops up. errors that occur inside files that arent open right now are marked in orange.

    however if the error isnt within the code of the indicator your tryin to import you can simply just in put the cs file in the indicator folder and restart ninjatrader. then you should at least be able to apply and use that very indicator (i think)

    ofc you would still need to fix those errors in the future so might as well do it now

    Originally posted by NinjaTrader_PatrickH View Post
    Hello dmasau,

    Thank you for your note.

    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.
    • 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 error with the name and description fields clearly readable.

    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 CRTL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.

    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
    Last edited by BigRo; 12-01-2015, 06:02 AM.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by algospoke, Yesterday, 06:40 PM
    2 responses
    19 views
    0 likes
    Last Post algospoke  
    Started by ghoul, Today, 06:02 PM
    3 responses
    14 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by jeronymite, 04-12-2024, 04:26 PM
    3 responses
    45 views
    0 likes
    Last Post jeronymite  
    Started by Barry Milan, Yesterday, 10:35 PM
    7 responses
    20 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by AttiM, 02-14-2024, 05:20 PM
    10 responses
    181 views
    0 likes
    Last Post jeronymite  
    Working...
    X