M13:EMA(C,13); M21:EMA(C,21); M55:EMA(C,55); M78:EMA(C,78)COLORCYAN; M105:EMA(C,105); VAR5:EMA(C,105),COLORRED,LINETHICK2; 上翹:IF(VAR5>REF(VAR5,1),VAR5,DRAWNULL),,COLORRED,LINETHICK2; 下拐:IF(VAR5<REF(VAR5,1),VAR5,DRAWNULL),COLORBLUE,LINETHICK2; 上2:SMA(C,20,1)+3.82*SMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),17,1),COLORYELLOW; 下1:SMA(C,20,1)-3.82*SMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),17,1),COLORYELLOW; {漲K線} STICKLINE(C>O,C,O,2.6,0),COLOR000088; STICKLINE(C>O,C,O,1.9,0),COLOR0000AA; STICKLINE(C>O,C,O,1.2,0),COLOR0000CC; STICKLINE(C>O,C,O,0.4,0),COLOR0000EE; {跌K線} STICKLINE(O>=C,C,O,2.6,0),COLOR009900; STICKLINE(O>=C,C,O,1.9,0),COLOR00BB00; STICKLINE(O>=C,C,O,1.2,0),COLOR00DD00; STICKLINE(O>=C,C,O,0.4,0),COLOR00FF00; DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK);{在屏幕左上角顯示所屬行業(yè)板塊} DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,DYBLOCK);{在屏幕左上角顯示所屬地域板塊} DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,GNBLOCK);{在屏幕左上角顯示所屬概念板塊};
|
|