MA20:MA(C,15),COLORFF80FF;
MA45:MA(C,45),COLOR80FF00;
MA90:MA(CLOSE,90),COLOR00FFFF;
MA135:MA(C,135),COLORFF0000;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
B:=MA(C,90);
G:B*1.01,COLOR000000;
G2:=B*1.02,COLOR000000;
D:B*0.992,COLOR000000;
D2:B*0.991,COLOR000000;
高:=REF(HHV(H,5000),0);
低:=REF(LLV(L,5000),0);
H80:=高-(高-低)*0.220;
H75:=高-(高-低)*0.270;
H60:=高-(高-低)*0.35;
H中:=高-(高-低)*0.42;
H45:=高-(高-低)*0.465;
H38:=高-(高-低)*0.618;
H27:=高-(高-低)*0.715;
H22:=高-(高-低)*0.785;
H15:=高-(高-低)*0.850;
%80.9:REFDATE(H80,DATE),COLORFF0000;
%75:REFDATE(H75,DATE),COLORFF8000;
%68:REFDATE(H60,DATE),COLORWHITE;
%50:REFDATE(H中,DATE),LINETHICK2,COLOR004000;
%45:REFDATE(H45,DATE),COLORWHITE;
%38.2:REFDATE(H38,DATE),COLORWHITE;
%27:REFDATE(H27,DATE),COLORWHITE;
%22:REFDATE(H22,DATE),LINETHICK2,COLOR004000;
%15:REFDATE(H15,DATE),COLORFFFFFF;
低点:REFDATE(低,DATE),COLORRED;
高1:=REF(HHV(H,1000),1);
低1:=REF(LLV(L,1000),1);
顶点1:REFDATE(高1,DATE),COLORFF0000;
低点1:REFDATE(低1,DATE),COLORRED;
高2:=REF(HHV(H,800),1);
低2:=REF(LLV(L,800),1);
顶点2:REFDATE(高2,DATE),COLORFF0000;
低点2:REFDATE(低2,DATE),COLORFF0000;
高3:=REF(HHV(H,650),1);
低3:=REF(LLV(L,650),1);
顶点3:REFDATE(高3,DATE),COLORFF0000;
低点3:REFDATE(低3,DATE),COLORFF0000;