分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]顶底背离异常+选股(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2023-07-25 06:22:04
软件简介:

 顶底背离异常

 
OBV:SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE< REF(CLOSE,1),-VOL,0)),0),LINETHICK2,COLORGREEN;
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=CMAX AND (B1>=B2 OR B1>=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN) AND OBV>=B2 OR  B2=CMAX AND B3=CMIN AND OBV>=B1 OR B3=CMAX AND OBV>=B1 AND OBV>=B2,B1,OBV,3,0),COLORMAGENTA;
变盘:STICKLINE(OBV=CMAX AND B1=CMIN,B2,OBV,3,0),COLORFFFFFF;
下跌:=STICKLINE(OBV=CMIN AND (B1< B2 OR B1< B3) OR B1=CMIN AND (B2=CMAX OR B3=CMAX) AND OBV< B2 OR  B2=CMIN AND B3=CMAX AND OBV< B1 OR B3=CMIN AND OBV< B1 AND OBV< B2,B1,OBV,8,1),COLOR00FF00;
STICKLINE(B1=CMAX AND OBV=CMIN,B2,OBV,3,0),COLOR009900 ;
买入:STICKLINE(B1=CMIN AND OBV>=B2 OR (B2=CMIN AND B1<=B3 OR  B3=CMIN AND B1<=B2) AND B2< B4 AND OBV>=B1,B1,B2,3,0),COLORRED;
抛售:STICKLINE(B1=CMAX AND OBV< B2 OR (B2=CMAX AND B1>B3 OR  B3=CMAX AND B1>B2) AND B2>=B4 AND OBV< B1,B1,B2,3,0),COLORBLUE;
V1:HHV(OBV,0);
V3:=HHV(OBV,5);
IF(OBV=V3,OBV,DRAWNULL),COLORYELLOW,LINETHICK3;
IF(OBV=V1,OBV,DRAWNULL),COLORRED,LINETHICK3;
MA(OBV,7),COLORWHITE;
MA(OBV,21),COLORLIBLUE;
DRAWTEXT((((COUNT((CLOSE > REF(CLOSE,1)),30) > 18) AND (COUNT((CLOSE > REF(CLOSE,1)),3) = 3)) AND ((COUNT((OBV < REF(OBV,1)),30) > 18) OR (COUNT((OBV < REF(OBV,1)),3) = 3))),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) AND NOT((HHV(OBV,20) = OBV))),OBV,'顶背离卖'),COLORGREEN;
DRAWTEXT(((LLV(LOW,20) = LOW) AND NOT((LLV(OBV,20) = OBV))),OBV,'底背离买'),COLORRED;
DRAWTEXT((((ABS((OBV - REF(OBV,1))) / ABS(MA(OBV,5))) > 0.07) AND (OBV > REF(OBV,1))),OBV,'异常');
 
 
底背离买选股公式如下: 
 
AA:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE< REF(CLOSE,1),-VOL,0)),0);
选股:((LLV(LOW,20) = LOW) AND NOT((LLV(AA,20) = AA)));
 
 

[url=http://www.70822.com/soft/sort013/sort05/down-168570.html]顶底背离异常+选股(通达信公式 副图 源码 测试图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:32.22656 毫秒