软件名称:[B]大小单趋势指标公式[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2011-11-04 00:29:53
软件简介:
N:=5;
QJ0:=(HIGH+LOW+CLOSE)/3;
QJ1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
QJ2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-QJ0);
QJ3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
QJ4:=IF(HIGH=LOW,1,QJ0-MIN(CLOSE,OPEN));
QJ5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));
QJ6:="MACD.DIFF">"MACD.DEA" AND "MACD.DEA"<0;
QJ7:="KDJ.K">"KDJ.D" AND "KDJ.D"<30;
QJ8:="MACD.DIFF"<"MACD.DEA";
QJ9:="KDJ.K"<"KDJ.D" AND "KDJ.K">80;
特大:QJ4*QJ5,LINETHICK0;
大单:QJ3*QJ5,LINETHICK0;
中单:QJ1*QJ5,LINETHICK0;
小单:QJ2*QJ5,LINETHICK0;
W1:=SUM(大单,N)+SUM(特大,N);
W2:=SUM(小单,N)+SUM(中单,N);
量振1:=特大>大单 AND 大单>小单;
量振2:=特大<小单 AND 大单<小单;
标振1:=QJ6 AND QJ7;
标振2:=QJ8 AND QJ9;
A:=W1-W2;
A0:=IF(A>0,A,0);
B0:=IF(A<0,A,0);
STICKLINE(A0,0,A0,3,0),COLOR000066;
STICKLINE(A0,0,A0,2.5,0),COLOR0000AA;
STICKLINE(A0,0,A0,1,0),COLOR0000CC;
STICKLINE(B0,0,-B0,3,0),COLOR006600;
STICKLINE(B0,0,-B0,2.5,0),COLOR00AA00;
STICKLINE(B0,0,-B0,1,0),COLOR00CC00;
周趋势:MA(A,5),COLORFFFFFF;
M:=周趋势;
平滑值:EMA((5*M+4*REF(M,1)+3*REF(M,2)+2*REF(M,3)+REF(M,4))/15,1),COLOR00FFFF;
(量振1 AND 标振1 AND 周趋势>平滑值),COLORFF00FF,POINTDOT;
(量振2 AND 标振2 AND 周趋势<平滑值),COLOR00FF00,POINTDOT;
[url=http://www.70822.com/soft/sort013/sort03/down-40557.html]大小单趋势指标公式[/url]