After adding a MACD crossover to Conditions/Actions my strategy won't compile (Error Message: "X Could not compile NinjaScript"). The strategy compiles if I remove the MACD crossover.
This is what I added to Conditions: "CrossAbove(MACD(Close, 12,26,9) Default, MACD(Close, 12,26,9) Avg,1)"
This seems OK to me but it won't compile and I'm stumped. What could be wrong?

Comment