当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:顶底波段王(通达信公式 副图 源码 测试图)
软件名称:[B]顶底波段王(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2021-12-03 00:15:33
软件简介:
顶底波段王
请勿转载
SJ:=1;
请勿转载
SJ:=1;
N:=15;
M1:=5;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K9:=SMA(RSV,M1,1);
D9:=SMA(K9,M2,1);
J:=3*K9-2*D9;
RK:MA(K9,15)*SJ,LINETHICK1;
RD:MA(D9,15)*SJ,LINETHICK1;
RJ:MA(J,15)*SJ,LINETHICK1;
DRAWTEXT(CROSS(RK,RD)&&RD<20,RK*0.80,'多'),COLORRED;
DRAWTEXT(CROSS(RD,RK)&&RD>80,78,'空'),COLORGREEN,DRAWABOVE;
VAR1:=((CLOSE - LLV(LOW,15))/(HHV(HIGH,15) - LLV(LOW,15)))*(100);
VAR2:=REVERSE(VAR1);
VAR3:=SMA(VAR1,5,1);
K:=SMA(VAR3,3,1);
D:=SMA(K,3,1);
STICKLINE((K*SJ >= D),K,D,2,0),COLORRED;
STICKLINE((K <= D*SJ),K,D,2,0),COLOR008800;
底部:10*SJ,COLOR00FF00,LINETHICK1;
绝顶:88*SJ,COLORRED,LINETHICK1;
{中轴线:50*SJ,COLORWHITE,NODRAW;}
KF:=(EMA(CLOSE,21)-EMA(CLOSE,3))/2*0.95;
DF:=(EMA(CLOSE,3)-EMA(CLOSE,21))/2*0.95;
DRAWTEXT(DF*SJ>=KF,52*SJ,'大'),COLORRED;
DRAWTEXT(KF*SJ>DF*SJ,48 ,'大'),COLORCYAN;
MA888:=EMA(C,2);
战士看多空线:=(MA(CLOSE,27)+MA(CLOSE,34)+MA(CLOSE,41)+MA(CLOSE,50))/4,COLOR00FFFF,LINETHICK3;
DRAWTEXT_FIX(1,0.980,20,1,'★分析家公式网'),COLOR666666;
DRAWTEXT(MA888*SJ>=战士看多空线,62,'中'),COLORRED;
DRAWTEXT(MA888<战士看多空线*SJ ,38,'中'),COLORCYAN;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR8:=LLV(LOW,20);
VARAA:=HHV(HIGH,26);
B:=EMA((VAR6-VAR8)/(VARAA-VAR8)*100,8);
B1:=EMA(B,5);
K22:=B>80 AND CROSS(B1,B);
K1:=BARSLAST(K22);
K2:=REF(K1,1);
K底:=B<20 AND CROSS(B,B1);
K底1:=BARSLAST(K底);
K底2:=REF(K底1,1);
DRAWTEXT(REF(B,1)*SJ>80 AND CROSS(B1,B) AND REF(B,1)<REF(B,K2+2) AND REF(C,1)>REF(C,K2+2),B+2,'顶背离'),COLORCYAN;
DRAWTEXT(B<25*SJ AND CROSS(B,B1) AND B>REF(B,K底2) AND C<REF(C,K底2),B+2,'底背离'),COLORFF00FF;
[url=http://www.70822.com/soft/sort013/sort05/down-159432.html]顶底波段王(通达信公式 副图 源码 测试图)[/url]