多:MA(C,2)*1.01,colorred;
均衡:MA(C,6),COLOR00FF00;
e:=(多+均衡+L+H+C)/5;
次日突破价位:E+(H-L),colorblue;
次日阻力价位:2*E-L,colorwhite,DOTLINE;
次日支撑价位:2*E-H,colorwhite,DOTLINE;
D:=crOSS(多,均衡)*10;
W:=CROSS(多,次日阻力价位)*10;
DRAWTEXT(W=10,次日突破价位,'顶' ),colorgreen,;
DRAWTEXT(D=10,次日突破价位,'买'),coloryellow;
STICKLINE(多>均衡,多,均衡,1,0,0),colorred;