I'm trying to identify a previous bar that the ADX was Rising or Falling. My idea was this:
if (Rising(ADX(10)[1]) == true
&& Falling(ADX(10)[0]) == true),
but of course I'm getting an error that I can't "convert from 'double' to 'NinjaTrader.Data.IDataSeries'".
Might there be another way around this issue?
Comment