SHORT:=10;
LONG:=50;
VAR1:=(CLOSE-MA(CLOSE,SHORT))/MA(CLOSE,SHORT)*100;
VAR2:=(CLOSE-LLV(LOW,LONG))/(HHV(HIGH,LONG)-LLV(LOW,LONG))*100;
VAR3:=SMA(VAR2,2,1);
股价:=SMA(VAR3,2,1);
底:=Abs(VAR1),COLORGREEN;
买:crOSS(股价,底),COLORRED,LINETHICK1;
SHORT:=10;
LONG:=50;
VAR1:=(CLOSE-MA(CLOSE,SHORT))/MA(CLOSE,SHORT)*100;
VAR2:=(CLOSE-LLV(LOW,LONG))/(HHV(HIGH,LONG)-LLV(LOW,LONG))*100;
VAR3:=SMA(VAR2,2,1);
股价:=SMA(VAR3,2,1);
底:=Abs(VAR1),COLORGREEN;
买:crOSS(股价,底),COLORRED,LINETHICK1;