I'm new to NinjaTrader. I'm trying to code my first indicator. Can somebody please point out what the errors are with the following code I wrote, it appears I have a problem with definitions:
double StK = 0; double Pr = 0;
MAX Diff1 = MAX(StK,Pr); MIN Diff2 = MIN(StK,Pr);
The error codes given after the compile:
"The best overloaded method match for Ninjatrader.Indicator.Indicator.MAX(NinjaTrader,Da ta,IDataSeries,int) has some valid arguements"
"Cannot convert from double to Ninjatrader.Data.IDataSeries"
"Cannot convert from double to int"
Comment