PDA

View Full Version : Export NinjaScript Error


Trader77
06-27-2007, 09:25 AM
Hi,

I'm running Windows XP sp2 and NT 6.0.1000.3

every time I try to export a file I get this error message "Error compiling export sources: warning CS2002: Sourcefile'C:\DocumentsandSettings\Administrator\M yDocuments\NinjaTrader\bin\Custom\Indicator\@EMA.c s' specified multiple times" this occurs every time and with any indicators i.e. EMA SMA Parabolic etc. present in the Strategy.This has only just started happening, I used to be able to export the same files without issues. Please let me know if you can shed any light on this problem

Thanks.

NinjaTrader_Christian
06-27-2007, 10:21 AM
Hi,

I'm running Windows XP sp2 and NT 6.0.1000.3

every time I try to export a file I get this error message "Error compiling export sources: warning CS2002: Sourcefile'C:\DocumentsandSettings\Administrator\M yDocuments\NinjaTrader\bin\Custom\Indicator\@EMA.c s' specified multiple times" this occurs every time and with any indicators i.e. EMA SMA Parabolic etc. present in the Strategy.This has only just started happening, I used to be able to export the same files without issues. Please let me know if you can shed any light on this problem

Thanks.

Hi Trader77 !

Can you please send me the strategy you want to export to christian AT ninjatrader DOT com ? Then I can take a closer look into it.

You say it worked with NT6R3 already ?

Are there any *.cs files in the <user>\My Documents\NinjaTrader 6\bin\Custom\Tmp\Import\ folder and/or subfolders ? If yes, please delete them, and try again.

Kind regards,
Christian

tquinn
10-25-2007, 01:21 PM
I am getting CS2002 when trying to export an Indicator.

NT 6.0.1000.5

Ideas?

NinjaTrader_Dierk
10-25-2007, 01:24 PM
Tom,

a) please try to compile any indicator by Right click->Compile. Does it work? If no, then please fix any pending compile error.
b) If yes, try again to export and post complete (!) error message.

Thanks

tquinn
10-25-2007, 01:55 PM
I got a clean compile.

Used Export, that produced the attached errors

NinjaTrader_Dierk
10-25-2007, 02:08 PM
Christian will get in touch with you tomorrow.