XX:=HHV(LLV(CLOSE,20),20);
V1:=(CLOSE-LLV(LOW,1))/(HHV(HIGH,1)-LLV(LOW,1))*100;
V2:=SMA(V1,2,1);
V3:=SMA(V2,7,1);
V4:=5*V2-3*V3;
红加号:crOSS(V4,0) AND C>=XX;
XX:=HHV(LLV(CLOSE,20),20);
V1:=(CLOSE-LLV(LOW,1))/(HHV(HIGH,1)-LLV(LOW,1))*100;
V2:=SMA(V1,2,1);
V3:=SMA(V2,7,1);
V4:=5*V2-3*V3;
红加号:crOSS(V4,0) AND C>=XX;