AE:=Ema(CLOSE,5);
BE:=MA(CLOSE,20);
红多:STICKLINE(AE>BE,AE,BE,0.02,0),COLORWHITE;
绿空:STICKLINE(AE<BE,AE,BE,0.02,1),COLOR00FF00;
VS01:=(CLOSE+HIGH+LOW)/3;
VS02:=ema(VS01,10);
VS03:=REF(VS02,1);
彩带:VS02,COLORRED,LINETHICK0;
DRAWBAND(AE,RGB(255,172,172),BE,RGB(57,134,124));
DRAWBAND(VS02,RGB(255,255,255),VS03,RGB(0,0,151));
STICKLINE(AE>BE AND (AE-BE)>REF((AE-BE),1),AE,BE,0.02,1),COLORWHITE;
STICKLINE(AE<BE AND (BE-AE)>REF((BE-AE),1),AE,BE,0.02,1),COLOR00FF00;
STICKLINE(VS02>VS03,VS02,VS03,0.02,1),COLORRED;
STICKLINE(VS02<VS03,VS02,VS03,0.02,1),COLOR970000;