阴绝为关键位空头标记,多头只有用阳线吞杀才有上涨的可能;阳绝为关键位多头标识,如果正好突破阴绝画线,是比较好的介入点;股价站上阳绝画线,趋势上行可持股,如果无法突破画线横向,跌破阳绝一半或最低价,注意止盈止损,暂时离场观望;除此之外,主图中还有 东方 不败 等强势拉升信号,以及金钻买点共振信号;副图为OBV画线指标,融入养家OBV的部分特色,尤其要关注OBV量线过前高同时主图出现阳绝共振的做多机会,以及黄金量线与OBV合一上涨的剧烈拉升,涨停甚至连扳涨停的特殊机会
阴阳绝杀主图源码
DRAWGBK(C 0, RGB(20,10,60),RGB(350,60,150),0,'1',0);
DRAWKLINE(H,O,L,C);
涨停:=IF((C-REF(C,1))/REF(C,1) 0.097,1,0);
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORMAGENTA;
BL:=MA(CLOSE,10);
UB:=BL+2*STD(CLOSE,10);
LB:=BL-2*STD(CLOSE,10);
香菇A:=CROSS(C,UB);
香菇:=CROSS(LB,C);
ZDT:=BARSLAST(香菇A);
DRAWLINE(香菇,O,REF(香菇,1),REF(O,1),1),COLOR00FF00;
DRAWLINE(香菇A,C,REF(香菇A,1),REF(C,1),1),COLOR00FFFF;
T:=BARSLAST(香菇A);
金菇A:=CROSS(C,REF(O,T)) ;
DRAWICON(金菇A=1 AND C REF(C,1)*1.05,L*0.98,26);
DD:=C=LLV(C,20) AND WMA(C,21);
DDTJ:=BARSLAST(FILTER(CROSS(0.8,DD),2))+1;
低点:REF(C,DDTJ),COLOR00FF00,POINTDOT;
STICKLINE(DDTJ =6,低点,低点,3,0),COLOR00FF00;
ZT:=ZTPRICE(REF(C,1),0.1)=C;
YX:=REF(BARSLAST(ZT) =10,1) AND REF(C O,1) AND CROSS(C,REF(C,T));
DRAWTEXT((YX),LOW*0.99,'↖东方'),COLOR0000FF;
DRAWTEXT((REF(YX,1) AND C O) ,L*0.99,'↖不败'),COLOR00FFFF;
DRAWTEXT((香菇),LOW*0.99,'↖阴绝'),COLOR00FF00;
DRAWTEXT((香菇A),LOW*0.99,'↖阳绝'),COLOR00FFFF;
STICKLINE(香菇A,O,C,2,0),COLORRED;
STICKLINE(香菇A,O,C,1,0),COLORYELLOW;
STICKLINE(香菇,O,C,3,0),COLORGREEN;
STICKLINE(香菇,O,C,1,0),COLORBLUE;
X1:=(C+L+H)/3;
X2:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
X3:=EMA(C,8);
DRAWTEXT(FILTER(X2 1 AND EMA(X1,13) REF(EMA(X1,8),1),10),
X3,' 45'),COLORWHITE;
世祥OBV副图源码
DRAWGBK(C 0, RGB(20,10,60),RGB(350,60,150),0,'1',0);M:=30;
N:=10;
VA:=IF(CLOSE REF(CLOSE,1),VOL,-VOL);
OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MA130:=MA(OBV,M);
DRAWBAND(MA130,RGB(0,0,80),OBV1,RGB(160,0,000));
量线:HHV(OBV,0),COLORYELLOW,LINETHICK2;
等于:量线=OBV,NODRAW;
A1:=REF(OBV1,N)=HHV(OBV1,2*N+1);
B1:=FILTER(A1,N);
C1:=BACKSET(B1,N+1);
D1:=FILTER(C1,N);
T线:REF(OBV,BARSLAST(D1)),COLORFF00FF,NODRAW;
STICKLINE(C 0,T线,T线,6,0),COLORMAGENTA;
DRAWICON(CROSS(OBV,T线),T线*0.99,1);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MA30:MA(OBV,M);
XA_2:=1;
牛股:PLOYLINE(1,CONST(OBV))*XA_2,COLORYELLOW;