首页 > 编程语言 >通达信黑马天龙出击指标公式源码

通达信黑马天龙出击指标公式源码

时间:2024-03-10 10:58:42浏览次数:31  
标签:天龙 AAA1 EMA HIGH 通达信 源码 LOW CLOSE REF

{ 通达信黑马天龙出击指标公式源码 }

A18:=(EMA(CLOSE,2));
A19:=(EMA((((SLOPE(CLOSE,21))*20)+CLOSE),42));
A20:=(HHV((MA(HIGH,13)),13));
A21:=(LLV((MA(HIGH,13)),1));
A22:=(EMA(CLOSE,4));
A23:=((((A18>=A19) AND (A21=A20)) AND (A18>A22)) AND (CLOSE>A21)) AND ((REF(A21,1))<(REF(A20,1)));
A24:=BArslAST(A23)+1;
A25:=(LLV(LOW,A24))*1.3;
A26:=(LLV(LOW,20))*1.418;
A27:=(((((A18>=A19) AND (A21=A20)) AND ((CLOSE/(REF(CLOSE,1)))>=1.07)) AND (A24<=30)) AND (CLOSE<=A25)) AND (CLOSE<=A26);
A28:=A27 AND (FILTER(A27,A24));
A30:=((((((A18>=A19) AND (A21=A20)) AND ((CLOSE/(REF(CLOSE,1)))>=1.035)) AND (A24<=30)) AND (CLOSE<=A25)) AND (CLOSE<=A26)) ;
A31:=A30 AND (FILTER(A30,20));
黑马:A28 OR A31,LINETHICK2;
DIF1:=EMA(C,12)-EMA(C,26);
DEA1:=EMA(DIF1,9);
AAA1:=(DIF1-DEA1)*2*60;
AAA上:=IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL);
AAA下:=IF(AAA1<ref(aaa1,1),aaa1,drawnull);
黑马线:=15;
主力:=AAA1-REF(AAA1,1),COLORRED;
天龙出击:(crOSS(主力,黑马线) AND AAA上>0)*1.5;
LC:=REF(CLOSE,1);
rsi5:=SMA(MAX((CLOSE-LC),0),5,1)/SMA(Abs((CLOSE-LC)),5,1)*100;
TR1:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-REF(CLOSE,1)))),10);
HD:=(HIGH-REF(HIGH,1));
LD:=(REF(LOW,1)-LOW);
DMP:=SUM(IF(((HD>0) AND (HD>LD)),HD,0),10);
DMM:=SUM(IF(((LD>0) AND (LD>HD)),LD,0),10);
pdi:=DMP*100/TR1;
mdi:=DMM*100/TR1;
ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,5);
AV:=(RSI5+ADX);
wr10:=((100*(HHV(HIGH,10)-CLOSE))/(HHV(HIGH,10)-LLV(LOW,10)));
NEWvol:=(RSI5-WR10);
回调买:=(AV+NEWVOL);
回调买买:(CROSS(回调买,0))*0.5,LINETHICK2;

 

标签:天龙,AAA1,EMA,HIGH,通达信,源码,LOW,CLOSE,REF
From: https://www.cnblogs.com/zhibiao/p/18063823

相关文章

  • 通达信筹码资金动态指标公式源码
    {通达信筹码资金动态指标公式源码}XA_1:=COST(0.1);XA_2:=COST(99.900002);XA_3:=(XA_2-XA_1)/10;资金一:(WINNER(XA_1+XA_3)-WINNER(XA_1))*100;资金二:(WINNER(XA_1+XA_3*2)-WINNER(XA_1+XA_3))*100;资金三:(WINNER(XA_1+XA_3*3)-WINNER(XA_1+XA_3*2))*100;资金四:(WI......
  • 通达信大力水手主图指标公式源码
    {通达信大力水手主图指标公式源码}上趋势:MA(LOW,20)*1.2,COLORMAGENTA;次上趋势:MA(LOW,20)*1.1,COLORYELLOW;次下趋势:MA(HIGH,20)*0.9,COLORWHITE;下趋势:MA(HIGH,20)*0.8,COLORGREEN;ZD:=(C-REF(C,1))/REF(C,1)*100;HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));趋势......
  • 通达信黄金启动副图指标公式源码
    {通达信黄金启动副图指标公式源码}启动买入:=DYNAINFO(4)>0ANDHHV(HIGH,10)/LLV(LOW,10)<1.25ANDREF(CLOSE,1)<(LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85)ANDCLOSE>OPENANDCLOSE>=HHV(HIGH,10);AA:=EMA(C,5),COLORBLUE;BB:=EMA(C,10),COLORBLUE;CC:=EMA(C,......
  • 通达信五彩MACD副图 副图指标源码
    {通达信五彩MACD副图副图指标源码}DIFF:EMA(CLOSE,12)-EMA(CLOSE,29);DEA:EMA(DIFF,9);MACD:=2*(DIFF-DEA);STICKLINE(MACD>=0,MACD,0,4,1),COLORF00FF0;STICKLINE(MACD<0,MACD,0,4,1),COLORWHITE;STICKLINE(MACD<ref(macd,1)andmacd="">0,0,MACD,4,0),......
  • 通达信主升突破指标公式源码
    {通达信主升突破指标公式源码}MA线:=MA(CLOSE,3.1415926535*MA(C,5));STICKLINE(CLOSE>=OPENANDCLOSE>=MA线,OPEN,CLOSE,2,0),COLOR000077;STICKLINE(CLOSE>=OPENANDCLOSE>=MA线,H,L,0,0),COLOR000077;STICKLINE(OPEN>CLOSEANDCLOSE>=MA线,OPEN,CLOSE,2,0),COLO......
  • 通达信移动筹码三合一主图指标公式源码
    {通达信移动筹码三合一主图指标公式源码}HB:=COST(99.9);LB:=COST(0.1);B3:=(HB-LB)/50;B31:=HB-B3;B32:=HB-2*B3;B33:=HB-3*B3;B34:=HB-4*B3;B35:=HB-5*B3;B36:=HB-6*B3;B37:=HB-7*B3;B38:=HB-8*B3;B39:=HB-9*B3;B310:=HB-10*B3;B311:=HB-11*B3;B312:=HB-12*B3......
  • 通达信涨停阴阳绝杀主图指标公式源码
    {通达信涨停阴阳绝杀主图指标公式源码}DRAWGBK(C>0,RGB(20,10,60),RGB(350,60,150),0,'1',0);DRAWKLINE(H,O,L,C);涨停:=IF((C-REF(C,1))/REF(C,1)>0.097,1,0);STICKLINE(涨停,OPEN,CLOSE,3,0),COLORMAGENTA;BL:=MA(CLOSE,10);UB:=BL+2*STD(CLOSE,10);LB:=BL-2*STD(CLO......
  • 通达信红牛起爆主图指标公式
    {通达信红牛起爆主图指标公式}A:=(3*C+L+O+H)/6;X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(......
  • 通达信股市抄底密码指标公式知
    {通达信股市抄底密码指标公式知}去ST:=NAMELIKE('ST')=0ANDNAMELIKE('*ST')=0ANDNAMELIKE('SST')=0ANDNAMELIKE('S*ST')=0;去除创业板:=IF(CODELIKE('300'),0,1);去除科创板:=IF(CODELIKE('688'),0,1);去除北交所:=IF(CODELIKE(&#......
  • 通达信强烈反转主图指标公式源码
    {通达信强烈反转主图指标公式源码}N1:=20;N2:=60;VAR1:=(LOW+HIGH+CLOSE)/3;X:MA(VAR1,5);A1:HHV(X,N1)COLORMAGENTA;A2:HHV(X,N2),COLORGREEN;A3:HHV(HIGH,N2)*0.98,COLOR0000FF;B1:LLV(X,N1);B2:LLV(LOW,N2)*1.02;DRAWICON(X>B1ANDREF(X,1)=REF(B1,1),B1*0......