Hi traderpards,
Thanks for your quick response. I have attached here the code script for the strategy as created by Strategy Builder, when compiled I get the error mentioned above.
Please take a look. Thanks again.
Can you help answer these questions from other members on futures io?
Hello, excelent your work, but I want to use this indicator in strategies built in Startegy builder, but I need it plots entries for sell and buy in order to use that signals with other conditions or with other indicator as EMA or trends indicators. How can I do that?
Thanks for the compliment... I hate to have to tell you this but since I know how to code, I've never really needed to learn anything about the strategy analyzer. I honestly know nothing about it so I couldn't tell you.
The plots are true when > 0, PAS won't compile in SB, you'll have to unlock the SB code and add a using a declaration for PAS , NT8 support is familiar and can send you a video on how to compile PAS with SB generated code .
Hi,
Does anyone else have problems compiling strategies based on the PriceActionSwingOscillator indicator?
I am only trying to do something basic.
PriceActionSwingOscillator - Trend - Value=1 Buy long...... Thats the entirety of the strategy. Cant seem to get it to compile.
I get the error indicator is type but used as a variable when i do pasProV2 = PriceActionSwingProV2(); in State.DataLoaded
pasProV2 is declared as
private PriceActionSwingProV2 pasProV2;
Well that sucks. I don't ever remember seeing this before - not being able to instantiate derived (or inherited) classes in Ninjatrader. You should be able to do that.
You know all that generated code at the bottom of every indicator? There's none of that in a derived class and that's preventing us from using it but you can put it on a chart. Doesn't make sense to me.