when trying to add the following rule to a strategy
CrossAbove(ROC(KAMA(Low, 2, 20, 30), 5), 0.25*StdDev(ROC(KAMA(Low, 2, 20, 30), 5), 100), 10) == false)
I get the error message:
Operator '*' cannot be applied to operands of type 'double' and 'NinjaTrader.Indicator.StdDev'
how can I overcome this? I need to have a fraction of the Standard Deviation, how can I multiply the output of the StdDev with a percentage?
many thanks
Paulo
Comment