指标千千万万,但是中外炒家几乎都承认,压力位和阻力位是确实存在的。本指标对价格突破压力线后回抽是非常好的判断工具。个人使用中,只要K线的实体不低于前期压力线,就可认为是突破成功。
STICKLINE(C>=O OR (C=O AND C>REF(C,1)),O,C,4,1),COLORRED; STICKLINE((C>=O AND C<>H) OR (C=O AND C>REF(C,1)),C,H,0.1,0),COLORRED; STICKLINE((C>=O AND L<>O) OR (C=O AND C>REF(C,1)),L,O,0.1,0),COLORRED; STICKLINE(CREF(C,1)),O,C,4,0),COLORCYAN; STICKLINE((CH) OR (C=O AND C>REF(C,1)),C,H,0.1,1),COLORCYAN; STICKLINE((CO) OR (C=O AND C>REF(C,1)),L,O,0.1,1),COLORCYAN; 压力:HHV(MA((LOW+HIGH+CLOSE)/3,1),34),LINETHICK2,COLORGREEN; 支撑:LLV(MA((LOW+HIGH+CLOSE)/3,1),34),LINETHICK2,COLORRED; RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100; VA1:=SMA(RV,3,1); VA2:=SMA(VA1,3,1); ZZ:=EMA(SMA(RG,3,1),2); XX:=SMA(ZZ,3,1); DRAWICON(CROSS(VA1,VA2) AND CROSS(ZZ,XX),L,3); DRAWICON(CROSS(VA2,VA1) AND CROSS(XX,ZZ),H,4);