Problems with Ninjatrader source code
3 replies
alecas22
7 years ago #115680
Hi Support,
I’m testting a trial version of StrategyQuant, and I got this error when I tried to generate a source code of a couples of Strategies for NinjaTrader,
tomas262
7 years ago #139828
Hello Alejandro,
have you followed steps describer in user guide page 13 before compiling the strategy?
In order to make SQ strategies work with NinjaTrader, you have to import some NinjaTrader scripts into your NinjaTrader.
Open your NinjaTrader, go to File -> Utilities -> Import Ninja Script…then find the file:{StrategyQuant}/custom_indicators/SQ_NinjaTrader.zip and import it.This will import all the additional indicators and base classes StrategyQuant uses, so your new strategies will run in NinjaTrader.
alecas22
7 years ago #139833
Hi Thomas,
I have made the post installation steps, where I imported scripts from SQ directory into Nijatrader product.
But I’m getting this problem on SQ source code panel, where SQ should display the strategy source code. Instead of the C# code, I’m getting that error.
According with the error description, the error is produced in the template that StrategyQuant use to generate the NinjaTrader code located in “c:\Strategyquant\code\NinjaTrader\Functions.inc
Regards
Alejandro
tomas262
7 years ago #139913
Hello,
this to me seems like a corrupted template file. Could you try to re-install the StrategyQuant? It should solve the issue
Let me know
Viewing 3 replies - 1 through 3 (of 3 total)