I've written an indicator that uses two commercial indicators contained in DLLs. I create these DLLs so I have the source code and also on a test machine running 8.0.10 I have the DLLs installed.
The indicator that calls these two commercial indicators instantiates them like this, in a piece of do-once code in OnBarUpdate():
bm2 = BetterMomentum2(useTickVolume,password);
proam = BetterProAm(true,true,true,true,true,password);
I have no problem, this works fine, in both my developer sourcecode Ninja and also my test machine with 8.0.10.
The end user of this indicator also had no problem until he upgraded to 8.0.12, at which time the indicator will not compile these lines, complaining that "BetterMomemtum2" is a type but is used like a variable. Same for the BetterProAm.
How do I fix this? Being more explicit, e.g. NinjaTrader.NinjaScript.Indicators.BetterMomentum2 did not change anything.
Thanks,
saltminer
Comment