VAR1:=COUNT(CLOSE OPEN,21);
VAR2:=COUNT(CLOSE OPEN,21);
VAR3:=IF(VAR1 VAR2,CLOSE,LOW);
VAR4:=EMA(VAR3,13);
VAR5:=EMA(VAR3,55);
状态:(VAR4-VAR5)*10;
短线:MA(状态,5);
中线:MA(状态,10);
STICKLINE(状态 =0,状态,状态*1.1,2.9,1),COLOR0000FF;
STICKLINE(状态 =0,状态,状态*0.9,2.9,1),COLOR00FF00;
STICKLINE(状态 =0 AND 状态 REF(状态,1),状态,状态*1.1,2.6,0),COLORFFFF00;
STICKLINE(状态 =0 AND 状态 REF(状态,1),状态,状态*0.9,2.6,0),COLORFF00FF;