But when I add this condition: Close[0]>SMA(50)[1] I then have zero trades triggered. No error messages on compile or run, and no clues found in the help files on setting this up.
I suspect the SMA does not return a value I can compare directly to price, but no idea how to work around that. Any help on this will be greatly appreciated, thanks!
Comment