{顶底背离极品}
OBV:SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE B1:=REF(OBV,1); B2:=REF(OBV,2); B3:=REF(OBV,3); B4:=REF(OBV,4); CMAX:=MAX(MAX(MAX(OBV来自,B1),B2),斯志微具需按种若刑击B3); CMIN:=MIN(MIN(MIN(OBV,B1),B2),B3); 持股:=STICKLINE(OBV=CMAXAND(B1>=B2ORB1>=B3)ORB1=CMAXAND(B2=CMINORB3=CMIN)ANDOBV>=B2OR B2=CMAXAND360问答B3=CMINANDOBV>=杀侵石损号你武般硫乙长B1ORB3=CMAXAN油少粒杆排物妒DOBV>=B1ANDOBV>=B2,B1,O而材员践BV,3,0),COLORM冷松飞究落星AGENTA; 变盘:STICKLINE(OBV=CMAXANDB1=CMIN,B2极飞封志掉杀定,OBV,1,0),COLOR爱WHITE; DRAWTEXT优标南班仅已洋(变盘,OBV,'变盘'),COLORWHITE; 下跌:=STICKLINE(OBV=CMINAND(B1 B2=CMINANDB3=CMAXANDOBV STI跟美纪属府做识CKLINE(B景圆伤景原1=CMAXANDOBV=CMIN,B2,OBV,3,0),COLOR009900; 买入:STICKLINE(B1=CMINANDOBV>=B2OR(B2=CMIN数航影差技激鲜ANDB1<=B3OR B3=CMINANDB1<=B2)ANDB2 DRAWTEXT(买入,OBV,'买入'),COLORRED; 抛售:STICKLINE(B1=CMAXANDOBV B3=CMAXANDB1>B的京械判伤下孙2)ANDB2>=B4ANDOBV DRAWTEXT(抛售,OBV,'抛售'),COLORCYAN; V1:HHV(OBV,0); V3:=HHV(OBV,5); IF(OBV=V3,OBV,DRAWNULL),COLORYELLOW,LINETHICK3; IF(OBV=V1,OBV,DRAWNU夜官各督雨若助场铁LL),COLORRED,LINETHICK3; MA(OBV,7),COLORWHITE; MA(OBV,21),COLORLIBLUE; {DRAWTEXT(((((COUN然终设范微注困波导T((CLOSE18)AND(COUNT((CLOSER确次站打协矛散场带写对EF(OBV,1)),30)>18)AND(COUNT((OBV>REF(OBV,1)),3)=3)))AND((COUNT((VOL>REF(VOL,1)),30)>3)AND((VOL/CAPITAL)<=(10/100)))),OBV,'买盘较强'); DRAWTEXT(((((COUNT((CLOSE>REF(CLOSE,1)),30)>18)AND(COUNT((CLOSE>REF(CLOSE,1)),3)=3))AND((COUNT((OBV>REF(OBV,1)),30)>18)AND(COUNT((OBV>REF(OBV,1)),3)=3)))AND((COUNT((VOL>REF(VOL,1)),30)>3)AND((VOL/CAPITAL)<=(10/100)))),OBV,'买盘逐渐加强');} DRAWTEXT((((COUNT((CLOSE>REF(CLOSE,1)),30)>18)AND(COUNT((CLOSE>REF(CLOSE,1)),3)=3))AND((COUNT((OBV18)OR(COUNT((OBV DRAWTEXT((CROSS(OBV,0)AND(COUNT((REF(OBV,1)<0),3)=3)),OBV,'由负转正买入'); DRAWTEXT((CROSS(0,OBV)AND(COUNT((REF(OBV,1)>0),3)=3)),OBV,'由正转负卖出。'); DRAWTEXT(((HHV(HIGH,20)=HIGH)ANDNOT((HHV(OBV,20)=OBV))),OBV,'顶背离卖'),COLORGREEN; DRAWTEXT(((LLV(LOW,20)=LOW)ANDNOT((LLV(OBV,20)=OBV))),OBV,'底背离买'),COLORRED; DRAWTEXT((((ABS((OBV-REF(OBV,1)))/ABS(MA(OBV,5)))>0.07)AND(OBV>REF(OBV,1))),OBV,'异常'); 异常选股: OBV:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE 异常:(((ABS((OBV-REF(OBV,1)))/ABS(MA(OBV,5)))>0.07)AND(OBV>REF(OBV,1))); 底背离选股: OBV:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE DRAWTEXT(((LLV(LOW,20)=LOW)ANDNOT((LLV(OBV,20)=OBV))),OBV,'底背离买');