I have an SMA that I shift 1 forward and it plots fine, but when I try the trade it doesn't like it.
vars smaHS = series(SMA,20); \\is my series I use
when I plot:
plot("SMA High",smaHS[1],0,BLUE);
it shows it on the price curve and shifted 1 bar forward,
but when I try it as a condition:
I get an POINTER:DOUBLE:LONG error.
Do I need to specify it as a double somewhere?
Thanx