欢迎来到淘文阁 - 分享文档赚钱的网站! | 帮助中心 好文档才是您的得力助手!
淘文阁 - 分享文档赚钱的网站
全部分类
  • 研究报告>
  • 管理文献>
  • 标准材料>
  • 技术资料>
  • 教育专区>
  • 应用文书>
  • 生活休闲>
  • 考试试题>
  • pptx模板>
  • 工商注册>
  • 期刊短文>
  • 图片设计>
  • ImageVerifierCode 换一换

    通达信 指标公式源码大全借鉴.pdf

    • 资源ID:93737402       资源大小:1.55MB        全文页数:44页
    • 资源格式: PDF        下载积分:17金币
    快捷下载 游客一键下载
    会员登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录   QQ登录  
    二维码
    微信扫一扫登录
    下载资源需要17金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝    微信支付   
    验证码:   换一换

     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    通达信 指标公式源码大全借鉴.pdf

    公式 1(未来函数)代码公式 1(未来函数)代码N1:=5;N2:=10;N3:=20;N4:=30;P:=2;M:=20;N:=250;M1:=55;W:=21;P3:=500;N9:=90;HR:=HHV(HIGH,M1);HRY:=LLV(LOW,M1);HRY11:=HR*HRY;HRY33:SQRT(HRY11),COLORGREEN,LINETHICK2;IF(CHRY33 AND HRY33=REF(HRY33,1),HRY33,DRAWNULL),LINETHICK2,COLORRED;MA1:EMA(CLOSE,N1);MA2:EMA(CLOSE,N2);MA3:EMA(CLOSE,N3),COLOR00FFFF;MA4:EMA(CLOSE,N4),LINETHICK2;TJ1:=CROSS(MA1,MA2)AND CO AND CREF(C,1)AND C/REF(C,1)=1.018OR CROSS(MA1,MA4)AND CO AND CREF(C,1)AND C/REF(C,1)=1.018OR CROSS(MA2,MA3)AND CO AND CREF(C,1)AND C/REF(C,1)=1.018OR CROSS(MA1,MA3)AND CO AND CREF(C,1)AND C/REF(C,1)=1.018;TJ2:=(MAX(MA1,MAX(MA2,MA3)-MIN(MA1,MIN(MA2,MA3)/MIN(MA1,MIN(MA2,MA3)*100D AND MACD0 AND V1,2,0),COLORRED;做空:=IF(KD AND MACD1,-2,0),COLOR00FF00;强洗:=IF(MACD0 AND K1,1,0),COLOR0099FF;弱升:=IF(MACDD AND V1,-1,0),COLORFFFF00;STICKLINE(做多 AND C=O,C,O,3,1),COLORRED;STICKLINE(做多 AND CO,C,O,3,0),COLOR990099;STICKLINE(做多 AND CO,C,O,1,0),COLORCC00CC;STICKLINE(做多 AND C=O,C,O,3,1),COLOR0000FF;STICKLINE(做多 AND C=O,C,O,1.5,0),COLOR0000DD;STICKLINE(做多 AND C=O,C,O,0.4,0),COLOR0000FF;STICKLINE(做空 AND C=O,L,H,0.1,0),COLOR0000FF;STICKLINE(做空 AND C=O,C,O,3,1),COLOR00FF00;STICKLINE(做空 AND CO,C,O,3,0),COLOR00FF00;STICKLINE(做空 AND CO,C,O,0.3,0),COLOR00FF00;通达信 指标公式源码大全通达信 指标公式源码大全STICKLINE(做空 AND C=O,L,H,0.1,0),COLOR0000FF;STICKLINE(强洗 AND C=O,C,O,3,1),COLORFFFFFF;STICKLINE(强洗 AND CO,C,O,3,0),COLOR999999;STICKLINE(强洗 AND CO,C,O,1,0),COLORCCCCCC;STICKLINE(强洗 AND C=O,C,O,3,1),COLOR00FFFF;STICKLINE(弱升 AND CO,C,O,3,0),COLOR009999;STICKLINE(弱升 AND CREF(ZIG(3,5),1)ANDREF(ZIG(3,5),1)=REF(ZIG(3,5),2)REF(ZIG(3,5),2)=REF(ZIG(3,5),3);EX1:=ZIG(3,5)=REF(ZIG(3,5),2)REF(ZIG(3,5),2)=REF(ZIG(3,5),3);PL10:=ZIG(3,10);EN2:=ZIG(3,10)REF(ZIG(3,10),1)ANDREF(ZIG(3,10),1)=REF(ZIG(3,10),2)REF(ZIG(3,10),2)=REF(ZIG(3,10),3);EX2:=ZIG(3,10)=REF(ZIG(3,10),2)REF(ZIG(3,10),2)=REF(ZIG(3,10),3);PL20:=ZIG(3,20);EN3:=ZIG(3,20)REF(ZIG(3,20),1)ANDREF(ZIG(3,20),1)=REF(ZIG(3,20),2)REF(ZIG(3,20),2)=REF(ZIG(3,20),3);EX3:=ZIG(3,20)=REF(ZIG(3,20),2)REF(ZIG(3,20),2)=REF(ZIG(3,20),3);PL40:=ZIG(3,40);走强 1:=BARSLAST(PL5REF(PL5,1);走强 2:=BARSLAST(PL10REF(PL10,1);走强 3:=BARSLAST(PL20REF(PL20,1);ZTJZ5:=IF(PL10REF(PL10,1),COUNT(EN1,走强 2),0);ZTJD5:=IF(PL10REF(PL10,1),COUNT(EX1,走强 2),0);DTJZ5:=IF(PL10REF(PL10,1),COUNT(EN1,走弱 2),0);DTJD5:=IF(PL10REF(PL20,1),COUNT(EN2,走强 3),0);ZTJD10:=IF(PL20REF(PL20,1),COUNT(EX2,走强 3),0);DTJZ10:=IF(PL20REF(PL20,1),COUNT(EN2,走弱 3),0);DTJD10:=IF(PL20REF(PL20,1)AND ZTJD10=1,H*1.03,),LINETHICK3,COLOR00FFFF;DRAWTEXT(EN2 AND PL20REF(PL20,1)AND ZTJZ10=2,L*0.95,),LINETHICK3,COLOR00FFFF;DRAWTEXT(EX2 AND PL20REF(PL20,1)AND ZTJD10=2 OR(ZTJD10=0 OR ZTJD10=2)AND EX2,H*1.03,),LINETHICK3,COLOR00FFFF;DRAWTEXT(EN2 AND PL20REF(PL20,1)AND ZTJZ10=3,L*0.95,),LINETHICK3,COLOR00FFFF;TJ11:=EN2 AND ZTJZ5=1;TJ22:=EN1 AND PL10REF(PL10,1)AND ZTJZ5=2;TJ33:=EN2 AND DTJZ10=1;TJ44:=EN3 AND ZTJZ10=1;TJ55:=EN2 AND PL20REF(PL20,1)AND ZTJZ10=2;XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55;MM:=CHRY33 AND HRY33=REF(HRY33,1);QQ:=HRY33=REF(HRY33,1);XG11:=CROSS(C,HRY33)AND QQ AND MM;BUY1:=LAST(CLOSEMA(CLOSE,55),0,5);BUY2:=EXIST(CLOSEMA(CLOSE,55)&BUY1&BUY2;W18:=FILTER(EXIST(XG11 OR BUY,1),5);STICKLINE(W18,C,(C+O)/2,4,0),COLORFF00FF;DRAWTEXT(W18,L*0.97,牛),COLOR00FFFF;X1:=REF(C,1)/HHV(H,20)0.67;X3:=(HIGH-MAX(CLOSE,OPEN)/(HIGH-LOW)0.33;X4:=ABS(C-O)/CC;X5:=COUNT(DOWN,7)=5;XG8:=X1 AND X2 AND X3 AND X4 AND X5;DRAWTEXT(XG8,L*0.98,螺),COLOR00FFFF;AA:=REF(C,1)/REF(O,1)1.03;CC:=CREF(O,1);TJ81:=AA AND BB AND CC;X81:=REF(C,1)/HHV(H,20)C;X82:=COUNT(DN,7)=5;X83:=C=HHV(C,3);XG81:=TJ81 ANDX81 AND X82;XG82:=X81 AND X82 AND X83;XG88:=XG81 OR XG82;DRAWTEXT(XG88,L*0.96,反),COLOR00FFFF;X01:=REF(C,1)/HHV(H,21)C;X02:=COUNT(DOWN1,9)=6;X03:=ABS(C-O)/C0.025;XG0:=X01AND X03 AND X04;DRAWTEXT(XG0,L*0.97,星),COLOR00FFFF;S1:=REF(C,1)/LLV(L,W)1.30;S2:=(H-MAX(C,O)/(H-L)0.60;S3:=ABS(C-O)/C0.05 AND C0.05 AND CO;SAL3:=S1 AND ABS(C-O)/C0.67 AND CO AND S3;SAL:=SAL1 OR SAL2 OR SAL3 OR SAL4 OR SAL5;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;黄买:=FILTER(REF(CLOSE,2)CLOSE AND RSICLOSE AND RSI80),7);红买:=FILTER(CROSS(RSI,11),7);红卖:=FILTER(CROSS(89,RSI),7);绿买:=FILTER(CROSS(RSI,20),7);绿卖:=FILTER(CROSS(80,RSI),7);SL1:=红卖 AND 绿卖;SL2:=红卖 AND 绿卖 AND 黄卖;BU:=红买 AND 绿买;SS1:=CROSS(MA(C,5),C);SS2:=(REF(C,1)-C)/REF(C,1)0.04;SS3:=O 0)AND(LOW=短期底部)AND(WINNER(CLOSE)0.13),7);图图公式公式 2 2代码代码PJJ:=DMA(H+L+C*2)/4,0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=VOL/(H-L)*2-ABS(C-O);XVL:=IF(C O,QJJ*(H-L),IF(C O,0-QJJ*(H-C+(O-L),IF(C DEA AND 趋势线REF(趋势线,1),HHV(H,5)*1.05,LLV(L,5)*0.95,4,0),COLOR781836;DRAWKLINE(H,O,L,C);V1:=ABS(2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20)/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1);V3:=(1+7/100)*(DMA(CLOSE,V1);V5:=MA(LOW+HIGH+CLOSE)/3,5);支撑:REFDATE(V2,DATE),POINTDOT,LINETHICK3,COLORCC66FF;阻力:REFDATE(V3,DATE),POINTDOT,LINETHICK3,COLORGREEN;VAR1:=CLOSEREF(CLOSE,1)AND CLOSEREF(CLOSE,2);VAR2:=REF(VAR1,1)AND CLOSE=REF(CLOSE,2);VAR3:=REF(VAR2,1)AND CLOSE=REF(CLOSE,1)AND CLOSE=REF(CLOSE,2);VAR4:=REF(VAR3,1)AND CLOSE=REF(CLOSE,2);VAR5:=REF(VAR4,1)AND CLOSE=REF(CLOSE,1)AND CLOSE=REF(CLOSE,2);VAR6:=REF(VAR5,1)AND CLOSE=REF(CLOSE,2);VAR7:=REF(VAR6,1)AND CLOSE=REF(CLOSE,1)AND CLOSE=REF(CLOSE,2);VAR8:=REF(VAR7,1)AND CLOSE=REF(CLOSE,2);VAR9:=REF(VAR8,1)AND CLOSE=REF(CLOSE,1)AND CLOSE=REF(CLOSE,2);VARA:=REF(VAR9,1)AND CLOSE=REF(CLOSE,2);VARB:=REF(VARA,1)AND CLOSE=REF(CLOSE,1)AND CLOSE=REF(CLOSE,2);VARC:=REF(VARB,1)AND CLOSE=REF(CLOSE,2);VARD:=CLOSEREF(CLOSE,1)AND CLOSE=REF(CLOSE,1)AND CLOSE=REF(CLOSE,2);VARF:=REF(VARE,1)AND CLOSE=REF(CLOSE,2);VAR10:=REF(VARF,1)AND CLOSE=REF(CLOSE,1)AND CLOSE=REF(CLOSE,2);VAR11:=REF(VAR10,1)AND CLOSE=REF(CLOSE,2);VAR12:=REF(VAR11,1)AND CLOSE=REF(CLOSE,1)AND CLOSE=REF(CLOSE,2);VAR13:=REF(VAR12,1)AND CLOSE=REF(CLOSE,2);VAR14:=REF(VAR13,1)AND CLOSE=REF(CLOSE,1)AND CLOSE=REF(CLOSE,2);VAR15:=REF(VAR14,1)AND CLOSE=REF(CLOSE,2);VAR16:=REF(VAR15,1)AND CLOSE=REF(CLOSE,1)AND CLOSE=REF(CLOSE,2);VAR17:=REF(VAR16,1)AND CLOSE=REF(CLOSE,2);VAR18:=REF(VAR17,1)AND CLOSE=REF(CLOSE,1)AND CLOSE30 AND MA5REF(MA5,1),MA5,DRAWNULL),LINETHICK1,COLORRED;BB10:=ATAN(MA10/REF(MA10,1)-1)*100)*180/3.1416;IF(BB50 AND MA5REF(MA5,1),MA5,DRAWNULL),LINETHICK1,COLORGREEN;DD5:=MA5REF(MA5,1);IF(DD5,MA5,DRAWNULL),COLOR00FF00;X0:=(3*C+L+O+H)/6;多空线:(20*X0+19*REF(X0,1)+18*REF(X0,2)+17*REF(X0,3)+16*REF(X0,4)+15*REF(X0,5)+14*REF(X0,6)+13*REF(X0,7)+12*REF(X0,8)+11*REF(X0,9)+10*REF(X0,10)+9*REF(X0,11)+8*REF(X0,12)+7*REF(X0,13)+6*REF(X0,14)+5*REF(X0,15)+4*REF(X0,16)+3*REF(X0,17)+2*REF(X0,18)+REF(X0,20)/210,COLORFF00FF,LINETHICK1;用法:黄托底买进,绿压顶买出。DD:=多空线多空线);IF(A,多空线,DRAWNULL),COLORYELLOW,POINTDOT;A1:=(MA5多空线);IF(A1,多空线,DRAWNULL),COLORWHITE;A2:=3*EMA(C-LLV(L,30)/(HHV(H,30)-LLV(L,30)*100,5)-2*EMA(C-LLV(L,30)/(HHV(H,30)-LLV(L,30)*100,5);A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)*100;A5:=EMA(CLOSE,12)-EMA(CLOSE,26);A6:=EMA(A5,9);A7:=(A5A6);财神:IF(A7,LLV(L,21),DRAWNULL)COLORRED,CIRCLEDOT;CYS:=(EMA(CLOSE-V2)/V2,1)*100);AA0:=CYS;MIDD:=MA(CYS,20);CC0:=MIDD+0.85*STD(CYS,10);TM6:=AA0CC0;IF(TM6,MA5,DRAWNULL),COLORRED,LINETHICK1;A0:=(L+H+C*2)/4;工作:=EMA(A0,14)COLORYELLOW,LINETHICK1;度假:=EMA(A0,25)COLORYELLOW,LINETHICK1;A1X:=(工作-REF(工作,1)/REF(工作,1)*100;A2X:=(度假-REF(度假,1)/REF(度假,1)*100;G:=BARSLAST(CROSS(A1X,0);KDJRSV:=(CLOSE-LLV(LOW,9)/(HHV(HIGH,9)-LLV(LOW,9)*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;金叉:=CROSS(J,D);死叉:=CROSS(D,J);买 1:=(VAR14 OR VAR15)AND VAR11;买 2:=(VAR14 OR VAR15)AND VAR4;买 3:=(VAR14 OR VAR15)AND VAR2;买 4:=(VAR2 AND VAR11)OR(VAR4 AND VAR11);买 5:=(金叉 AND VAR4)OR(金叉 AND VAR2)OR(金叉 AND VAR11);涨停STICKLINE(CLOSEREF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,4,-1),COLOR00FFFF;跌停STICKLINE(CLOSE=CLOSE,CLOSE,OPEN,3,0),COLORFF7700;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,2.2,0),COLORFF9900;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,1.5,0),COLORFFBB00;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,0.5,0),COLORCYAN;红STICKLINE(CLOSEOPEN,CLOSE,OPEN,3,0),COLOR000099;STICKLINE(CLOSEOPEN,CLOSE,OPEN,2.2,0),COLOR0000CC;STICKLINE(CLOSEOPEN,CLOSE,OPEN,1.5,0),COLOR0000FF;STICKLINE(CLOSEOPEN,CLOSE,OPEN,0.5,0),COLORCC66FF;绿STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,3,0),COLOR009900;STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,2.2,0),COLOR00BB00;STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,1.5,0),COLOR00DD00;STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,0.5,0),COLOR00FF00;灰 STICKLINE(VAR4,OPEN,(OPEN+CLOSE)/2,3,0),COLOR999999;STICKLINE(VAR4,OPEN,(OPEN+CLOSE)/2,2.2,0),COLORBBBBBB;STICKLINE(VAR4,OPEN,(OPEN+CLOSE)/2,1.5,0),COLORDDDDDD;STICKLINE(VAR4,OPEN,(OPEN+CLOSE)/2,0.5,0),COLORFFFFFF;STICKLINE(金叉,OPEN,CLOSE,0.5,0),COLORYELLOW;STICKLINE(死叉,OPEN,CLOSE,0.5,0),COLOR000099;DRAWICON(VAR16,LOW-0.02,7);DRAWICON(买 1 OR 买 2 OR 买 3 OR 买 4 OR 买5,LOW-0.01,1);DRAWICON(死叉 OR VAR12 OR CROSS(40,VAR9),HIGH+0.01,2);STICKLINE(CROSS(A1X,0),C,O,1,0)COLORFFFFFF;STICKLINE(CROSS(0,A1X),C,O,1,0)COLORGREEN;AX:=XMA(C,3);DRAWICON(H/AX1.05,H*1.01,2);N1:=6;AA:=REF(H,N1)=HHV(H,2*N1+1);AA1:=REF(L,N1)=LLV(L,2*N1+1);QY:=BACKSET(AA,N1+1);QY1:=BACKSET(AA1,N1+1);CC:=FILTER(QY,N1)AND H=HHV(H,N1+1);CC1:=FILTER(QY1,N1)AND L=LLV(L,N1+1);DDD:=BARSLAST(CC);DD1:=BARSLAST(CC1);GDTS:=IF(CC,CURRBARSCOUNT,0);DDTS:=IF(CC1,CURRBARSCOUNT,0);DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);GDCS1:=CONST(DINGBUTS);DDCS1:=CONST(DDTS1);GDCS13:=CONST(REF(HIGH,GDCS1-1);DDCS13:=CONST(REF(L,DDCS1-1);DINGBUTS1:=REF(DINGBUTS,DDD+1);DDTS2:=REF(DDTS1,DD1+1);GDCS2:=CONST(DINGBUTS1);DDCS2:=CONST(DDTS2);GDCS23:=CONST(REF(HIGH,DINGBUTS1-1);DDCS23:=CONST(REF(L,DDTS2-1);XG1:=BACKSET(ISLASTBAR,GDCS1);XD1:=BACKSET(ISLASTBAR,DDCS1);XG2:=BACKSET(ISLASTBAR,DINGBUTS1);XD2:=BACKSET(ISLASTBAR,DDTS2);XDD:=IF(DDCS130 AND(REF(H,(GDCS1-1)+DX1*GDCS1)GHH*1.05,NODRAW;GGAB:=DX10 AND(REF(H,(GDCS1-1)+DX1*GDCS1)0 AND(REF(H,(GDCS11-1)+DX2*GDCS11)GHH*1.05,NODRAW;GGBB:=DX20 AND(REF(H,(GDCS11-1)+DX2*GDCS11)DLL*0.95,NODRAW;DDDX1:=IF(GGBA OR GGBB,0,1),NODRAW;LX1:=(REF(L,DDCS1-1)-REF(L,DDCS2-1)/(DDCS2-DDCS1),NODRAW;LX2:=(REF(L,DDCS11-1)-REF(L,DDCS22-1)/(DDCS22-DDCS11),NODRAW;DDAA:=LX10 AND(REF(L,(DDCS1-1)+LX1*DDCS1)0 AND(REF(L,(DDCS1-1)+LX1*DDCS1)GHH*1.05,NODRAW;LLX1:=IF(DDAA OR DDAB,0,1);DDBA:=LX20 AND(REF(L,(DDCS11-1)+LX2*DDCS11)0 AND(REF(L,(DDCS11-1)+LX2*DDCS11)GHH*1.05,NODRAW;LLLX1:=IF(DDBA OR DDBB,0,1),NODRAW;长压力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,DDX1),COLORYELLOW,LINETHICK2;长支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,LLX1),COLORYELLOW,LINETHICK2;长中轨:(长压力+长支撑)/2,POINTDOT,COLORYELLOW,LINETHICK4;短压力:DRAWLINE(CURRBARSCOUNT=GDCS22,H,CURRBARSCOUNT=GDCS11,H,DDDX1),COLORLIBLUE,LINETHICK1;短支撑:DRAWLINE(CURRBARSCOUNT=DDCS22,L,CURRBARSCOUNT=DDCS11,L,LLLX1),COLORLIBLUE,LINETHICK1;短中轨:(短压力+短支撑)/2,POINTDOT,COLORLIBLUE,LINETHICK4;图图稳赚稳赚代码代码BF:=MA(CLOSE,20);上:BF+2*STD(CLOSE,20),NODRAW;下:BF-2*STD(CLOSE,20),NODRAW;DRAWBAND(上,RGB(85,20,30),BF,RGB(0,60,5);DRAWBAND(BF,RGB(0,60,5),下,RGB(0,60,5);PP:=CROSS(C,MA(C,4);EE:=STICKLINE(PP AND MA(C,20)=REF(MA(C,20),1)ANDCO,H,L,1,0),COLORFF00FF,LINETHICK2;20日均线走强买点;DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;AA:=MACDREF(MACD,1)AND REF(MACD,1)REF(MACD,2)AND REF(MACD,2)0;CT:=MACDREF(MACD,1)AND REF(MACD,1)REF(MACD,2)AND REF(MACD,2)REF(MACD,3)ANDREF(MACD,3)0;PPO:=MA(C,4)MA(C,24)AND PP AND MA(C,24)=REF(MA(C,24),1);VIP:=AA AND PPO OR CT AND PPO;DRAWICON(VIP=1,LOW*0.95,9),COLORRED;DRAWKLINE(H,O,L,C);MA5:MA(CLOSE,5),COLORWHITE;MA10:MA(CLOSE,10),COLORRED,LINETHICK2;MA20:MA(CLOSE,20),COLORBLUE;MA62:=MA(CLOSE,62),POINTDOT,COLORBLUE;MA133:=MA(CLOSE,133),POINTDOT,COLORGREEN;涨幅日:(C-REF(C,1)/REF(C,1)*100,COLORRED,NODRAW;周:(C-REF(C,5)/REF(C,5)*100,COLORLIRED,NODRAW;月:(C-REF(C,20)/REF(C,20)*100,COLORRED,NODRAW;季:(C-REF(C,60)/REF(C,60)*100,COLORYELLOW,NODRAW;STICKLINE(日=9.95,O,C,2,0),COLORRED,LINETHICK2;IF(MA10=MA5,MA10,DRAWNULL),COLORGREEN,LINETHICK2;IF(MA5=卖线 YGB,C,DRAWNULL),COLORRED,NODRAW;S 卖:IF(CROSS(界,指导线)OR CROSS(卖线 YGB,买线 YGB),C,DRAWNULL),COLORLIGRAY,NODRAW;空仓:IF(买线 YGB=HHV(X,N1),X,X=HHV(X,N1),X,X=LLV(X,N1),1,X),COLOR00FF00;TJ0:=X=魔王;TJ1:=X=魔鬼;TJ2:=XREF(1,X);JRS1:=DRAWICON(TJ1 AND TJ2,X,1);JRS2:=DRAWICON(TJ0 AND TJ3,X,2);DRAWICON(FILTER(JRS10,1),L*0.97,1);DRAWICON(FILTER(JRS20,1),H*1.02,15);VAR4:=(LOW+HIGH+CLOSE)/3;操作:=MA(VAR4,5);拉升:=HHV(操作,13),POINTDOT;压力:=HHV(操作,60),POINTDOT;买卖:=LLV(操作,13),POINTDOT;支撑:=LLV(LOW,60)*1.02,POINTDOT;顶部:=HHV(HIGH,60)*0.98,POINTDOT,COLORCYAN;图图金泉介入点金泉介入点代码代码MB1:=EMA(WINNER(C)*100,5),COLORYELLOW;MB2:EMA(MB1,2),COLORBLUE;MB3:EMA(MB2,2),COLORBLUE;MB4:EMA(MB3,2),COLORBLUE;MB5:EMA(MB4,2),COLORBLUE;MB6:EMA(MB5,2),COLORBLUE;MB7:EMA(MB6,2),COLORBLUE;MB8:EMA(MB7,2),COLORBLUE;MB9:EMA(MB8,2),COLORBLUE;MB10:EMA(MB9,2),COLORBLUE;MB11:EMA(MB10,2),COLORBLUE;MB12:EMA(MB11,2),COLORBLUE;MB13:EMA(MB12,2),COLORBLUE;MB14:EMA(MB13,2),COLORBLUE;N:=5;VAR2:MB1;VAR3:DRAWLINE(VAR2=HHV(VAR2,N)=1,VAR2,VAR2REF(VAR2,1);STICKLINE(VAR2=VAR3 AND VAR2MB4,VAR2,VAR2+10,1,0)COLORYELLOW;STICKLINE(XG,VAR2,VAR2+10,1,0),COLORRED;金泉金泉 K K 线图线图代码代码五:MA(CLOSE,5);十:MA(CLOSE,10);三十:MA(CLOSE,30),COLORFF00FF,LINETHICK2;六十:MA(CLOSE,58),COLOR00FF00,LINETHICK2;半年:MA(CLOSE,118),COLORFFFF80,LINETHICK2;年:MA(CLOSE,238),COLORRED,LINETHICK2;二:MA(CLOSE,500),COLORWHITE,LINETHICK2;三:MA(CLOSE,750),COLOR8080FF,LINETHICK2;四:MA(CLOSE,999),COLORYELLOW,LINETHICK2;MA98:MA(CLOSE,98),COLORGRAY;MA138:MA(CLOSE,138),COLORGRAY;MA158:MA(CLOSE,158),COLORGRAY;MA178:MA(CLOSE,178),COLORGRAY;MA198:MA(CLOSE,198),COLORGRAY;MA218:MA(CLOSE,218),COLORGRAY;IF(十=REF(十,1),十,DRAWNULL),COLORFF8000,LINETHICK2;IF(三十=REF(三十,1),三十,DRAWNULL),COLORFF8000,LINETHICK2;IF(六十=REF(六十,1),六十,DRAWNULL),COLORFF8000,LINETHICK2;IF(半年=REF(半年,1),半年,DRAWNULL),COLORFF8000,LINETHICK2;IF(年 VAR2),VAR2,),COLOR0000FF;弱势:DRAWTEXT(VAR1=VAR2),VAR2,),COLOR00FF00;VAR3:=MA(CLOSE,20);VAR4:=MA(CLOSE,60);VAR5:=CROSS(VAR3,VAR4);DRAWICON(VAR5,(HIGH*1.04),2);DRAWTEXT(VAR5,(HIGH*1.06),卖出),COLORFFFFFF;VAR6:=CROSS(VAR1,VAR2);DRAWICON(VAR6 AND(CLOSE 铁底),(LOW-(LOW*0.04),1);DRAWTEXT(VAR6 AND(CLOSE 0.08);DRAWTEXT(FILTER(VAR7,1),(LOW*0.99),追),COLOR00FFFF;DRAWTEXT(CROSS(底部支撑,铁底),(LOW-(LOW*0.02),小底),COLOR00FFCC;DRAWTEXT(MONTH=7)AND(DAY=28),(底部支撑-(底部支撑*0.02),仿操盘密码 3.0),COLORFFFFFF;图图波段绝品波段绝品代码代码VAR1B:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9)*100-70;VAR2B:=SMA(VAR1B,9,1)+100;VAR3B:=(CLOSE-LLV(LOW,9)/(HHV(HIGH,9)-LLV(LOW,9)*100;VAR4B:=SMA(VAR3B,3,1);VAR5B:=SMA(VAR4B,3,1)+100;VAR6B:=VAR5B-VAR2B;趋势 1:IF(VAR6B45,VAR6B-45,0),COLOR00FFFF,LINETHICK2;VAR2Q:=REF(LOW,1);VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);VAR5Q:=LLV(LOW,30);VAR6Q:=HHV(VAR4Q,30);VAR7Q:=IF(MA(CLOSE,58),1,0);VAR8Q:=EMA(IF(LOW100,100,VAR8Q);STICKLINE(火焰山0 AND 火焰山REF(火焰山,1),0,火焰山*1.2,3.5,0),COLOR4444FF;STICKLINE(火焰山0 AND 火焰山REF(火焰山,1),0,火焰山*1.2,2.5,0),COLOR5555FF;STICKLINE(火焰山0 AND 火焰山REF(火焰山,1),0,火焰山*1.2,1.5,0),COLOR7777FF;STICKLINE(火焰山0 AND 火焰山REF(火焰山,1),0,火焰山*1.2,0.5,0),COLOR9999FF;STICKLINE(REF(趋势 1,1)趋势 1,趋势 1,REF(趋势 1,1),3.5,0),COLOR000033;STICKLINE(REF(趋势 1,1)趋势 1,趋势 1,REF(趋势 1,1),2.8,0),COLOR000055;STICKLINE(REF(趋势 1,1)趋势 1,趋势 1,REF(趋势 1,1),2.0,0),COLOR000077;STICKLINE(REF(趋势 1,1)趋势 1,趋势 1,REF(趋势 1,1),1.2,0),COLOR000099;STICKLINE(REF(趋势 1,1)趋势 1,趋势 1,REF(趋势 1,1),3.5,0),COLOR003300;STICKLINE(REF(趋势 1,1)趋势 1,趋势 1,REF(趋势 1,1),2.8,0),COLOR005500;STICKLINE(REF(趋势 1,1)趋势 1,趋势 1,REF(趋势 1,1

    注意事项

    本文(通达信 指标公式源码大全借鉴.pdf)为本站会员(蓝****)主动上传,淘文阁 - 分享文档赚钱的网站仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知淘文阁 - 分享文档赚钱的网站(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    关于淘文阁 - 版权申诉 - 用户使用规则 - 积分规则 - 联系我们

    本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

    工信部备案号:黑ICP备15003705号 © 2020-2023 www.taowenge.com 淘文阁 

    收起
    展开