VAR1:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
VAR2:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
买入:VAR1 AND VAR2,STICK,LINETHICK2,COLORRED;
VAR3:=REF(CLOSE,1);
{-股票公式网站 }
VAR4:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(Abs(CLOSE-VAR3),6,1)*100;
卖出:crOSS(80,VAR4),STICK,LINETHICK2,COLORGREEN;
DRAWICON(卖出,1.1,2);
DRAWICON(买入,1.1,1);