当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:买卖倍比------副图,源码
软件名称:[B]买卖倍比------副图,源码[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2010-11-15 19:04:01
软件简介:
指标反映当日买入和卖出的数量关系。
VAR12:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
成交:=VOL;
买盘:=IF((CLOSE > OPEN),(VAR12 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR12 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));
卖盘:=IF((CLOSE > OPEN),(0 - (VAR12 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR12 * (HIGH - LOW))),(0 - (VOL / 2))));
量比1:=(VOL / MA(VOL,5));
VAR10:=买盘,NODRAW;
VAR20:=卖盘,NODRAW;
买S:=买盘*0.0001,NODRAW;
卖S:=卖盘*0.0001,NODRAW;
买卖比:-VAR10/VAR20,COLORYELLOW,NODRAW;
卖买比:-VAR20/VAR10,COLORYELLOW,NODRAW;
CS:=IF(-(VAR10/VAR20)>10,10,-(VAR10/VAR20));
RS:=IF((VAR20/VAR10)<-10,-10,(VAR20/VAR10));
STICKLINE(VAR10>=-VAR20,0,CS,2.7,0),COLORRED;
STICKLINE(VAR10<-VAR20,0,RS,2.7,0),COLORGREEN;
[url=http://www.70822.com/soft/sort013/sort05/down-27157.html]买卖倍比------副图,源码[/url]