当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:安全点KDJ(通达信公式 副图 源码 测试图)
软件名称:[B]安全点KDJ(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2020-05-08 09:12:48
软件简介:
P1:=10; {这个参数调整为7不错}
P2:=4;
80, POINTDOT, COLORGREEN, LINETHICK4;
20, POINTDOT, COLORRED, LINETHICK4;
0, POINTDOT, COLORYELLOW, LINETHICK4;
VAR1:=LLV(LOW,P1);
VAR2:=HHV(HIGH,P1);
RSV:=(CLOSE-VAR1)/(VAR2-VAR1)*100;
K: EMA(RSV,P2),COLORWHITE;
D: EMA(0.667*REF(K,1)+0.333*K,2), COLORYELLOW;
J: 3*K-2*D, COLORFF00FF;
EMA3:=EMA(C,2.6);
EMA5:=EMA(C,5.1);
DRAWBAND (K, RGB(255,0,0), D, RGB(0,222,0)); {//填充浅红色}
{DRAWBAND (K<D, D, K), COLOR66FF99; {//填充浅绿色}
条件1:= CROSS(K,D) AND K<60;
DRAWTEXT(REF(J,1)<0 AND J>=0 AND K<25, 60, '安全点现'),COLORRED;
{VARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);
VARD:=EMA(IF(C< EMA(C,250),VARC*1000,VARC*10),3);
火焰山:=EMA(IF(L<=LLV(L,30),VARD/2+HHV(VARD,30),0),3)/618, COLOR99FFFF, LINETHICK2;
}
开心:=EMA(EMA(C,12)-EMA(C,25),2),COLORCC00CC,LINETHICK2;
短线交易:=EMA(开心,6),COLORD4FF7F,LINETHICK2;
系统:=(短线交易<(MA(C,3)*0.618/C))*短线交易 ,LINETHICK0;
WWW:=EMA(EMA(C,12)-EMA(C,25),2),COLORYELLOW,LINETHICK0;
XDKXGS:=EMA(开心,6),COLORYELLOW,LINETHICK0;
CN:=(短线交易<(MA(C,3)*0.618/C))*短线交易,COLORYELLOW ,LINETHICK0;
启动条件:=(系统 OR 短线交易<(MA(C,3)*0.618/C)) AND CROSS(开心 ,短线交易 ) AND V>REF( MA(V,5),1)*1.1 AND C>MA(C,125) AND C>REF(C,1)*1.02;
DRAWTEXT(启动条件 ,35,'↑通吃启动'),COLORRED;
VARA:=REF(LOW,1);
VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100;
VARC1:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3);
VARD1:=LLV(LOW,30);
VARE:=HHV(VARC1,30);
VARF:=IF(MA(CLOSE,58),1,0);
VARG:=EMA(IF(LOW<=VARD1,(VARC1+VARE*2)/2,0),3)/618*VARF;
VARH:=IF(VARG>28,28,VARG);
{黄柱吸筹区:STICKLINE(VARH>-120,0,VARH,6,0),COLOR0FFFFF;}
RSV1:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K1:=SMA(RSV1,3,1);
D11:=SMA(K1,3,1);
J11:=3*K1-2*D11;
X:=LLV(J11,2)=LLV(J11,8);
DRAWTEXT(BARSLAST(CROSS(J11,3))<6 AND 条件1,51,'跟庄'),COLORBLUE;
缺口:=DRAWLINE(REF(L,1)>H AND C<REF(L,1),H,REF(REF(L,1)>H AND C<REF(L,1),1),REF(H,1),1);
突破:CROSS(C,缺口) AND (C-REF(C,1))/REF(C,1)*100>5 AND DYNAINFO(4)>0, COLORBLUE;
{一定时跌,涨的不算,上涨的最高点到当前的周期数据 肯定大于 最小值到当前的周期数 }
N:=100;
下跌 := HHVBARS(HIGH, N) > LLVBARS(LOW, 6);
去停牌 := DYNAINFO(8)>0;
跌幅 := (HHV(HIGH, N) - LLV(LOW, 6)) / HHV(HIGH, N) ;
跌幅100 : 跌幅 * (下跌) * (去停牌) * 100;
[url=http://www.70822.com/soft/sort013/sort05/down-147484.html]安全点KDJ(通达信公式 副图 源码 测试图)[/url]