I am using NT8 and building a strategy that looks at a gap above an SMA. e.g.
private SMA sma;
sma=SMA(x)
if ((Close[1] > sma[1]) && (Open + Gap >= Close[1]))
is throwing the errors. I realize it is a type mismatch but not sure how to correct it.
Any thoughts??
Thanks in advance.
Comment