以下是通达信副图公式指标公式大全源码和截图
通达信副图公式指标公式大全源码:
N:=46;P:=7;N1:=2;M:=79;
Var1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
Var2:=REF(Var1,1);
Var3:=SMA(MAX(Var1-Var2,0),P,1)/SMA(ABS(Var1-Var2),P,1)*100;
XX:=CLOSE;
X1:=(MA(XX,3)+MA(XX,5)+MA(XX,8)+MA(XX,13)+MA(XX,21))/5;
lo:=x1+5*SLOPE(x1,3);
bb:=Sma((lo-llv(lo,n))/(hhv(lo,n)-llv(lo,n))*100,3,1);
x:=If(CROSS(bb,10),5,0);
周月线共震:IF(if(x ref(x,1),-8,0),100,80),STICK,COLOR9933ff,LINETHICK7;80,STICK,COLOR000000,LINETHICK7;
和谐共震:IF(COUNT(Var3 20,N1) =1ANDCOUNT(Var1=LLV(Var1,M),M) =1ANDCLOSE OPENANDREF(CLOSE,1) REF(OPEN,1)ANDVOL REF(VOL,1),70,0),stick,linethick3,colorred;
bb,,linethick1,coloryellow;
8.8,POINTDOT;
jx:0.678,POINTDOT,COLORFFFF00;
83,POINTDOT;
95,POINTDOT;
MA13:=MA(C,13);MA34:=MA(C,34);MA55:=MA(C,55);YY1:=O MA13ANDC MA13;YY2:=O MA34ANDC MA34;YY3:=O MA55ANDC MA55;YY4:=C/O =1.04;YY5:=V HHV(H,10);YY6:=MA13 =REF(MA13,1);VARQ0:=1.04;MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);MA120:=MA(CLOSE,120);MA250:=MA(CLOSE,250);VARQ5:=MA(CLOSE,13);VARQ6:=MA(CLOSE,34);VARQ7:=MA(CLOSE,55);VARQ15:=OPEN VARQ5ANDCLOSE VARQ5;VARQ16:=OPEN VARQ6ANDCLOSE VARQ6;VARQ17:=OPEN VARQ7ANDCLOSE VARQ7;VARQ18:=CLOSE/OPEN =VARQ0;VARQ19:=VOL HHV(HIGH,10);VARQ20:=VARQ5 =REF(VARQ5,1);VARQ21:=VARQ15ANDVARQ16ANDVARQ17ANDVARQ18ANDVARQ19ANDVARQ20;VARQ24:=BARSLAST(VARQ21 0) 25ANDCLOSE MA10;VARQ25:=FILTER(VARQ24,25-BARSLAST(VARQ21 VARQ27:=(OPEN+CLOSE)/2;VARQ29:=CLOSE=HHV(CLOSE,13);VARQ30:=BARSLAST(FILTER(CROSS(0.8,VARQ29),2))+1;VARQ33:=CLOSE=LLV(CLOSE,13);VARQ34:=BARSLAST(FILTER(CROSS(0.8,VARQ33),2))+1;VARQ37:=IF(CLOSE/REF(CLOSE,1) =1.099,1,0);ZT:=C/REF(C,1) 1.099ANDC=H;A1:=MA5 LANDMA5 A2:=MA60 LANDMA60 A3:=MA120 LANDMA120 A4:=A1ORA2ORA3;昨日涨幅:=(REF(C,1)/REF(C,(2))) 1.09;主升浪:=ZTANDMA5 MA120ANDC MA5AND昨日涨幅;:=ZTAND(CROSS(MA5,MA60)ORCROSS(MA5,MA120))AND昨日涨幅;击穿均线:=ZTANDA4AND昨日涨幅;海底捞月:=ZTANDC MA5AND昨日涨幅;鱼跃龙门:=CROSS(C,MA120)ANDZTANDMA5 MA60AND(CROSS(MA5,MA60)ORCROSS(MA5,MA120))AND昨日涨幅;半年线:=CROSS(C,MA120)ANDZTAND昨日涨幅;一阳洞穿:=REF(C,1) MA5ANDREF(C,1) MA20ANDREF(C,1) MA30ANDREF(C,1) MA60ANDC MA5ANDC MA20ANDC MA30ANDC MA60ANDZTAND昨日涨幅;旱地拔葱:=ZTANDMA120 MA5ANDMA5 MA60ANDOPEN MA120ANDCLOSE MA120AND昨日涨幅;超跌反攻:=ZTANDC MA5ANDMA120/MA5 1.15AND昨日涨幅;:=ZTANDREF(MA5,1)/REF(C,1) 1ANDC/MA5 1AND昨日涨幅;AA:=REF(EVERY((C/REF(C,1) 1.099ANDO=CANDH=L),3),1);BB:=O/REF(C,1) 1.099ANDH=OANDL CC:=BARSCOUNT(C) 打开一字:=AAANDBBANDCC;A5:=HHV(H,30);A6:=CROSS(C,REF(A5,1));DDT:=MA5 MA10ANDMA10 MA30ANDMA30 MA60;CDT:=MA30 MA60ANDMA60 MA120ANDMA120 MA250;PC:=NOT(NAMELIKE('S')ORNAMELIKE('*S'))ANDDYNAINFO(17) =2ANDCAPITAL =8000000;{非ST}T1:=MA30 MA5ANDMA30 MA10ANDMA60 MA5ANDMA60 MA10;T2:=CROSS(C,MA30)ANDCROSS(C,MA60);T3:=MA120 MA60ANDMA120 MA30ANDMA120 MA10ANDMA120 T4:=MA250 MA120ANDMA250 MA60ANDMA250 MA30ANDMA250 MA10ANDMA250 TP1:=T1ANDT2ANDPCANDC MA250ANDC MA120;TP2:=CDTANDPCANDCROSS(C,MA5)ANDCROSS(C,MA10)ANDC MA30;TP3:=T3ANDCROSS(C,MA120)ANDPCORT4ANDCROSS(C,MA250)ANDPC;TP4:=DDTANDCDTANDPCANDA2;ZF:=C OANDC/REF(C,1) =1.05;TP5:=EXIST(CROSS(MA10,MA5),10)ANDCROSS(C,MA5)ANDCROSS(C,MA10)ANDZF;起爆:=TP1ANDZFORTP2ANDZFORTP3ANDZFORTP5ANDCDT;跳空高开:=ZTANDOPEN MA5ANDLOW/REF(CLOSE,1) 1ANDOPEN/REF(CLOSE,1) 1ANDO CAND昨日涨幅;天天:=(YY1ANDYY2ANDYY3ANDYY4ANDYY5ANDYY6)OR跳空高开OR短线起爆OR打开一字OR反转OR超跌反攻OR旱地拔葱OR一阳洞穿OR突破半年线OR鱼跃龙门OR海底捞月OR击穿均线OR均线金叉OR主升浪;STICKLINE(天天涨停,58,55,14,0),COLORYELLOW;STICKLINE(天天涨停,57,56,12,0),COLORCYAN;STICKLINE(天天涨停,45,48,4,0),COLORWHITE;STICKLINE(天天涨停,53,50,9,0),COLOR0088DD;STICKLINE(天天涨停,55,48,6,0),COLORLIRED;STICKLINE(天天涨停,53,53,5,0),COLOR000000;STICKLINE(天天涨停,52,52,3,0),COLOR000000;STICKLINE(天天涨停,53,50,2,0),COLOR0077EE;STICKLINE(天天涨停,53,50,1,0),COLOR0077EE;STICKLINE(天天涨停,60,55,7,0),COLORRED;STICKLINE(天天涨停,60,63,4,0),COLORRED;财神送宝:IF(天天涨停,58,DRAWNULL),LINETHICK4,POINTDOT,COLORGREEN;STICKLINE(天天涨停,20,17,16,0),COLORWHITE;STICKLINE(天天涨停,22,20,12,0),COLORYELLOW;STICKLINE(天天涨停,22,17,5,0),COLORBLACK;STICKLINE(天天涨停,33,22,13,0),COLORRED;STICKLINE(天天涨停,46,42,18,0),COLORMAGENTA;STICKLINE(天天涨停,46,31,16,0),COLORRED;STICKLINE(天天涨停,41,31,12,0),COLORBROWN;STICKLINE(天天涨停,41,31,11,0),COLORRED;STICKLINE(天天涨停,32,31,12,0),COLORYELLOW;STICKLINE(天天涨停,35,33,8,0),COLOR00AAFF;STICKLINE(天天涨停,49,49,1,0),COLOR0000EE;DRAWICON(天天涨停,38,9);DRAWICON(天天涨停,26,29);
通达信副图公式指标公式大全截图