当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:波段王和三柱(通达信公式 副图 源码 测试图)
软件名称:[B]波段王和三柱(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2021-07-22 00:15:45
软件简介:
波段王和三柱,已经没有时间限制了。公式很漂亮,赏心悦目。
SJ:=1;
严重超买:100*SJ,COLORRED,DOTLINE;
超买:80,COLORRED,DOTLINE;
超卖:20,COLOR00FF00,DOTLINE;
严重超卖:0*SJ,COLOR00FF00,DOTLINE;
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;
VAR18:=((CLOSE - LLV(LOW,80))/(HHV(HIGH,80) - LLV(LOW,80)))*(100);
VAR28:=REVERSE(VAR18);
VAR38:=SMA(VAR18,3,1);
K8:=SMA(VAR38,3,1);
D8:=SMA(K8,3,1);
STICKLINE((K8*SJ >= D8),K8,D8,2,0),COLORMAGENTA;
STICKLINE((K8 <= D8*SJ),K8,D8,2,0),COLORCYAN;
VAR188:=((CLOSE - LLV(LOW,34))/(HHV(HIGH,34) - LLV(LOW,34)))*(100);
VAR288:=REVERSE(VAR188);
VAR388:=SMA(VAR188,9,1);
K88:=SMA(VAR388,3,1);
D88:=SMA(K88,3,1);
STICKLINE((K88*SJ >= D88),K88,D88,2,0),COLOR0080FF;
STICKLINE((K88 <= D88*SJ),K88,D88,2,0),COLORFF0000;
N8:=80;
M18:=3;
M28:=3;
RSV8:=(CLOSE-LLV(LOW,N8))/(HHV(HIGH,N8)-LLV(LOW,N8))*100;
K98:=SMA(RSV8,M18,1);
D98:=SMA(K98,M28,1);
J8:=3*K98-2*D98;
RK8:=MA(K98,80),LINETHICK1;
RD8:=MA(D98,80),LINETHICK1;
RJ8:=MA(J8,80),LINETHICK1;
DRAWTEXT(CROSS(RK8,RD8)&&RD8<20*SJ,RK8*0.80,'多'),COLORRED;
DRAWTEXT(CROSS(RD8,RK8)&&RD8*SJ>80,RK8*1.05,'空'),COLOR008800;
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;
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);
VAR199:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR299:=SMA(VAR199,3,1);
VAR399:=SMA(VAR299,3,1);
VAR499:=SMA(VAR399,3,1);
波:= VAR399;
段:= VAR499;
VAR699:=CROSS(VAR399,VAR499) AND VAR399<20;
CD:=FILTER(CROSS(VAR399,VAR499),10) ;
HH:=HHV(HIGH,3);
LL:=LLV(LOW,3);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
A6:=HH1>LL1;
VAR799:=CROSS(VAR499,VAR399) AND VAR399>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));
K99:=SMA(RSV,9,3);
D99:=SMA(K99,9,3);
J99:=3*K99-2*D99;
A:=CROSS(DIFF,DEA) AND CROSS(K99,D99) AND CROSS(J99,D99) AND DIFF<0;
SA:=CROSS(DEA,DIFF) AND CROSS(D99,K99) AND CROSS(D99,J99) 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;
[url=http://www.70822.com/soft/sort013/sort05/down-157097.html]波段王和三柱(通达信公式 副图 源码 测试图)[/url]