NNN:=36;
ZD_MA:=MA(C,NNN);
ZD_EMA:=EMA(C,NNN);
STICKLINE(ZD_EMA>ZD_MA,ZD_EMA,ZD_MA,0,-1),COLORMAGENTA;
STICKLINE(ZD_EMA
BD:=STD(C,NNN);
RD:=STD(RD_4P,NNN);
BZC:=POW(BD*BD+RD*RD,1/2);
A11:=ZD_MA+(1.618)*BZC;
B11:=ZD_MA-(1.618)*BZC;
DRAWBAND(A11,RGB(5400,100,0),B11,RGB(0,0,0));
A1:ZD_MA+(1.618)*BZC;
A2:ZD_MA+(1.000)*BZC;
A3:ZD_MA+(0.618)*BZC;
中道:ZD_MA,COLORMAGENTA,LINETHICK2;
快道:ZD_EMA;
B3:ZD_MA-(0.618)*BZC;
B2:ZD_MA-(1.000)*BZC;
B1:ZD_MA-(1.618)*BZC;
N:=12;M:=26;
DIFF:=EMA(CLOSE,N)-EMA(CLOSE,M);
DEA:=EMA(DIFF,9);
STICKLINE(DIFF>DEA,C,O,3.2,0),COLOR000045;
STICKLINE(DIFF>DEA,O,O,2.7,0),COLOR000065;
STICKLINE(DIFF>DEA,C,O,2.2,0),COLOR000085;
STICKLINE(DIFF>DEA,C,O,1.7,0),COLOR0000A5;
STICKLINE(DIFF>DEA,C,O,1.2,0),COLOR0000C5;
STICKLINE(DIFF>DEA,H,L,0.5,0),COLOR0000F5;
STICKLINE(DIFF<=DEA,C,O,3.2,0),COLOR555555;
STICKLINE(DIFF<=DEA,C,O,2.7,0),COLOR777777;
STICKLINE(DIFF<=DEA,C,O,2.2,0),COLOR999999;
STICKLINE(DIFF<=DEA,C,O,1.7,0),COLORBBBBBB;
STICKLINE(DIFF<=DEA,C,O,1.2,0),COLORDDDDDD;
STICKLINE(DIFF<=DEA,H,L,0.5,0),COLORFFFFFF;
DRAWTEXT(ISLASTBAR,B1,'---------B1'),COLORWHITE;
DRAWTEXT(ISLASTBAR,B2,'---------B2'),COLORWHITE;