首页 > 编程语言 >通达信 深海预警指标公式源码副图

通达信 深海预警指标公式源码副图

时间:2024-01-28 18:13:03浏览次数:34  
标签:EMA 深海 STICKLINE 机构 DATA ZIG 通达信 源码 REF

80,COLOR888888,;
 QW1:=(HIGH+LOW+CLOSE*2)/4;
 QW3:=EMA(QW1,10);
 QW4:=STD(QW1,10);
 QW5:=(QW1-QW3)*100/QW4;
 QW6:=EMA(QW5,5);
 RK7:=EMA(QW6,10);
涨:EMA(QW6,10)+100/2-5,LINETHICK1,COLORYELLOW;
跌:=EMA(涨,4),LINETHICK1,COLORFFFF34,;
多线:IF(CROSS(涨,跌) AND 跌<-10,30,0),LINETHICK1,COLORYELLOW;
空线:IF(CROSS(跌,80),70,100),COLORFF9900,;
买1:=EMA(跌,4),COLORWHITE,;
买2:=EMA(买1,4),COLORGREEN,;
买M3:=EMA(买2,4);
买M4:=EMA(买M3,4);
 STICKLINE(涨<ref(涨,1),涨,ma(涨,3),0,0 ),colorwhite,;<br="">  STICKLINE(涨<ref(涨,1),涨,ma(涨,3),8,0 ),color008800,;<br="">  STICKLINE(涨<ref(涨,1),涨,ma(涨,3),7,0 ),color009900,;<br="">  STICKLINE(涨<ref(涨,1),涨,ma(涨,3),6,0 ),color00aa00,;<br="">  STICKLINE(涨<ref(涨,1),涨,ma(涨,3),5,0 ),color00bb00,;<br="">  STICKLINE(涨<ref(涨,1),涨,ma(涨,3),4,0 ),color00cc00,;<br="">  STICKLINE(涨<ref(涨,1),涨,ma(涨,3),3,0 ),color00dd00,;<br="">  STICKLINE(涨<ref(涨,1),涨,ma(涨,3),2,0 ),color00ee00,;<br="">  STICKLINE(涨<ref(涨,1),涨,ma(涨,3),1,0 ),color00ff00,;<br="">  STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),0,0) ,COLOR00BBFF,;
 STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),8,0) ,COLOR0011FF,;
 STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),7,0) ,COLOR0022FF,;
 STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),6,0) ,COLOR0044FF,;
 STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),5,0) ,COLOR0066FF,;
 STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),4,0) ,COLOR0088FF,;
 STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),3,0) ,COLOR0099FF,;
 STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),2,0) ,COLOR00AAFF,;
 STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),1,0) ,COLOR00BBFF,; DRAWICON(多线,30,1);
 DRAWICON(CROSS(跌,80),70,2); VAR7B:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);DRAWTEXT(VAR7B>0,60,'★探底 '),COLORYELLOW; DRAWTEXT(CROSS(涨,跌) AND 跌<20 AND 跌>-10,40,'买入'),COLORCCFF99;
 DRAWTEXT(多线>0,-20,'涨.涨'),COLOR0000FF;
 VAR811:=SUMBARS(VOL,(7)*100);
 VAR822:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
 VAR883:=(CLOSE-VAR822)/VAR822*100;
 VAR884:=HHV(VAR883,VAR811);
 VAR885:=LLV(VAR883,VAR811);
 VAR886:=(VAR883-VAR885)/(VAR884-VAR885)*100;
 K:=SMA(VAR886,3,1);
 D:=SMA(K,3,1);
 J:=3*K-2*D;
 MA1:=MA(J,3);
 STICKLINE(FILTER(J>MA1 AND J<=3,5)=1 AND 跌<0,涨,涨+20,6,0),COLORYELLOW,;
 DRAWTEXT(FILTER(J>MA1 AND J<=3,5)=1 AND 跌<0,5,'买'),COLORMAGENTA; VAR2:=MA(CLOSE,194);VAR44:=REF(CLOSE,1);
 {风向}
VAR1:=XMA(REF((L+OPEN+CLOSE+HIGH)/4,1),2);
 VAR22:=SMA(ABS(LOW-VAR1),11,1)/SMA(MAX(LOW-VAR1,0),11,1);
 VAR3:=EMA(VAR2,3);
 VAR4:=LLV(LOW,11);
 VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),5.5);
博弈:=IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;
股旁:=IF(VAR5<ref(var5,1),var5,0),colorgreen,nodraw;
差:EXPMEMA(博弈+股旁,1),COLORRED,NODRAW;
网:=EXPMEMA(博弈-股旁,1);
机构:=EXPMEMA(差*网,1);
 STICKLINE(机构>REF(机构,1)AND 机构>0,0,机构,4,0),COLOR000099;
 STICKLINE(机构>REF(机构,1)AND 机构>0,0,机构,3,0),COLOR0000CC;
 STICKLINE(机构>REF(机构,1)AND 机构>0,0,机构,1.5,0),COLOR0000FF;
 STICKLINE(机构>REF(机构,1)AND 机构>0,0,机构,0.5,0),COLORCC66FF;
 STICKLINE(机构>REF(机构,1)AND 机构<0,0,机构,3,0),COLORCC00FF;
 STICKLINE(机构<ref(机构,1)and 机构<0,0,机构,4,0),coloraa00aa;<br="">  STICKLINE(机构<ref(机构,1)and 机构<0,0,机构,3,0),colorbb00bb;<br="">  STICKLINE(机构<ref(机构,1)and 机构<0,0,机构,2,0),colordd00dd;<br="">  STICKLINE(机构<ref(机构,1)and 机构<0,0,机构,1,0),colorcc00ff;<br="">  DRAWTEXT(CROSS(机构,0),20,'介入'),COLOR00FFFF;
 DRAWTEXT(CROSS(0,机构),机构,'买底'),COLORYELLOW;
 DATA:=5;
 {多头买入} DRAWICON(ZIG(3,DATA)>REF(ZIG(3,DATA),1)
 AND REF(ZIG(3,DATA),1)<=REF(ZIG(3,DATA),2)
 AND REF(ZIG(3,DATA),2)<=REF(ZIG(3,DATA),3),L*0.98,1);
 {多头卖出} DRAWICON(ZIG(3,DATA)<ref(zig(3,data),1)
 AND REF(ZIG(3,DATA),1)>=REF(ZIG(3,DATA),2)
 AND REF(ZIG(3,DATA),2)>=REF(ZIG(3,DATA),3),H*1.02,2);

 

标签:EMA,深海,STICKLINE,机构,DATA,ZIG,通达信,源码,REF
From: https://www.cnblogs.com/zhibiao/p/17993100

相关文章

  • 通达信启动买入主图指标公式源码
    A:EMA(C,21)COLORBLUE,LINETHICK3; B:=A<ref(a,1); IF(B-1,A,DRAWNULL)COLORRED,LINETHICK3; AA:=EMA(C,3)>EMA(C,21); BB:=EMA(C,3)<EMA(C,21); CC:=EMA(C,3)>EMA(C,8); CC1:=EMA(C,3)<EMA(C,8); DD:=CLOSE<open;STICKLINE(AA,H,L,0,0),C......
  • 通达信【寻妖记】幅图选股公式 大概率捉妖 简洁浓缩 分析股票的强度指标 源码文件分享
    通达信【寻妖记】幅图选股公式简洁浓缩分析股票的强度指标源码文件分享原公式完全加密,时间限时,股海网解密源码文件分享,已经解除时间限制,可以永久使用,并新增选股公式一个本指标叠加了资金流动、筹码流动、股票情绪三个元素,是一个综合性的评价指标,可用于选股、操盘。这个指标......
  • 通达信启动与洗盘指标公式源码
    volUME:VOL,VOLstICK;主力启动线:ma(VOLUME,5),COLORRED,LINETHICK1;主力洗盘线:MA(VOLUME,35),COLORYELLOW,LINETHICK1;资金异动线:MA(VOLUME,135),COLORWHITE,LINETHICK1;出击:STICKLINE(crOSS(主力启动线,资金异动线)OR((主力洗盘线>资金异动线)ANDCROSS(主力启动线,......
  • 通达信抓大牛主图指标公式源码主图
    M3:ma(CLOSE,3);M13:MA(CLOSE,13);M34:MA(CLOSE,34),COLORRED,LINETHICK2;X:=BArslAst(REF(crOSS(C,MA(C,120)),1))ANDCROSS(MA(C,20),MA(C,120));IF(M34<ref(m34,1),m34,drawnull),colorgreen,linethick2;STICKLINE(M3>=M13ANDM34>=REF(M34,1),H,L,0.1,0......
  • 通达信赤霞捉妖指标公式源码副图
    {日周月趋势}月DIF:=(Ema(CLOSE,12*4*4)-EMA(CLOSE,26*4*4));月DEA:=EMA(月DIF,9*4*4);月macd:=2*(月DIF-月DEA);周DIF:=(EMA(CLOSE,12*4)-EMA(CLOSE,26*4));周DEA:=EMA(周DIF,9*4),COLORWHITE,DOTLINE;周MacD:=2*(周DIF-周DEA);日DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26));日D......
  • 通达信超级生命线指标公式源码副图
    LASBAR:=BARstATUS==2;volX:=IF(LASBAR,DYNAINFO(17)*DYNAINFO(38),0),LINETHICK0;STICKLINE(LASBAR,0,VOLX,7.5,1)COLORYELLOW;VOLUME:VOL,VOLSTICK;BLZ:=VOL>REF(V,1)*1.9;BLZ1:=VOL<REF(LLV(VOL,13),1);BLZ2:=VOL<REF(LLV(VOL,55),1);HJZ:=(3*C+H+L+O)/6......
  • 通达信卧龙根副图指标公式源码副图
    跟庄看盘:DRAWNULL,COLOR0088FF;DT:=L=DTPRICE(REF(C,1),0.1);ZT:=C=ZTPRICE(REF(C,1),0.1);连阴:=COUNT((C<REF(C,1)ORL<REF(L,1)),10)>=5;间谍柱:=REF(连阴,1)ANDDT;卧底:=BArslAst(间谍柱);卧龙根:卧底<20ANDcrOSS(C,REF((C+O)/2,卧底));洗龙根:EXIST(卧龙根,1......
  • 通达信卧龙根主图指标公式源码
    跟庄看盘:DRAWNULL,COLOR0088FF;DRAWKLINE(H,O,L,C);ma5:MA(C,5);昨半:REF((C+O)/2,1),COLORYELLOW,NODRAW;半分:(C+O)/2,NODRAW,COLORWHITE;TM:=1200823;涨停:IF(DATE<tm,ztprice(ref(c,1),if(codelike('688'),0.2,if(nameinclude('s'),0.05,0.1))),ztpri......
  • 通达信分时T+0指标公式源码主图
    ma30:=EMA(CLOSE,30);强弱:EMA(CLOSE,900);stICKLINE((MA30>强弱),MA30,强弱,1,0),COLOR0000FF;STICKLINE((MA30<强弱),MA30,强弱,1,0),COLOR00FF00;H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:L1+P1*7/8,COLOR00DD00;支撑:L1+P1......
  • 通达信放量一阳穿5线指标公式源码副图
    ma5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);MA60:=MA(C,60);MA120:=MA(C,120);MA250:=MA(C,250);低ZK:=REF(C,1)低K:=O高K:=C>MA5ANDC>MA10ANDH>MA20ANDH>MA30ANDH>MA60;HSLZ:=V*10000/FINANCE(46);穿多线:C>REF(C,1)*1.06A......