VAR1:=1;
VAR2:=1;
VAR3:=1;
买线:EMA(CLOSE,3)*VAR2;
卖线:EMA(SLOPE(CLOSE,21)*20+CLOSE,55)*VAR2;
VAR4:=买线-卖线;
STICKLINE(VAR4>=0,买线-VAR4*0.05,买线-VAR4*0.15,5,0),COLORYELLOW;
STICKLINE(VAR4>=0,买线-VAR4*0.2,买线-VAR4*0.35,5,0),COLOR00CCFF;
STICKLINE(VAR4>=0,买线-VAR4*0.4,买线-VAR4*0.55,5,0),COLOR0099FF;
STICKLINE(VAR4>=0,买线-VAR4*0.6,买线-VAR4*0.75,5,0),COLOR0066FF;
STICKLINE(VAR4>=0,买线-VAR4*0.8,买线-VAR4*0.95,5,0),COLOR0000CC;
STICKLINE(VAR4<0,卖线+VAR4*0.05,卖线+VAR4*0.15,5,0),COLOR006600;