首页 > 编程语言 >通达信天地玄黄主图趋势指标公式源码

通达信天地玄黄主图趋势指标公式源码

时间:2024-02-07 09:22:32浏览次数:36  
标签:25 金钻 XMA HIGH 通达信 源码 LOW 黄主图 CLOSE

{ 股票指标 }


黄块(黄K线)就是一个相对的低位,可以关注
本指标XMA未来函数

源码
DRAWGBK(C>O,RGB(60,0,0),RGB(0,0,0),1,2,1);
DRAWTEXT_FIX(1,0.88,5,0,''),COLORRED;
HZZ:=1220601;HZ:=IF(DATE<hzz,1,drawnull); <br=""> Z1:=STRCAT(HYBLOCK,' ')*HZ;
 Z2:=STRCAT(Z1,DYBLOCK)*HZ;
 Z3:=STRCAT(Z2,' ');
 DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;
 金牛:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25)*HZ,DOTLINE,COLORYELLOW;
 金钻趋势:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;
 金牛2:EMA(金钻趋势,25)COLORCYAN,LINETHICK2;
 DRAWBAND(金钻趋势,RGB(55,0,0),金牛2,RGB(0,91,0));
 DRAWKLINE(H,O,L,C);
 STICKLINE(金钻趋势>LOW AND 金钻趋势<high,金钻趋势,min(min(open,close),金钻趋势),2,0),coloryellow; <br=""> STICKLINE(金钻趋势>MIN(C,O) AND 金钻趋势<max(c,o),金钻趋势,min(open,close),2,0),coloryellow; <br=""> STICKLINE(金钻趋势>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;
 STICKLINE(金钻趋势>HIGH,HIGH,LOW,0,0),COLORYELLOW;
 VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);
回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));
 XG:=金钻趋势>HIGH AND 回调买 AND L<=金钻趋势;
 DRAWTEXT(XG,L,'▲买入'),COLORRED;
 JJ:=(HIGH+LOW+CLOSE)/3;
 QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
 QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
 QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
 QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
 QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
 DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;
 V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);
 V5:=SMA(V2*120/FROMOPEN*5,2,1);
 V10:=SMA(V5,5,1);
 V20:=SMA(V10,5,1);
 DY:=CURRBARSCOUNT=1 AND C<ref(c,1); <br=""> DY2:=REF(V2,1)-DY;
 XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<金牛;
 {DRAWTEXT(XG2,L,'▲抓牛'),COLORYELLOW;}
  DRAWTEXT(XG2 AND L<金钻趋势,L,'金钻起涨'),COLORMAGENTA;

 

标签:25,金钻,XMA,HIGH,通达信,源码,LOW,黄主图,CLOSE
From: https://www.cnblogs.com/zhibiao/p/18010588

相关文章

  • 通达信量粉高量看盘主图指标公式源码
    {股票指标}{板块显示}{参数N=11,M=6}SBL:=STRCAT(STRCAT(HYBLOCK,DYBLOCK),GNBLOCK);DRAWTEXT_FIX(1,0.00,0,0,'所属板块:')COLORWHITE;DRAWTEXT_FIX(1,0.06,0,0, SBL),COLORGREEN;DRAWTEXT_FIX(1,0.06,0.05,0,FGBLOCK),COLORMAGENTA;DRAWTEXT_FIX(1,0.83,0,0,'......
  • 通达信反向WR公式源码副图
    {股票指标}N:=10;N1:=6;wr1:100-(100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)));WR2:100-(100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1)));20,COLOR0000FF,DOTLINE,LINETHICK1;90,COLOR008000,DOTLINE,LINETHICK1;100,COLORGRAY,DOTLINE,LINETHICK1;DRAW......
  • 基于Java+Neo4j开发的知识图谱+全文检索的知识库管理系统(源码分析)
    在数字化高度普及的时代,企事业机关单位在日常工作中会产生大量的文档,例如医院制度汇编,企业知识共享库等。针对这些文档性的东西,手工纸质化去管理是非常消耗工作量的,并且纸质化查阅难,易损耗,所以电子化管理显得尤为重要。【springboot+elasticsearch+neo4j+vue+activiti】实现数字......
  • 通达信首板定龙线选股公式源码副图
    {股票指标}ZT:=C/REF(C,1)>1.0982ANDC=H;DT:=C/REF(C,1)<0.913ANDC=L;ma5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);G5:=(C-MA5)/MA5*100;BB5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;EW:=SMA(EMA((MA5-REF(MA5,1))/REF(MA5,1),3)*100,3,......
  • 通达信量化CCI源码副图
    {股票指标}N:=14;M:=50;TYP:=(HIGH+LOW+CLOSE)/3;cci:(TYP-ma(TYP,N))/(0.015*AVEDEV(TYP,N)),COLORWHITE,LINETHICK1;C2:(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),COLORRED;上升:IF(CCI>REF(CCI,1),CCI,DRAWNULL),LINETHICK1,COLORWHITE;下降:IF(CCI<ref(cci,1),cci,dr......
  • 通达信真龙头源码副图
    {股票指标}X_1:=DYNAINFO(4)>0ANDHHV(HIGH,10)/LLV(LOW,10)<1.25ANDREF(CLOSE,1)<llv(low,15)+(hhv(high,15)-llv(low,15))*0.85and=""close="">OPENANDCLOSE>=HHV(HIGH,10);X_2:=IF(DATETODAY(DATE)<15000000,1,DRAWNULL);X......
  • 通达信寸土寸金源码副图
    {股票指标}RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K2:=REF(ma(RSV2,3),1)+(RSV2-REF(MA(RSV2,3),1))/3;D2:=REF(MA(K2,3),1)+(K2-REF(MA(K2,3),1))/3;J2:=3*K2-2*D2;BB1:=EMA(J2,5);BB2:=REF(BB1,1);QQ:BB1;stICKLINE(K2<d2,100,0,8,0),colora8a8a......
  • 通达信喜鹊蹬枝主图指标公式源码
    {股票指标}VAR1:=ma(CLOSE,30);下轨:VAR1-2*stD(CLOSE,60),COLORCYAN;成本:MA(CLOSE,60),POINTDOT,COLORMAGENTA,LINETHICK4;上轨:VAR1+2*STD(CLOSE,60),COLORWHITE;喜鹊:SAR(10,2,20),COLORYELLOW,LINETHICK2;满仓:0.72*MA(FORCAST(CLOSE,2),40),POINTDOT,COLOR0000F......
  • 通达信真假黑马源码副图
    {股票指标}VAR2:=(3)*(SMA(((OPEN-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89)))*(100),20,1))-(2)*(Sma(SMA(((OPEN-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89)))*(100),20,1),15,1));VAR3:=VAR2-100;VAR5:=CLOSE-LOW;VAR6:=HIGH-LOW;VAR7:=CLOSE-HIGH;VAR8:=IF(......
  • 通达信机构潜伏源码副图
    {股票指标}X_1:=1501230;X_2:=HHV(vol,5);X_3:=OPEN>CLOSE;X_4:=CLOSE>OPEN;X_5:=CLOSE=OPEN;X_6:=SUM(VOL,5)/X_2;X_7:=IF(X_6>0.3,1,0);X_8:=IF(X_3ANDX_7,VOL,0);X_9:=IF(X_4ANDX_7,VOL,0);X_10:=SUM(X_9,10);X_11:=ma(X_10,9)/50000000;X_12:=SUM......