MB1:=EMA(C,5),COLORRED,LINETHICK2;
MB2:EMA(MB1,2),COLORYELLOW;
MB3:EMA(MB2,2),COLORYELLOW;
MB4:EMA(MB3,2),COLORYELLOW;
MB5:EMA(MB4,2),COLORYELLOW;
MB6:EMA(MB5,2),COLORYELLOW;
MB7:EMA(MB6,2),COLORYELLOW;
MB8:EMA(MB7,2),COLORYELLOW;
MB9:EMA(MB8,2),COLORYELLOW;
MB10:EMA(MB9,2),COLORYELLOW;
MB11:EMA(MB10,2),COLORYELLOW;
MB12:EMA(MB11,2),COLORYELLOW;
MB13:EMA(MB12,2),COLORYELLOW;
MB14:EMA(MB13,2),COLORYELLOW;
A1:IF(MB1
A2:IF(MB2
A3:IF(MB3
A4:IF(MB4
A5:IF(MB5
A6:IF(MB6
A7:IF(MB7
A8:IF(MB8
A9:IF(MB9
A10:IF(MB10
A11:IF(MB11
A12:IF(MB12
A13:IF(MB13
A14:IF(MB14
VAR2:MB1,COLORMAGENTA,LINETHICK2;
VAR3:IF(VAR2
操作线:=EMA(C,7),COLOR00FF00;
A:=(REF(操作线,1));
STICKLINE((操作线>A),A,操作线,5,0),COLOR0000FF,NODRAW;
STICKLINE((操作线<=A),A,操作线,5,0),COLOR00FF00,NODRAW;
{MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA60:MA(C,60);
MA120:MA(C,120);
MA250:MA(C,250)};
DRAWKLINE(H,O,L,C),NODRAW;
K0:=MA(CLOSE,3);
D0:=MA(K0,3);
DRAWLINE(D0>=HHV(D0,21),D0,D0<=LLV(D0,21),D0,0),COLOR00BBFF,LINETHICK1;
DGL:=DRAWLINE(D0>=HHV(D0,21),D0,D0<=LLV(D0,21),D0,1);
DGL0:=DRAWLINE(D0<=LLV(D0,21),D0,D0>=HHV(D0,21),D0,1);
DRAWICON (CROSS(K0,D0) AND CROSS(K0,DGL),D0*0.995,11);
DRAWLINE(D0<=LLV(D0,21),D0,D0>=HHV(D0,21),D0,0),COLORLICYAN,LINETHICK1;
DRAWICON (CROSS(D0,K0) AND CROSS(DGL0,K0),D0*1.008,12);