Short1 = Cross(High,Study("RE",1923));
Short2 = Cross(Study("ST",1923),Low);
Short = Short1 OR Short2;
Buy = Cross(Study("SU",1923),Low);
Filter = Buy OR
Short;
AddColumn
(Close,"Close");
AddColumn
(IIf(Buy,1,IIf(Short,-1,0)),"Trade2");
Ticker Date/Time
Close Trade2
AAPL
7/25/2005 43.81
-1.00
ADBE 7/26/2005
29.75 1.00
BZF
7/26/2005
36.42
< === missing value
Anyone see a problem with code?
Ara