当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:波段王和KD(通达信公式 副图 源码 测试图)
软件名称:[B]波段王和KD(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2021-07-23 00:15:47
软件简介:
SJ:=1;
RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
K1:=SMA(RSV1,5,1)*SJ;
D1:=SMA(K1,3,1)*SJ;
J1:=3*K1-2*D1;
AA1:=EMA(J1,12);
AA2:=REF(AA1,1);
STICKLINE(AA1>AA2,AA1,AA2,2,1),COLORRED;
STICKLINE(AA1<=AA2,AA1,AA2,2,1),COLORGREEN;
AA:=REF(CLOSE,1);
QS:=SMA(MAX(CLOSE-AA,0),8,1)/SMA(ABS(CLOSE-AA),8,1)*100,COLORYELLOW,LINETHICK1;
严重超买:100*SJ,COLORRED,DOTLINE;
超买:80,COLORRED,DOTLINE;
超卖:20,COLOR00FF00,DOTLINE;
严重超卖:0*SJ,COLOR00FF00,DOTLINE;
AA3:=CROSS(80,QS) AND AA1<=AA2;
C1:=CROSS(80,QS);
C2:=FILTER(C1,10);
D2:=CROSS(QS,19);
D3:=FILTER(D2,10);
D4:=FILTER(CROSS(QS,15),10);
A5:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*
SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1) ;
AQW:=20;
ZQ:=CROSS(A5,AQW);
AA4:=(3*C+H+L+O)/6;
VAR8:=(8*AA4+7*REF(AA4,1)+6*REF(AA4,2)+5*REF(AA4,3)+4*REF(AA4,4)+3*REF(AA4,5)+2*REF(AA4,6)+REF(AA4,8))/36;
VAR9:=(LLV(VAR8,2)+LLV(VAR8,4)+LLV(VAR8,6))/3;
MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
M3:=CROSS(MA2,MA1);
VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
波:= VAR3;
段:= VAR4;
VAR6:=CROSS(VAR3,VAR4) AND VAR3<20;
CD:=FILTER(CROSS(VAR3,VAR4),10) ;
HH:=HHV(HIGH,3);
LL:=LLV(LOW,3);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
A6:=HH1>LL1;
VAR7:=CROSS(VAR4,VAR3) AND VAR3>80;
看多:=ZQ AND CD;
STICKLINE(看多>0,15,看多*1.01,1,0),COLORMAGENTA;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MMACD:=(DIFF-DEA)*2;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA) AND DEA<0;
DRAWTEXT(FILTER(B1,10)=1,15,'底背');
STICKLINE(FILTER(B1,10)=1,0,30,2,0)*SJ,COLORBLUE ;
A2:= BARSLAST(REF(CROSS(DEA,DIFF),1));
B2:= REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
STICKLINE(FILTER(B2,5)=1,80,100,2,0)*SJ,COLORCYAN;
DRAWTEXT(FILTER(B2,5)=1,90,'顶背'),COLORYELLOW ;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9));
K:=SMA(RSV,9,3);
D:=SMA(K,9,3);
J:=3*K-2*D;
A:=CROSS(DIFF,DEA) AND CROSS(K,D) AND CROSS(J,D) AND DIFF<0;
SA:=CROSS(DEA,DIFF) AND CROSS(D,K) AND CROSS(D,J) AND DIFF>0;
DRAWTEXT(FILTER(A,10)=1,12,' 金叉'),COLORYELLOW;
STICKLINE(FILTER(A,10)=1,0,20,2,0)*SJ,COLORRED ;
DRAWTEXT(FILTER(SA,10)=1,97,'死叉'),COLORYELLOW;
STICKLINE(FILTER(SA,10)=1,80,100,2,0)*SJ,COLORWHITE;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
长趋势:3*Q3-2*Q4,COLORWHITE,LINETHICK1;
趋势线:EMA(Q3, 3)*SJ,COLORRED,LINETHICK1;
DRAWTEXT(CROSS(趋势线, 长趋势) AND REF(长趋势,1)>80, REF(长趋势,3), '空'),COLORGREEN;
DRAWTEXT(REF(CROSS(长趋势,趋势线),1) AND 长趋势>1.3*趋势线,趋势线,'多'),COLORRED;
[url=http://www.70822.com/soft/sort013/sort05/down-157117.html]波段王和KD(通达信公式 副图 源码 测试图)[/url]