通达信KDJ战法指标公式

M:=10;
M1:=3;
DIFF: EMA(CLOSE,12) – EMA(CLOSE,26),COLORWHITE;
DEA: EMA(DIFF,9),COLORYELLOW;
macd:=2*(DIFF-DEA), COLORSTICK;
RSV:(DIFF -LLV(DIFF ,M))/(HHV(DIFF ,M)-LLV(DIFF ,M))*100,COLORYELLOW;
K:SMA(RSV,M1,1),COLORWHITE;
D:SMA(K,M1,1),COLORBLUE;
J:3*K-2*D,COLORF00FF0;
VAR1:=MA(LOW,1);
VAR3:=MA(CLOSE,2);
VAR7:=REF(VAR3,1);
VAR8:=SMA(MAX(VAR3-VAR7,0),13,1)/SMA(Abs(VAR3-VAR7),13,1)*100;
VARB:=MA(INDEXC,3)*100/MA(INDEXC,10)-100;
VARE:=IF(VARB>10,10,VARB);
VARF:=IF(VARE< -10,-10,VARE);
VAR12:=REF(VARB,1);
VAR13:=100*(VAR3-REF(VAR3,1))/REF(VAR3,1);
VAR14:=INDEXC;
VAR15:=REF(VAR14,1);
VAR16:=100*(VAR14-VAR15)/VAR14;
VAR17:=MA(VAR13,3);
VAR18:=MA(VAR16,3);
VAR19:=(3*CLOSE+VAR1+OPEN+HIGH)/6;
VAR1A:=(20*VAR19+19*REF(VAR19,1)+18*REF(VAR19,2)+17*REF(VAR19,3)+16*REF(VAR19,4)+15*REF(VAR19,5)+14*REF(VAR19,6)+13*REF(VAR19,7)+12*REF(VAR19,8)+11*REF(VAR19,9)+10*REF(VAR19,10)+9*REF(VAR19,11)+8*REF(VAR19,12)+7*REF(VAR19,13)+6*REF(VAR19,14)+5*REF(VAR19,15)+4*REF(VAR19,16)+3*REF(VAR19,17)+2*REF(VAR19,18)+REF(VAR19,20))/210;
VAR1B:=MA(VAR1A,12);
VAR1D:=ABS(VAR1A-VAR1B);
VAR1E:=REF(VAR3,1)*0.015;
VAR1F:=REF(INDEXC,1);
【强弱】:=SMA(MAX(VAR3-VAR7,0),5,1)/SMA(ABS(VAR3-VAR7),5,1)*100;
DRAWTEXT(DAY=1 AND VAR17>VAR18,100,’ 个股强盘!’),COLORFF00FF;
DRAWTEXT(DAY=1 AND VAR12>VARF,80,’ 盘处下道’),COLORCCFF99;
DRAWTEXT(DAY=1 AND VAR18>=VAR17,60,’ 个股弱盘!’),COLOR00FFFF;
DRAWTEXT(DAY=1 AND VAR1A>VAR1B AND VAR1D>VAR1E AND NOT(crOSS(75,VAR8)),40,’ 持股待涨!’),COLOR0099FF;
DRAWTEXT(DAY=1 AND VAR1A< VAR1B AND VAR1D>VAR1E AND NOT(CROSS(【强弱】,20)),120,’ 下调减持!’),COLORFF9900;
DRAWTEXT(DAY=1 AND VAR1D<=VAR1E,90,’ 盘整阶段!’),COLORFF9900;
DRAWTEXT(DAY=1 AND (INDEXC-VAR1F)/VAR1F>0.035,50,’井喷行情!’),COLORRED;

负责声明:
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/163548.html,转载请注明出处。
通达信凡客专业操盘系统:领略资本市场的智慧与力量
通达信凡客专业操盘系统:领略资本市场的智慧与力量
9分钟前 有人购买 去瞅瞅看
温馨提示:本站暂不支持手机端在线支付,请您在电脑端扫码完成支付!
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录