保护价:(ref(close,1)+ref(close,2)+open)/3,COLORYELLOW,LINETHICK0;
心理价:(close*14+open*7+high*2+low*2)/25,COLORRED,LINETHICK0;
DRAWTEXTABS(5,5,''),linethick1,COLOR00EEff;
TYP:=(OPEN+CLOSE*2+HIGH+LOW)/5;
突破:(TYP+HIGH-LOW),COLORYELLOW,LINETHICK0;
阻力:TYP*2-LOW,COLORRED,LINETHICK0;
支撑:TYP*2-HIGH,COLORCYAN,LINETHICK0;
下降:TYP-HIGH+LOW,COLORMAGENTA,LINETHICK0;
DRAWRECTABS(55,15 ,100,60,0),COLORYELLOW;
DRAWRECTABS(55,15 ,144,60,0),COLORYELLOW;
DRAWRECTABS(55,15 ,188,60,0),COLORYELLOW;
DRAWRECTABS(55,15 ,232,60,0),COLORYELLOW;
DRAWRECTABS(55,15 ,276,60,0),COLORYELLOW;
DRAWRECTABS(55,37 ,276,60,0),COLORYELLOW;
DRAWTEXTABS(66,20,'突破'),COLORYELLOW;
DRAWTEXTABS(110,20,'阻力'),COLORRED;
DRAWTEXTABS(154,20,'支撑'),COLORCYAN;
DRAWTEXTABS(198,20,'下降'),COLORMAGENTA;
DRAWTEXTABS(236.5,20,'心理价'),COLORBLUE;
DRAWTEXTABS(60,42,''+突破),COLORYELLOW;
DRAWTEXTABS(104,42,''+阻力),COLORRED;
DRAWTEXTABS(148,42,''+支撑),COLORCYAN;
DRAWTEXTABS(192,42,''+下降),COLORMAGENTA;
DRAWTEXTABS(236.5,42,''+心理价),COLORBLUE;