VV1:=REF(CLOSE,1);
VV2:=SMA(MAX(CLOSE-VV1,0),7,1)/SMA(ABS(CLOSE-VV1),7,1)*100;
VV3:=CROSS(79,VV2);
AAA:=REF(C,5) REF(O,5) AND REF(C,4) REF(O,4) AND REF(C,3) REF(O,3);
买点:IF(FILTER((AAA AND (C O,2)) OR (AAA AND C O AND REF(C,1) REF(O,1)
AND REF(C,2) REF(O,2)),10),1,0),COLORRED;
卖点:IF(VV3,1,0),COLORGREEN;