Consider the following condition:
if (MACD(12,26,9).Diff[0] > MACD(12,26,9).Diff[1]){
dosomething();
}
'NinjaTrader.Strategy.Strategy.MACD(int, int, int)' is a 'method', which is not valid in the given context Operator '<' cannot be applied to operands of type 'bool' and 'double'

Comment