lewdfinger
02-10-2007, 05:20 AM
double channelLow = MIN(Low, Bob);
double channelHigh = MAX(High, Bob);
Bob is an integer input for bars back. When I compile I get the message: Cannot implicitly convert type 'NinjaTrader.indicator.MAX' to 'double' and Cannot implicitly convert type 'NinjaTrader.indicator.MIN' to 'double'
Am I doing something wrong?
KD
double channelHigh = MAX(High, Bob);
Bob is an integer input for bars back. When I compile I get the message: Cannot implicitly convert type 'NinjaTrader.indicator.MAX' to 'double' and Cannot implicitly convert type 'NinjaTrader.indicator.MIN' to 'double'
Am I doing something wrong?
KD