终极买点选股通达信指标公式源码

合集下载

通达信成功率高的选股指标公式

通达信成功率高的选股指标公式

通达信成功率高的选股指标公式代码集{逆势买入}Var1b:=DMA(CLOSE,VOL/MA(VOL,4)/4);Var2b:=DMA(CLOSE,VOL/MA(VOL,32)/32);Var3b:=(CLOSE-Var1b)/Var1b*100<-8;Var4b:=(Var1b-Var2b)/Var2b*100<-21;逆势买入:if(V ar3b AND Var4b AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05,45,0),stick,linethick3,col orf00ff0;drawtext(逆势买入,40,'逆势买入'),colorf0f000;============================{龙战四海:99%成功率,选股条件:龙战四海=65}Var1c:=REF(OPEN,1)<REF(OPEN,2);Var2c:=REF(CLOSE,1)<REF(CLOSE,2);Var3c:=REF(LOW,1)<REF(LOW,2);Var4c:=OPEN>REF(CLOSE,1) AND OPEN/REF(CLOSE,1)>=1.03; Var5c:=CLOSE>OPEN AND CLOSE/OPEN>1.03;Var6c:=Var1c AND Var2c AND Var3c AND Var4c AND Var5c;Var7c:=CLOSE/MA(CLOSE,3)>=1.07 AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);Var8c:=REF(CLOSE,1);Var9c:=SMA(MAX(CLOSE-Var8c,0),5,1)/SMA(ABS(CLOSE-Var8c),5, 1)*100;VarA:=COUNT(Var9c<20,20)>=1;VarB:=Var7c AND VarA;龙战四海:if(VarB AND Var6c,65,0),colorf0f000;drawtext(龙战四海,55,'龙战四海'),colorf00ff0;{股价经历了相当长一段时间下跌后,做空能量逐渐消耗。

通达信指标公式源码极致贪婪 抄底指标 胜率80+ 副图选股 贴图 不飘移

通达信指标公式源码极致贪婪 抄底指标 胜率80+ 副图选股 贴图 不飘移

X_1:=100;X_2:=DMA(CLOSE,VOL/MA(VOL,4)/4);X_3:=DMA(CLOSE,VOL/MA(VOL,33)/33);X_4:=(CLOSE-X_2)/X_2*100<(-11)/X_1*100;X_5:=(X_2-X_3)/X_3*100<(-22.299999)/X_1*100;X_66:=(REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF(CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7));X_6:=X_4 AND X_5 AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>(-0.07) AND(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND (REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) ANDX_66;{好}X_7:=DMA(CLOSE,VOL/MA(VOL,3)/3);X_8:=DMA(CLOSE,VOL/MA(VOL,33)/33);X_9:=(CLOSE-X_7)/X_7*100<(-5);X_10:=(X_7-X_8)/X_8*100<(-18);X_11:=(INDEXC-LLV(INDEXL,250))/(HHV(INDEXH,250)-LLV(INDEXL,250))*10 0;X_12:=SMA(X_11,30,1);X_13:=SMA(X_12,50,1);X_14:=X_9 AND X_10 AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>(-0.05) AND(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));X_15:=X_14 AND COUNT(X_14,2)=1;X_16:=CLOSE/MA(CLOSE,30)*100<75;X_17:=CLOSE/MA(CLOSE,50)*100<78;X_18:=HIGH>LOW*1.053;X_19:=X_18 AND COUNT(X_18,5)>2;X_20:=X_19 AND (X_16 OR X_17);X_21:=DMA(EMA(CLOSE,5),SUM(VOL,8)/2.8/CAPITAL);X_22:=(CLOSE-X_21)/X_21*100;X_23:=REF(X_22,1)<(-34) AND X_22>REF(X_22,1) ANDREF(X_22,1)<REF(X_22,2) AND X_22-REF(X_22,1)>1.76 OR X_20;X_24:=IF(NAMELIKE(1) OR NAMELIKE(2),0,1);X_25:=DYNAINFO(4)>0;X_26:=X_24 AND X_25;X_27:=X_23 AND (X_6 OR X_15) AND CLOSE>DTPRICE(REF(CLOSE,1),0.1); X_28:=REF(X_23 AND (X_6 OR X_15),1) ANDREF(CLOSE,1)<=DTPRICE(REF(CLOSE,2),0.1) ANDCLOSE>DTPRICE(REF(CLOSE,1),0.1);X_29:=X_27 OR X_28 AND X_26;极致贪婪:X_29 AND COUNT(X_29,3)=1 AND LOW<=LLV(LOW,5) AND CLOSE/LOW<1.02 AND CLOSE/REF(CLOSE,1)<1 AND HIGH/OPEN<1.02 AND COUNT(CLOSE/REF(CLOSE,1)<=0.93,10)>0,COLORCYAN;STICKLINE(极致贪婪,0,50,1,0),COLORCYAN;明日涨停价:ZTPRICE(CLOSE,0.1),NODRAW,COLORWHITE;获利盘:WINNER(CLOSE)*100,NODRAW,COLORLIRED;。

终极买点通达信指标公式源码

终极买点通达信指标公式源码

TDXSTEP142:DRAWGBK(CURRBARSCOUNT=1,RGB(110,108,108),RGB(88,30,0),0,1,0),C OLORYELLOW,LINETHICK2;MA5:=MA(CLOSE,7);MA20:=MA(CLOSE,20);MA90:=MA(CLOSE,90);Y1:=BARSLAST(CROSS(MA5,MA20));Y2:=Y1 AND BARSLAST(CROSS(MA5,MA90));大涨开始:=CROSS(MA20,MA90);多:=MA20>MA90;多盈:=(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*1+XMA(XMA(HIGH,25),25); HH:=(20*HIGH+19*REF(HIGH,1)+18*REF(HIGH,2)+17*REF(HIGH,3)+16*REF(HIGH,4) +15*REF(HIGH,5)+14*REF(HIGH,6)+13*REF(HIGH,7)+12*REF(HIGH,8)+11*REF(HIGH, 9)+10*REF(HIGH,10)+9*REF(HIGH,11)+8*REF(HIGH,12)+7*REF(HIGH,13)+6*REF(HIG H,14)+5*REF(HIGH,15)+4*REF(HIGH,16)+3*REF(HIGH,17)+2*REF(HIGH,18)+REF(HIG H,20))/210;LL:=(20*LOW+19*REF(LOW,1)+18*REF(LOW,2)+17*REF(LOW,3)+16*REF(LOW,4)+15* REF(LOW,5)+14*REF(LOW,6)+13*REF(LOW,7)+12*REF(LOW,8)+11*REF(LOW,9)+10*RE F(LOW,10)+9*REF(LOW,11)+8*REF(LOW,12)+7*REF(LOW,13)+6*REF(LOW,14)+5*REF( LOW,15)+4*REF(LOW,16)+3*REF(LOW,17)+2*REF(LOW,18)+REF(LOW,20))/210;D90H:=EMA(HH,90);D90L:=EMA(LL,90);DGH:=(20*HIGH+19*REF(HIGH,1)+18*REF(HIGH,2)+17*REF(HIGH,3)+16*REF(HIGH,4 )+15*REF(HIGH,5)+14*REF(HIGH,6)+13*REF(HIGH,7)+12*REF(HIGH,8)+11*REF(HIGH ,9)+10*REF(HIGH,10)+9*REF(HIGH,11)+8*REF(HIGH,12)+7*REF(HIGH,13)+6*REF(HI GH,14)+5*REF(HIGH,15)+4*REF(HIGH,16)+3*REF(HIGH,17)+2*REF(HIGH,18)+REF(HI GH,20))/210;DDL:=(20*LOW+19*REF(LOW,1)+18*REF(LOW,2)+17*REF(LOW,3)+16*REF(LOW,4)+15*REF(LOW,5)+14*REF(LOW,6)+13*REF(LOW,7)+12*REF(LOW,8)+11*REF(LOW,9)+10*R EF(LOW,10)+9*REF(LOW,11)+8*REF(LOW,12)+7*REF(LOW,13)+6*REF(LOW,14)+5*REF (LOW,15)+4*REF(LOW,16)+3*REF(LOW,17)+2*REF(LOW,18)+REF(LOW,20))/210;D90C:=D90H-D90L;D90D:=D90H+D90C*2;D90T:=D90L-D90C*2;G0:=(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*1+XMA(XMA(HIGH,25),25);D0:=XMA(XMA(LOW,25),25)-(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*1; DTD:=D0>=D90T AND G0>=D90D;KTD:=G0<=D90D AND D0<=D90T;ZDD:=D0>=D90T AND G0<=D90D;BDD0:=(XMA(XMA(HIGH,60),60)-XMA(XMA(LOW,60),60))*3+XMA(XMA(HIGH,60),60); BDT0:=XMA(XMA(LOW,60),60)-(XMA(XMA(HIGH,60),60)-XMA(XMA(LOW,60),60))*3;空盈:=XMA(XMA(LOW,25),25)-(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*1; HD:=DRAWLINE(HIGH>=HHV(HIGH,20),HIGH,LOW<=LLV(LOW,20),HHV(HIGH,4),1); HK:=DRAWLINE(LOW<=LLV(LOW,20),LOW,HIGH>=HHV(HIGH,20),LLV(LOW,4),1); BSB:=EMA((CLOSE+HIGH+LOW)/3,3);BSM:=EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48);白色点多定位1:=LOW<空盈AND HIGH>空盈;白色点空定位1:=HIGH>多盈AND LOW<多盈;白色点多定位2:=HIGH<空盈;白色点空定位2:=LOW>多盈;多头多定位:=CROSS(空盈,LOW) AND DTD=1;多头平定位:=CROSS(HIGH,多盈) AND DTD=1 AND ZDD=0;空头空定位:=CROSS(HIGH,多盈) AND KTD=1;空头平定位:=CROSS(空盈,LOW) AND KTD=1 AND ZDD=0;震荡多定位:=CROSS(空盈,LOW) AND ZDD=1;震荡空定位:=CROSS(HIGH,多盈) AND ZDD=1;短顶:=(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*2+XMA(XMA(HIGH,25),25);短底:=XMA(XMA(LOW,25),25)-(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*2;短线高盘:=(HIGH-短底)/(短顶-短底)*100000;短线低盘:=(LOW-短底)/(短顶-短底)*100000;空损Q:=110000;多损Q:=(-10000);MM1:=空头平定位=1;MM2:=多头多定位=1 OR 震荡多定位=1;MM3:=白色点多定位2=1;冠买:=MM1 OR MM2 OR MM3;冠买点:=冠买AND Y2 AND MA90<MA20;加强:=COUNT(冠买点,20)>=2 AND 冠买;高级买点:COUNT(冠买点,20)>=2 AND 冠买AND 空盈>HIGH,COLORYELLOW,LINETHICK3;超级买点:COUNT(冠买点,20)>3 AND 冠买AND 空盈>HIGH,COLORMAGENTA,LINETHICK3;终极买点:MA5>MA20 AND 冠买,COLORRED,LINETHICK3;。

通达信买点狙击副图 选股源码指标公式

通达信买点狙击副图 选股源码指标公式
VAR10:=SMA(MAX(CLOSE-VAR8,0),10,1)/SMA(ABS(CLOSE-VAR8),10,1)*125;
VAR11:=MA(CLOSE,10);
VAR12:=MA(CLOSE,20);
VAR13:=VAR9<80 AND VAR10<78 AND SUM(VOL/CAPITAL,10)*125>=10 AND CLOSE/LLV(CLOSE,120)<=1.2 AND (CLOSE-LLV(CLOSE,15))/LLV(CLOSE,15)>=0.12 AND CLOSE/OPEN>1.02 AND VAR11>VAR12;
VAR2:=REF(CLOSE,1);
VAR3:=SMA(MAX(CLOSE-VAR2,0),6,1)/SMA(ABS(CLOSE-VAR2),6,1)*100;
VAR4:=COUNT(VAR3<M,20)>=1;
VAR5:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100);
低位狙击:VAR1>9 AND VAR4 OR VAR7 OR VAR13,COLORRED;
VAR14:=EXIST(低位狙击,6) AND BARSCOUNT(低位狙击)>=8 AND C/REF(L,2)<0.97 AND NOT(C>O);
VAR15:=FILTER(VAR14,10);
补仓救援:IF(VAR15,0.6,0),COLORBBBBBB;
分享源码绝对无未来的指标过去一年的k线图供大家参考出票不多个个稳赢第一点买不上还有补仓点详情看下面图示好指标用来分享的大家同赚var1

通达信经典指标及选股公式(源码)

通达信经典指标及选股公式(源码)

通达信经典指标及选股公式(源码)H1:=EMA(C,8);H2:=EMA(H1,20);VR1:=(HHV(H,36)-C)/(HHV(H,36)-LLV(L,36))*100;VR2:=SMA(VR1,5,1);VR3:=SMA(VR2,8,1);VAR4:=CROSS(VR2,VR3) AND VR3< 20;VAR5:=C>LLV(C,60)*1.13 AND VAR4;VAR6:=IF(C>200,VAR4,VAR5);HH2:=XMA(CLOSE,14);HH3:=MEMA(CLOSE,4);AA2:=MA(CLOSE,8);BB2:=(CLOSE-AA2)/AA2*10,COLORYELLOW;FF1:=MA(BB2,3),COLORGREEN;DRAWTEXT(CROSS(BB2,FF1) AND REF(HH2>HH3,1) AND REF(HH2>HH3,2) AND REF(HH2<HH3,3) AND HH2>HH3,4,'庄现'),COLORWHITE;T:=DMA((MA(L,4)+MA(L,6)+MA(L,12)+MA(L,24))/4,0.966);U:=T+2*STD(L,20);LO:=T-2*STD(L,20);S:=((U+T)/2-L)/L>0.3 AND ABS(L-LO)/L<0.3 AND L<T;CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;YJD:=(EMA(CS,3)-50)*2,COLORRED;AA:=REF(CLOSE,1);BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(ABS(CLOSE-AA),5,1)*1000;HHH:=BBB-LLV(BBB,10);SS:=(MA(HHH,2)*3+HHH*13)/16;短线买点:=IF(SS>13,MA(SS,2),SS);短J5:="KDJ.J"(5,3,3),COLORGRAY;VAR1A:=(2*CLOSE+HIGH+LOW)/4;VAR4A:=(HHV(HIGH,4)-VAR1A)/(HHV(HIGH,4)-LLV(LOW,4))*100-72;VAR5A:=(VAR1A-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;VAR6A:=SMA(VAR5A,2,1);RSV1:=(HHV(H,9.8)-C)/(HHV(H,9.8)-LLV(L,9.8))*101;KK:=SMA(RSV1,3,1);DD:=SMA(KK,3,1);JJ:=3*KK-2*DD;WWQQ:=IF(JJ>=100,100,IF(JJ<=0,0,JJ));加分:=WWQQ,COLORWHITE,LINETHICK1;加分反弹:=CROSS(99,加分);短线买点反弹:=CROSS(短线买点,21),COLORYELLOW;短J5反弹:=CROSS(短J5,0),COLORBLUE;YJD反弹:=CROSS(YJD,-80),COLORGREEN;VAR1:=REF(CLOSE,1);VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100,COLORYELLOW;买入:=FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5);任意反弹:=(短线买点反弹 OR 短J5反弹 OR YJD反弹 OR 加分反弹) AND 买入 AND C>O;STICKLINE(任意反弹,0,3,3,0),COLORRED;选股公式:H1:=EMA(C,8);H2:=EMA(H1,20);VR1:=(HHV(H,36)-C)/(HHV(H,36)-LLV(L,36))*100;VR2:=SMA(VR1,5,1);VAR4:=CROSS(VR2,VR3) AND VR3< 20;VAR5:=C>LLV(C,60)*1.13 AND VAR4;VAR6:=IF(C>200,VAR4,VAR5);HH2:=XMA(CLOSE,14);HH3:=MEMA(CLOSE,4);AA2:=MA(CLOSE,8);BB2:=(CLOSE-AA2)/AA2*10,COLORYELLOW;FF1:=MA(BB2,3),COLORGREEN;T:=DMA((MA(L,4)+MA(L,6)+MA(L,12)+MA(L,24))/4,0.966);U:=T+2*STD(L,20);LO:=T-2*STD(L,20);S:=((U+T)/2-L)/L>0.3 AND ABS(L-LO)/L<0.3 AND L<T;CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;YJD:=(EMA(CS,3)-50)*2,COLORRED;AA:=REF(CLOSE,1);BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(ABS(CLOSE-AA),5,1)*1000;HHH:=BBB-LLV(BBB,10);SS:=(MA(HHH,2)*3+HHH*13)/16;短线买点:=IF(SS>13,MA(SS,2),SS);短J5:="KDJ.J"(5,3,3),COLORGRAY;VAR1A:=(2*CLOSE+HIGH+LOW)/4;VAR4A:=(HHV(HIGH,4)-VAR1A)/(HHV(HIGH,4)-LLV(LOW,4))*100-72;VAR5A:=(VAR1A-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;VAR6A:=SMA(VAR5A,2,1);RSV1:=(HHV(H,9.8)-C)/(HHV(H,9.8)-LLV(L,9.8))*101;KK:=SMA(RSV1,3,1);JJ:=3*KK-2*DD;WWQQ:=IF(JJ>=100,100,IF(JJ<=0,0,JJ));加分:=WWQQ,COLORWHITE,LINETHICK1;加分反弹:=CROSS(99,加分);短线买点反弹:=CROSS(短线买点,21),COLORYELLOW;短J5反弹:=CROSS(短J5,0),COLORBLUE;YJD反弹:=CROSS(YJD,-80),COLORGREEN;XG1:=CROSS(BB2,FF1) AND REF(HH2>HH3,1) AND REF(HH2>HH3,2) AND REF(HH2<HH3,3) AND HH2>HH3;XG2:=(短线买点反弹 OR 短J5反弹 OR YJD反弹 OR 加分反弹);VAR1:=REF(CLOSE,1);VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100,COLORYELLOW;买入:=FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5);XG1 AND XG2 AND 买入 AND C>O;。

最精准的买点通达信指标公式源码

最精准的买点通达信指标公式源码

当出现黄柱的买点时可以关注AAA:=(3*C+H+L+O)/6;VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(A AA,5)+2*REF(AAA,6)+REF(AAA,8))/36;VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;短线:=VAR1,COLORMAGENTA,LINETHICK2;中线:=VAR6,COLORCYAN,LINETHICK2;长线:=EMA(((SLOPE(CLOSE,21) * 20) +CLOSE),42),LINETHICK2,NODRAW,COLORGREEN;{持股持币彩色K线}EMA2:=EMA(CLOSE,2);BBUY:=CROSS(EMA2,长线);SEL:=CROSS(长线,EMA2);STICKLINE((EMA2 >= 长线),LOW,HIGH,0.4,0),COLOR0000FF;STICKLINE((EMA2 >= 长线),CLOSE,OPEN,3,1),COLOR000077;STICKLINE((EMA2 >= 长线),CLOSE,OPEN,2.6,1),COLOR000099;STICKLINE((EMA2 >= 长线),CLOSE,OPEN,2,1),COLOR0000BB;STICKLINE((EMA2 >= 长线),CLOSE,OPEN,1.3,1),COLOR0000DD;STICKLINE((EMA2 >= 长线),CLOSE,OPEN,0.4,1),COLOR0000FF;STICKLINE((EMA2 < 长线),LOW,HIGH,0.4,0),COLORFFFF00;STICKLINE((EMA2 < 长线),CLOSE,OPEN,3,1),COLOR777700;STICKLINE((EMA2 < 长线),CLOSE,OPEN,2.6,1),COLOR999900;STICKLINE((EMA2 < 长线),CLOSE,OPEN,2,1),COLORBBBB00;STICKLINE((EMA2 < 长线),CLOSE,OPEN,1.3,1),COLORDDDD00;STICKLINE((EMA2 < 长线),CLOSE,OPEN,0.4,1),COLORFFFF00;STICKLINE((CROSS(EMA2,长线) OR CROSS(长线,EMA2)),OPEN,CLOSE,5,0),COLOR0055FF;STICKLINE((CROSS(EMA2,长线) OR CROSS(长线,EMA2)),OPEN,CLOSE,4.2,0),COLOR0077FF;STICKLINE((CROSS(EMA2,长线) OR CROSS(长线,EMA2)),OPEN,CLOSE,3,0),COLOR0099FF;STICKLINE((CROSS(EMA2,长线) OR CROSS(长线,EMA2)),OPEN,CLOSE,2.2,0),COLOR00BBFF;STICKLINE((CROSS(EMA2,长线) OR CROSS(长线,EMA2)),OPEN,CLOSE,1.5,0),COLOR00DDFF;STICKLINE((CROSS(EMA2,长线) OR CROSS(长线,EMA2)),OPEN,CLOSE,0.4,0),COLOR00FFFF;VAR3TD:=100-3*SMA((CLOSE-LLV(LOW,42))/(HHV(HIGH,42)-LLV(LOW,42))*100,20,1)+ 2*SMA(SMA((CLOSE-LLV(LOW,42))/(HHV(HIGH,42)-LLV(LOW,42))*100,20,1),15,1); VAR4TD:=100-3*SMA((OPEN-LLV(LOW,42))/(HHV(HIGH,42)-LLV(LOW,42))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,42))/(HHV(HIGH,42)-LLV(LOW,42))*100,20,1),15,1); VAR2TD:=VAR3TD<REF(VAR4TD,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(VAR2TD AND COUNT(VAR2TD,30)=1,L,'大资金进场'),COLORFF00FF;VAR3AA:=IF((CLOSE>REF(CLOSE,1)),78,0);VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);DRAWTEXT(FILTER((VAR4AA>90),45),(LOW),'★大胆搏'),COLOR00FFFF; DRAWTEXT(CROSS(EMA(((SLOPE(CLOSE,40)*20)+CLOSE),20),EMA(CLOSE,3)),(HIGH * 1.05),'卖'),LINETHICK3,COLORFFFFFF;。

通达信绝密买点主图指标公式

通达信绝密买点主图指标公式

通达信绝密买点主图指标公式A81:=EMA(C,3),COLORWHITE;A82:=EMA(C,5),COLORYELLOW;A83:=EMA(C,7),COLORMAGENTA;A84:=EMA(C,12),COLORGREEN;A85:=EMA(C,20),COLORRED;A86:=EMA(C,50),COLORBLUE,LINETHICK2;SS8:=CROSS(A81,A85) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 ;SSS8:=CROSS(A81,A85) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018;DRAWICON(SS8 ,L-0.30,5);DRAWTEXT(SS8,L-0.38,'↖绝密买点'),COLORYELLOW;ZYX1:="DMI.PDI"(12,6);ZYX2:="DMI.MDI"(12,6);ZYX3:=ZYX1>65 AND ZYX1>REF(ZYX1,1);ZYX4:=LLV(ZYX1,0);ZYX5:=BARSLAST(ZYX4=ZYX1);ZYX6:=(0-REF(ZYX2,4))/(ZYX4-REF(ZYX2,ZYX5))>2;ZYX7:=ZYX1>REF(ZYX1,1);ZYX8:=VOL>2*MA(VOL,30);ZYX9:="DMI.ADX"(12,6);ZYXA:="DMI.ADXR"(12,6);ZYXB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;ZYXC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);ZYXD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BA RSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));{ZYXE:=0-"MACD.DIFF"(7,21,3);}ZYXF:=TROUGHBARS(3,15,1)<4;ZYX10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);ZYX11:=IF(ZYXF=1,50,0);ZYX12:=CROSS(ZYX2,ZYX1) AND CROSS(ZYXA,ZYX9);ZYX13:=CROSS(ZYX2,ZYX1) AND CROSS(ZYX9,ZYXA);ZYX14:=ZYXB AND ZYXC AND ZYXD AND ZYX10 AND ZYX6 AND ZYX7 AND ZYX8*50;ZYX15:=BARSLAST(CROSS(ZYX2,ZYX1)=1);ZYX16:=BARSLAST(CROSS(ZYX1,ZYX2)=1);ZYX17:=HHV(ZYX1,ZYX16);ZYX18:=BARSLAST(ZYX1=ZYX17);{STICKLINE(FILTER(ZYXF=1,5),50,0,10,0),COLORRED;}ZYX19:=ZYX3 OR ZYX12 OR ZYX13*100;ZYX1A:=ZYX13*100;DRAWICON(FILTER(ZYXF=1,3),L*0.96,23);DRAWTEXT(FILTER(ZYXF=1,3),L*0.94,'↖铁底'),COLORGREEN;HH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF (H,4)+15*REF(H,5)+14*REF(H,6)+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*R EF(H,11)+8*REF(H,12)+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*RE F(H,17)+2*REF(H,18)+REF(H,20))/210,COLORBLUE,LINETHICK1;LL:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4 )+15*REF(L,5)+14*REF(L,6)+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF (L,11)+8*REF(L,12)+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF( L,17)+2*REF(L,18)+REF(L,20))/210,COLORBLUE,LINETHICK1;GO0B:=(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3+XMA(XMA(H,60),60);DO0B:=XMA(XMA(L,60),60)-(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3;STICKLINE(1=1,GO0B,DO0B,5,0),COLOR222222;D90H:=EMA(HH,90),COLORRED,LINETHICK1;D90L:=EMA(LL,90),COLORRED,LINETHICK1;D90:(D90H+D90L)/2;DGH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*RE F(H,4)+15*REF(H,5)+14*REF(H,6)+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*R EF(H,11)+8*REF(H,12)+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*RE F(H,17)+2*REF(H,18)+REF(H,20))/210,COLORBLUE,LINETHICK1;DDL:=(20*L+19*RE F(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*RE F(L,6)+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF (L,11)+8*REF(L,12)+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF( L,17)+2*REF(L,18)+REF(L,20))/210,COLORBLUE,LINETHICK1;D90C:=D90H-D90L;G0:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))+XMA(XMA(H,25),25);D0:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25));GO0:=(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3+XMA(XMA(H,60),60);DO0:=XMA(XMA(L,60),60)-(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3;DTD:=(D0+G0)/2>=(D90H+D90L)/2;KTD:=(D0+G0)/2<(D90H+D90L)/2;YM:EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HI GH+LOW)/3,48),COLORWHITE,LINETHICK1;YM1:EMA(YM,5),COLORWHITE,LINETHICK1;YM2:EMA(YM1,5),COLORWHITE,LINETHICK1;YM3:EMA(YM2,5),COLORWHITE,LINETHICK1;D1:EMA(D90,10),COLORWHITE,LINETHICK1;D2:EMA(D1,10),COLORWHITE,LINETHICK1;IF(DTD=1,YM,DRAWNULL),LINETHICK1,COLORRED;IF(DTD=1,YM1,DRAWNULL),LINETHICK1,COLORRED;IF(DTD=1,YM2,DRAWNULL),LINETHICK1,COLORRED;IF(DTD=1,YM3,DRAWNULL),LINETHICK1,COLORRED;IF(KTD=1,YM,DRAWNULL),LINETHICK1,COLORGREEN;IF(KTD=1,YM1,DRAWNULL),LINETHICK1,COLORGREEN;IF(KTD=1,YM2,DRAWNULL),LINETHICK1,COLORGREEN;IF(KTD=1,YM3,DRAWNULL),LINETHICK1,COLORGREEN;IF(D90>D1,D90,DRAWNULL),LINETHICK1,COLORRED;IF(D90>D1,D1,DRAWNULL),LINETHICK1,COLORRED;IF(D90>D1,D2,DRAWNULL),LINETHICK1,COLORRED;DX:DRAWLINE(HIGH>=HHV(HIGH,20),HIGH,LOW<=LLV(LO W,20),HHV(HIGH,4),1),POINTDOT,COLORMAGENTA;KX:DRAWLINE(LOW<=LLV(LOW,20),LOW,HIGH>=HHV(HIG H,20),LLV(LOW,4),1),POINTDOT,COLORWHITE;STICKLINE(CURRBARSCOUNT=1,G0,G0,100,5),COLORYELLO W;STICKLINE(CURRBARSCOUNT=1,D0,D0,100,5),COLORYELLO W;STICKLINE(CURRBARSCOUNT=1,GO0,GO0,100,5),COLORMAGENTA;STICKLINE(CURRBARSCOUNT=1,DO0,DO0,100,5),COLORM AGENTA;DRAWTEXT(ISLASTBAR,G0,'卖'),COLORYELLOW;DRAWTEXT(ISLASTBAR,D0,'买'),COLORYELLOW;DRAWTEXT(ISLASTBAR,GO0,'顶'),COLORMAGENTA;DRAWTEXT(ISLASTBAR,DO0,'底'),COLORMAGENTA;CC:=((HIGH+LOW+CLOSE)/3-EMA((HIGH+LOW+CLOSE)/3,5))/(0.015*AVEDEV((HIGH+LOW+C LOSE)/3,5));STICKLINE(CC>=0,LOW,HIGH,0.0,0),COLORRED;STICKLINE(CC>=0,CLOSE,OPEN,3,1),COLORRED;STICKLINE(CC<0,LOW,HIGH,0.0,0),COLORGREEN;STICKLINE(CC<0,CLOSE,OPEN,3,1),COLORGREEN;大单动向:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7);涨跌动因:=IF(TRADENUM>0,(TRADEOUTNUM-TRADEINNUM)*100/TRADENUM,0);大单差分:=IF(TRADENUM>0,(LARGETRDINNUM-LARGETRDOUTNUM)/TRADENUM*100,0);DDZ1:=大单差分*7;DDZ2:=大单差分*3;主力活跃度:=LARGEINTRDVOL-LARGEOUTTRDVOL;主力净流入:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*AMO/V/10000;买入力度:=LARGEINTRDVOL*100/VOL;卖出力度:=LARGEOUTTRDVOL*100/VOL;超B:=L2_AMO(0,2)/10000.0;大B:=L2_AMO(1,2)/10000.0;中B:=L2_AMO(2,2)/10000.0;小B:=L2_AMO(3,2)/10000.0;超S:=L2_AMO(0,3)/10000.0;大S:=L2_AMO(1,3)/10000.0;中S:=L2_AMO(2,3)/10000.0;小S:=L2_AMO(3,3)/10000.0;资金流向:=(超B+大B+中B+小B)-(超S+大S+中S+小S);主力:=(超B+大B+中B)-(超S+大S+中S);机构:=(超B+大B)-(超S+大S);私募:=(大B+中B)-(大S+中S);散户:=(中B+小B)-(中S+小S);大单:=(大B)-(大S);中单:=(中B)-(中S);资金启动:=大单>0 AND 私募>0 AND 机构>0 AND 主力>0 AND 资金流向>0 AND 大单动向>0 AND 涨跌动因>0 AND DDZ1>0 AND DDZ2>0 AND 主力活跃度>0 AND 主力净流入>0 AND 买入力度>卖出力度;STICKLINE(资金启动=1,LOW,HIGH,0,0),COLORRED;STICKLINE(资金启动=1,CLOSE,OPEN,3,0),COLORRED;STICKLINE(L<D0 AND DTD=1 AND YM>YM1,L,D0,3,0),COLORMAGENTA;。

通达信指标公式源码绝密买卖点指标

通达信指标公式源码绝密买卖点指标

{买卖密码}JRH:=HHV(C,2);JRL:=LLV(C,2);MA3:=MA(CLOSE,3);YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;R1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));R2:=(REF(R1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R3:=(REF(R2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R4:=(REF(R3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R5:=(REF(R4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R6:=(REF(R5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R7:=(REF(R6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R8:=(REF(R7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R9:=(REF(R8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); RA:=(REF(R9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); RB:=(REF(RA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); RC:=(REF(RB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); RD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));RE:=(REF(RD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); RF:=(REF(RE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R10:=(REF(RF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R11:=(REF(R10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R12:=(REF(R11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R13:=(REF(R12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R14:=(REF(R13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R15:=(REF(R14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));R16:=(REF(R15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));R17:=(REF(R16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));R18:=(REF(R17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));R19:=REF(RD OR RE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,1) AND R1;R1A:=((REF(R1 OR R2 OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC,1)) AND RD);VAR3:=IF(C<200 ,MA(COST(80),3),2500),NODRAW;VAR4:=(((HIGH + LOW) + CLOSE) / 3);VAR55:=EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),2330);VAR66:=(VAR55 + ((VAR55 * 6) / 100));短买春:=R19,NODRAW,COLOR00DD00;秋离场:=R1A,NODRAW,COLOR2288EE;红持股:=R1 OR R2 OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC,NODRAW,COLOR0000FF;急速超跌关注:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORBBBBBB,NODRAW;Q1:=CONST(IF(短买春,0,IF(秋离场,150,IF(红持股,150,IF(急速超跌关注,150,100))))),NODRAW; Q2:=CONST(IF(短买春,80,IF(秋离场,100,IF(红持股,0,IF(急速超跌关注,150,100))))),NODRAW;Q3:=CONST(IF(短买春,0,IF(秋离场,20,IF(红持股,70,IF(急速超跌关注,150,100))))),NODRAW;DD1:=EMA((O+H+L)/3,4)COLORWHITE,NODRAW;DD2:=EMA(C+(H-L)*0.618,3)COLORYELLOW,NODRAW;密码1:DD2+(DD2-DD1)*0.618,NODRAW,COLORWHITE;{明卖}密码2:EMA((O+H+L)/3,4)+((H+L)/2-REF((O+H+L)/3,3))/4,NODRAW;{明买}密码3:=MA(REF(密码1,1),1)*1,COLORLIMAGENTA,NODRAW;{今卖}密码4:=REF(密码2,1),COLORLIMAGENTA,NODRAW;{今买}密码5:=MA(REF(DD2,1),1)*1,COLORLIMAGENTA,NODRAW;{今卖}密码6:=REF(DD1,1),COLORLIMAGENTA,NODRAW;{今买}{黄金买点:=EMA((O+H+L)/3,4)COLORWHITE,NODRAW;黄金卖点:=EMA(C+(H-L)*0.618,3)COLORYELLOW,NODRAW;预测明日卖点:黄金卖点+(黄金卖点-黄金买点)*0.618,NODRAW,COLORWHITE;预测明日买点:EMA((O+H+L)/3,4)+((H+L)/2-REF((O+H+L)/3,3))/4,NODRAW;今卖:MA(REF(预测明日卖点,1),1)*1,COLORLIMAGENTA,NODRAW;今买:REF(预测明日买点,1),COLORLIMAGENTA,NODRAW;}换:IF(CAPITAL>0,V/CAPITAL*100,V),NODRAW;收:=FINANCE(33),NODRAW;流:FINANCE(7)/100000000,NODRAW;TT:=IF(ISLASTBAR,240/FROMOPEN,1);NN:=120;HH:=HHV(V*TT,NN);LL:=LLV(V,NN);最高:=CONST(HH);最低:=CONST(LL);RCC:=最高*0.9-(最高-最低)*0.5;RHL:=RCC;HLMAX:=最高;HLMIN:=最低;HLMN1:=(HLMAX+HLMIN)/2;HLMN2:=HLMAX-HLMIN;HLMN3:=(100-0)/2*1.3;HLMN4:=(100-0)/1*1.3;P:=最高/120;{顶底摸块}神:=2*SMA(V*((C+L)/2+(H+C)/2+L)/3,2,1)/SMA(V,2,1)-(3*HHV(SMA(V*((C+L)/2+(H+C)/2+L)/3,2,1)/ SMA(V,2,1),2)-2*SMA(V*((C+L)/2+(H+C)/2+L)/3,2,1)/SMA(V,2,1));奇:=(2*神+EMA((2*(C+L)/2+(H+C)/2+L+O)/5,2)+2*((EMA((C*2+H+L+O)/5,5)+MA((C*2+H+L+O)/5,13)+MA((C *2+H+L+O)/5,21))/3)+((EMA((C*2+H+L+O)/5,13)+MA((C*2+H+L+O)/5,21)+MA((C*2+H+L+O)/5,34))/3)+((EMA((C*2+H+L+O)/5,2 1)+MA((C*2+H+L+O)/5,34)+MA((C*2+H+L+O)/5,55))/3))/7;分清:=(FORCAST(HHV((C+L)/2,1),21)+(EMA(((C+L)/2+L+(H+C)/2)/3,55)-(C-EMA(((C+L)/2+L+(H+C)/2)/3, 55))))/2;放心买入:=(((C+L)/2+(H+C)/2+L)/3+(3*(C+H+L+(O+C+L)/3)/4-2*(C+L)/2))/2;强:=(EMA((分清+3*((EMA(放心买入,5)*5+分清)/6+((EMA(奇,5)+EMA(奇,8)+EMA(奇,13))/3))/2)/4,3)/3),POINTDOT,COLOR00FFFF;验证:=((((C+L)/2-LLV(L,24))/(HHV((H+C)/2,24)-LLV(L,24))*1.1*(C+L)/2));续持验证:=EMA((2*(5*((EMA((2*C+L)/3,2)-EMA((2*C+H)/3,5))-EMA((EMA((2*C+L)/3,2)-EMA((2*C+H)/3,5)),21)))+(((C*2+H)/3+(C*2+H)/3)/2)+EMA(验证,2))/4,2),COLOR555555;AR:=(2*(C+L)/2+REF((C+L)/2,1))/3;BR:=(7*(C+L)/2+6*REF((C+L)/2,1)+5*REF((C+L)/2,2)+4*REF((C+L)/2,3)+3*REF((C+L)/2,4)+2*REF((C+L)/2,5)+REF((C+L)/2,6))/28;VARA2:=LLV(MA(LOW,3),3);VARA3:=HHV(MA(HIGH,3),3);比:=TT;昨V:=REF(V,1);T:=IF(ISLASTBAR,IF(FROMOPEN>60,IF(FROMOPEN-INTPART(FROMOPEN/60)*60=0,1,60/(FROMOPEN-INTPART(FROMOPEN/60)*60)),60/FROMOPEN),1);WJ:=(H+L+C)/3;V1:=IF(H=L,1,H-MAX(O,C));V2:=IF(H=L,1,MAX(C,O)-WJ);V3:=IF(H=L,1,MIN(O,C)-L);V4:=IF(H=L,1,WJ-MIN(C,O));V5:=VOL/IF(H=L,4,H-L);V6:=(V1*V5);V7:=(V2*V5);V8:=(V3*V5);V9:=(V4*V5);买盘1:=DYNAINFO(23)*比;卖盘1:=DYNAINFO(22)*比;买盘2:=IF(ISLASTBAR AND C>300,(V9+V8)*TT,(V9+V8));卖盘2:=IF(ISLASTBAR AND C>300,(V6+V7)*TT,(V6+V7));买盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,买盘1,买盘2);卖盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,卖盘1,卖盘2);DRAWBAND(最高,RGB(Q1,Q2,Q3),0,DRAWNULL);买卖差:=买盘-卖盘;STICKLINE(C>=O,0,买盘+卖盘,2.8,1),COLORRED;STICKLINE(C<O,0,买盘+卖盘,2.8,1),COLORFFFF00;STICKLINE(买卖差>=0,0,买盘,2.5,0),COLORRED;STICKLINE(买卖差>=0 AND C>=MA(C,30),0,买盘,3.0,0),COLORRED;STICKLINE(买卖差>=0,0,卖盘,1.1,0),COLOR998800;STICKLINE(买卖差>=0 AND C>=MA(C,30),0,卖盘,1.5,0),COLORDDCC00;STICKLINE(买卖差<0,0,买盘,2.5,0),COLORRED;STICKLINE(买卖差<0 AND C>=MA(C,30),0,买盘,3.0,0),COLORRED;STICKLINE(买卖差<0,0,卖盘,1.1,0),COLOR998800;STICKLINE(买卖差<0 AND C>=MA(C,30),0,卖盘,1.5,0),COLORDDCC00;A1:=REF(CLOSE,1);B1:=(买盘+卖盘)<MA(V,60)/3 ;{B1:=V<MA(V,60)/3 ;}B2:=MA(V,5)/2>V AND V>B1;STICKLINE(B1,0,卖盘,2,0),COLORYELLOW;((80-HLMN3)*HLMN2/HLMN4+HLMN1),COLORCCCCCC,LINETHICK1,DOTLINE;((50-HLMN3)*HLMN2/HLMN4+HLMN1),COLORCCCCCC,LINETHICK1,DOTLINE;((20-HLMN3)*HLMN2/HLMN4+HLMN1),COLORCCCCCC,LINETHICK1,DOTLINE;KA:=(EMA((CLOSE-VARA2)/(VARA3-VARA2)*100,4)-50)*0.5+50;DB:=EMA(0.667*REF(KA,1)+0.333*KA,2);JJ:=3*KA-2*DB;((KA-HLMN3)*HLMN2/HLMN4+HLMN1),COLORFFF111,LINETHICK1;((DB-HLMN3)*HLMN2/HLMN4+HLMN1),COLOR00FF00,LINETHICK1;((JJ-HLMN3)*HLMN2/HLMN4+HLMN1),COLORFF00FF,LINETHICK1;IF(续持验证<强,-5*P,DRAWNULL),CIRCLEDOT,COLORYELLOW,LINETHICK1;IF(续持验证>=强,-5*P,DRAWNULL),CIRCLEDOT,COLORRED,LINETHICK1;IF(续持验证>= REF(续持验证,1),-15*P,DRAWNULL),CIRCLEDOT,COLORRED,LINETHICK1; IF(续持验证< REF(续持验证,1),-15*P,DRAWNULL),CIRCLEDOT,COLORYELLOW,LINETHICK1; STICKLINE(1,HLMAX,HLMAX*0.96,3,0),COLORGREEN;红灯买:STICKLINE(密码1>密码3,HLMAX,HLMAX*0.96,3,0),COLORRED;STICKLINE(1,HLMAX*0.98,HLMAX*0.98,3,0),COLORWHITE;STICKLINE(1,HLMAX*0.93,HLMAX*0.89,3,0),COLORRED;绿灯卖:STICKLINE(密码2<=密码4,HLMAX*0.93,HLMAX*0.89,3,0),COLORGREEN; STICKLINE(1,HLMAX*0.91,HLMAX*0.91,3,0),COLORWHITE;操作段1:STICKLINE(密码1>(密码3) AND C>密码 2 OR 密码2>密码4,HLMAX*0.82,HLMAX*0.86,3,0),COLORRED;操作段2:STICKLINE(C>密码 2 AND 密码1>密码3,HLMAX*0.82,HLMAX*0.86,3,0),COLORMAGENTA;操作段3:STICKLINE(密码1<密码 3 AND 密码2>密码4,HLMAX*0.82,HLMAX*0.86,3,0),COLORYELLOW;STICKLINE(密码1>(密码3) AND C>密码2 OR 密码2>密码4 OR C>密码2 AND 密码1>密码3,HLMAX*0.84,HLMAX*0.84,3,0),COLORWHITE;。

通达信三个公式源码准确率90%以上超级指标精准买卖绝世指标

通达信三个公式源码准确率90%以上超级指标精准买卖绝世指标

通达信三个公式源码准确率90%以上超级指标精准买卖绝世指标1 超级指标指标公式:买卖提示非常明显(适合通达信)指标源码如下:M:3 100 60N 3 100 30散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M));RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,5,1);D:=SMA(K,3,1);J:=3*K-2*D;主力线:EMA(J,6),COLORYELLOW;VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);VAR5:=LLV(LOW,30);VAR6:=HHV(VAR4,30);VAR7:=IF(MA(CLOSE,58),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VA R7;VAR9:=IF(VAR8>100,100,VAR8);吸筹:STICKLINE(VAR9>-120,0,VAR9,2,5),COLORMAGENTA;AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;AA5:=SMA(AA4,13,8);走势:CEILING(SMA(AA5,13,8)),COLORRED,LINETHICK2;AA6:=SMA(AA3,21,8);买观注: STICKLINE(走势-AA6<-65,0,7,15,1);DRAWICON(FILTER(J>REF(J,1)AND 走势>=REF(走势,1)AND 走势<25 ,5),走势,4);卖观注: STICKLINE(走势-AA6>85,98,90,15,1),COLORFFFF00;DRAWICON(FILTER(J<REF(J,1)AND 走势<=REF(走势,1)AND J>85 ,5),J,5);DIF1:=EMA(CLOSE,7)-EMA(CLOSE,19),COLORWHITE;DEA1:=EMA(DIF1,9);MACD1:=(DIF1-DEA1)*100,COLORSTICK;STICKLINE(MACD1>REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORRED;STICKLINE(MACD1<=REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORYELLOW;STICKLINE(MACD1<REF(MACD1,1) AND MACD1<0,0,MACD1,0,0),COLOR00FF00;STICKLINE(MACD1>=REF(MACD1,1) AND MACD1<0,0,MACD1,0,0),COLORMAGENTA;STICKLINE(C>0,0,0,50,1),COLORBLUE;RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K日:SMA(RSV1,3,1),COLORWHITE;D日:SMA(K日,3,1),COLORYELLOW;J日:3*K日-2*D日,COLORFF00FF;底部:0,COLORF00FF0,LINETHICK2;DRAWICON(CROSS(J日,底部),底部,1);2 精准买卖支撑价:LLV(LOW,19),LINETHICK2 , COLOR00FF00;阻力价:HHV(HIGH,19),COLORBLUE, LINETHICK2;VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26);VAR2:=EMA(VAR1,9);VAR3:=(CLOSE*2.5/100+CLOSE);VAR4:EMA(C,3);VAR5:=LLV(HIGH,240);VAR6:=100*(CLOSE-VAR5)/VAR5;VAR7:=REF(LLV(CLOSE,480),1);VAR8:=REF(HHV(CLOSE,480),1);VAR9:=100*(CLOSE-VAR7)/(VAR8-VAR7);VARA:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100;VARB:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100;VARC:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100;VARD:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100;VARE:=VARC>98.5 OR VARD>98.5;VARF:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4;VAR13:=VARA=0 AND VARC=0 AND VAR6<0;VAR14:=VARA=100 AND VARC=100;VAR15:=VARB=0 OR VARD=0 AND VAR9<0;VAR16:=VARB=100 AND VARD=100;VAR17:=VAR6<0 AND VAR9<0;VAR18:=VAR13 AND VAR15;VAR19:=VAR14 AND VAR16;VAR1B:=SMA(MAX(CLOSE-REF(CLOSE,1),0),49,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;VAR1C:=SMA(MAX(CLOSE-REF(CLOSE,1),0),14,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),14,1)*100;VAR1D:=BARSCOUNT(CLOSE);VAR1E:=VAR1B<20 AND VAR1C<23 AND VAR1D>35;VAR1F:=VAR1E AND COUNT(VAR1E,1)=1;VAR20:=REF(CLOSE,1);VAR21:=SMA(MAX(CLOSE-VAR20,0),34,1)/SMA(ABS(CLOSE-VAR20),7,1)*100;VAR22:=SMA(MAX(CLOSE-VAR20,0),13,1)/SMA(ABS(CLOSE-VAR20),13,1)*100;VAR23:=BARSCOUNT(CLOSE);VAR24:=VAR21<20 AND VAR22<23 AND VAR23>35;VAR25:=VARA=0 AND VARF<1.2 AND VAR17;VAR27:=VAR18 AND VARF<1.2 AND VAR17;VAR29:=SUM(HIGH-OPEN,77)/SUM(OPEN-LOW,77)*100;VAR2A:=SUM(MAX(0,HIGH-REF(CLOSE,1)),77)/SUM(MAX(0,REF(CLOSE,1)-LOW),77)*100;VAR2B:=CROSS(VAR29,69) AND CROSS(VAR2A,80)<150;VAR2C:=VAR24 AND VAR1F AND COUNT(VAR24,30)=1;买点:=VAR25 AND VAR2B;绝对卖点:=(VAR19 OR VARA)AND VARF>23 OR VARE ;VAR2D:=VAR1F AND VAR2C AND VAR25;股海万元户:=(CLOSE/REF(CLOSE,1)>1.04 AND (CLOSE>10.8 AND CLOSE<10.83 OR CLOSE>6.86 AND CLOSE<6.88 OR CLOSE>13.82 AND CLOSE<13.84 OR CLOSE>7.28 AND CLOSE<7.3 OR CLOSE>12.4 AND CLOSE<12.42 OR CLOSE>22.33 AND CLOSE<22.35 OR CLOSE>4.68 AND CLOSE<4.7 OR CLOSE>26.29 AND CLOSE<26.31 OR CLOSE>7.65 AND CLOSE<7.67 OR CLOSE>13.4 AND CLOSE<13.42 OR CLOSE>7.58 AND CLOSE<7.6 OR CLOSE>20.43 AND CLOSE<20.45 ORCLOSE>19.57 AND CLOSE<19.59 OR CLOSE>6.26 AND CLOSE<6.28 OR CLOSE>7.14 AND CLOSE<7.16 OR CLOSE>6.61 AND CLOSE<6.63 OR CLOSE>11.9 AND VOL<11.92 OR CLOSE>6.7 AND CLOSE<6.72 OR CLOSE>8.19 AND CLOSE<8.21));DRAWTEXT(FILTER(绝对卖点>0,3),H,'别贪'), COLOR00FF00;DRAWTEXT(股海万元户>0,L,'☆追涨'),COLORYELLOW ;DRAWICON(买点>0,L,4);DRAWTEXT(买点>0,L,'扫描神针'),COLORF00FF0;DRAWTEXT(VARF<0.7 AND VAR27 AND VAR25>0,L,'万元'),COLORYELLOW;STICKLINE(VAR2D>0,O,C,10,0), COLORRED;DRAWTEXT(VAR2D>0,L,'大方神针'),COLORRED;DRAWICON(COUNT(REF(VAR4,1)<REF(VAR4,2),5)=5 AND VAR4>REF(VAR4,1),L*0.98,5);DRAWICON(FILTER(COUNT(VAR6<0,5)ANDCROSS(VAR6,0)AND VARF>REF(VARF,1)AND C>O,3),L,1);DRAWICON(FILTER(REF(VAR4,1)>REF(VAR4,2)ANDVAR4<REF(VAR4,1)AND VARF>17 AND VAR1>VAR2,5),H,2);DRAWICON(阻力价>REF(阻力价,1)AND CROSS(阻力价,VAR3)AND C<O,H*1.02,15);DIF1:=EMA(CLOSE,7)-EMA(CLOSE,19),COLORWHITE;DEA1:=EMA(DIF1,9);MACD1:=(DIF1-DEA1)*100,COLORSTICK;STICKLINE(MACD1>REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORRED;STICKLINE(MACD1<=REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORYELLOW;STICKLINE(MACD1<REF(MACD1,1) AND MACD1<0,0,MACD1,0,0),COLOR00FF00;STICKLINE(MACD1>=REF(MACD1,1) ANDMACD1<0,0,MACD1,0,0),COLORMAGENTA;STICKLINE(C>0,0,0,50,1),COLORBLUE;RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K日:SMA(RSV1,3,1),COLORWHITE;D日:SMA(K日,3,1),COLORYELLOW;J日:3*K日-2*D日,COLORFF00FF;底部:0,COLORF00FF0,LINETHICK2;DRAWICON(CROSS(J日,底部),底部,1);3 绝世指标GLL:-4;顶:80,COLORFFA500;大顶:100,COLORBLUE;VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;VAR2:=SMA(VAR1,10,1);慢速:SMA(VAR2,5,1),COLORRED;RSV:= ((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100)-70;RSV1:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;FATK:=SMA(RSV1,3,1);形态:SMA(FATK,3,1),COLORBB24DB;VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VARB:=SMA(VARA,3,1);VARC:=SMA(VARB,3,1);加速: EMA(3*VARB-2*VARC,3),COLORYELLOW;底:6,COLOR00BF00;大底:-6,COLOR007300;VAR11:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;VAR22:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;买入:=VAR11 AND VAR22,STICK,LINETHICK2,COLORRED;VAR3:=REF(CLOSE,1);VAR4:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3),6,1)*100;卖出:=CROSS(80,VAR4),STICK,LINETHICK2,COLORGREEN;{波段介入点}A1:=REF(CLOSE,2);A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;波段介入点:IF(A2<19,19,0)COLORWHITE;。

波段操作利器 绝佳买点通达信指标公式源码

波段操作利器 绝佳买点通达信指标公式源码

VAR2:=(HIGH+LOW+(CLOSE)*(2))/(4);BH:=((EMA((VAR2-LLV(VAR2,15))/(HHV(LOW,15)-LLV(VAR2,15)),2))*(38)),COLOR0000FF ,LINESTICK;BL:=((((-1))*(EMA((VAR2-LLV(VAR2,15))/(HHV(LOW,15)-LLV(VAR2,15)),2))+0.01)*(38)), COLOR339999,LINESTICK;VAR22:=((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10)))*(100);VAR33:=EMA(VAR22,10);VAR44:=EMA(VAR33,10);VAR55:=(3)*(VAR33)-(2)*(VAR44);VAR66:=EMA(VAR55,5);桥:(EMA(VAR66,1)),COLORYELLOW,LINETHICK1;跨:(REVERSE(桥)),COLORFFFFFF,LINETHICK1;{(0),COLORFFFF00,LINETHICK3;}趋势:=(5)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(3)*(S MA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1))-SMA(SMA(SMA(((CLOSE-LLV(LOW,27))/ (HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1),2,1);底部:=5;DRAWTEXT(CROSS((趋势),底部),15,'◆底部'),COLORYELLOW;{DRAWTEXT(CROSS(趋势,底部),0,'▲'),COLORYELLOW;DRAWTEXT(CROSS(趋势,底部),20,'●'),COLORYELLOW;}VARA1:=((CLOSE>=REF(CLOSE,1)) AND (REF(CLOSE,1)>=REF(CLOSE,2)) AND (REF(CLOSE,1)<=REF(CLOSE,3))AND (REF(CLOSE,2)<=REF(CLOSE,3)) AND ((REF(CLOSE,4)>REF(CLOSE,2)) OR (REF(CLOSE,4)<=REF(CLOSE,2))AND (REF(CLOSE,5)>=REF(CLOSE,3))) OR (CLOSE>=REF(CLOSE,1)) AND(REF(CLOSE,1)<=REF(CLOSE,2))AND (CLOSE>=REF(CLOSE,2)) AND ((REF(CLOSE,3)>REF(CLOSE,1)) OR (REF(CLOSE,3)<=REF(CLOSE,1)) AND (REF(CLOSE,4)>=REF(CLOSE,2))));VARA2:=LLV(LOW,5);VARA3:=HHV(HIGH,5);VARA4:=EMA(((CLOSE-VARA2)/(VARA3-VARA2))*(100),1);VARA5:=EMA((0.66699999)*(REF(VARA4,1))+(0.333)*(VARA4),2);VARA6:=(VARA5<24) AND (OPEN<MA(CLOSE,20));STICKLINE(VARA1 AND (VARA6),-40,40,10,1),COLOR2894FF;VARB2:=((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10)))*(100);VARB3:=EMA(VARB2,7);VARB4:=EMA(VARB3,10);VARB5:=(3)*(VARB3)-(2)*(VARB4);VARB6:=EMA(VARB5,5);趋势1:=(3)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(2) *(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1));探底:IF((趋势<=5),58,0),COLORFF00FF;桥1:=EMA(VARB6,1);美化:=IF(REF((COUNT((桥1<=REF(桥1,1)),5)=5),1) AND (桥1>REF(桥1,1)),10,0); STICKLINE((美化),-20,20,15,1),COLORFFFF00;MTM1:MA((CLOSE-REF(CLOSE,13))*31,5),LINETHICK2,COLOR7711EE;VARF1:=MA(HHV(HIGH,485),17);VARF2:=MA(HHV(HIGH,222),17);VARF3:=MA(HHV(HIGH,96),17);VARF4:=MA(LLV(LOW,485),17);VARF5:=MA(LLV(LOW,222),17);VARF6:=MA(LLV(LOW,96),17);VARF7:=MA((VARF4*0.96+VARF5*0.96+VARF6*0.96+VARF1*0.558+VARF2*0.558+VAR F3*0.558)/6,17);VARF8:=MA((VARF4*1.25+VARF5*1.23+VARF6*1.2+VARF1*0.55+VARF2*0.55+VARF3* 0.65)/6,17);VARF9:=MA((VARF4*1.3+VARF5*1.3+VARF6*1.3+VARF1*0.68+VARF2*0.68+VARF3*0.68)/6,17);VARFA:=MA((VARF7*3+VARF8*2+VARF9)/6*1.738,17);VARFB:=IF(C=C,VARFA,VARFA*DAY);VARFC:=LOW;VARFD:=REF(LOW,1);VARFE:=SMA(ABS(VARFC-VARFD),3,1)/SMA(MAX(VARFC-VARFD,0),3,1)*100; VARFF:=MA(IF(CLOSE*1.35<=VARFB,VARFE*10,VARFE/10),3);VARF10:=LLV(LOW,30);VARF11:=HHV(VARFF,30);绝佳买点:IF(C=C,MA(IF(LOW<=VARF10,(VARFF+VARF11*2)/2,0),3),100000000)/(200),COLOR RED,LINETHICK2;I:=IF(CLOSE<REF(CLOSE,1),0,VOL/CAPITAL);骤雨初晴:=ABS(EMA(I,13.3)-18)/WINNER(CLOSE)*IF((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)<-0. 04,1,0);W:=COST(10)*0;{整理}DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26),COLORRED;DEA:=EMA(DIFF,9),COLORYELLOW;MACD:=2*(DIFF-DEA)*231,STICK,COLORRED,LINETHICK1;STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,0.9,0),COLOR00FFFF; STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,0.8,0 ),COLORFFEE44; STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,1.1,0 ),COLOR0055FF; STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1.1,0 ),COLORFF55BB; DRAWTEXT(CROSS(绝佳买点,1.20000) ,-32,'买点'),COLORYELLOW,LINETHICK2 ; DRAWTEXT(CROSS(绝佳买点,4.50000) ,63,'●'),COLORYELLOW,LINETHICK2; {DRAWTEXT(CROSS(绝佳买点,7.00000) ,88,'↑'),COLORYELLOW,LINETHICK4;} DRAWTEXT(CROSS(绝佳买点,3.60000) ,28,'↑'),COLORYELLOW,LINETHICK4; {DRAWTEXT(CROSS(绝佳买点,2.40000) ,-55,'↑'),COLORYELLOW,LINETHICK3 ; };。

通达信绝密买点选股公式

通达信绝密买点选股公式

通达信绝密买点选股公式A1:=EMA(C,3),COLORWHITE;A2:=EMA(C,5),COLORYELLOW;A3:=EMA(C,7),COLORMAGENTA;A4:=EMA(C,12),COLORGREEN;A5:=EMA(C,20),COLORRED;A6:=EMA(C,50),COLORBLUE,LINETHICK2;SS:=CROSS(A1,A5) AND C&gt;O AND C&gt;REF(C,1) AND C/REF(C,1)&gt;=1.018 ;CV:=CLOSE;BBIBOLL:=(MA(CV,3) MA(CV,6) MA(CV,12) MA(CV,24))/4;UPR:=BBIBOLL 6*STD(BBIBOLL,11);DWN:=BBIBOLL-6*STD(BBIBOLL,11);QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));XVL:=(IF(CLOSE&gt;OPEN,QJJ*(HIGH-LOW),IF(CLOSE&lt;OPEN,QJJ*(HIGH-OPEN CLOSE-LOW),VOL/2)) IF(CLOSE&gt;OPEN,0-QJJ*(HIGH-CLOSE OPEN-LOW),IF(CLOSE&lt;OPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));HSL:=(XVL/3)/1.15;攻击:=((HSL*0.55 (REF(HSL,1)*0.33)) (REF(HSL,2)*0.22));LLJX:=EMA(攻击,3);B1:=IF(SUM(LLJX,1)&gt;REF(MA(SUM(LLJX,1),1),1),SUM(LLJX, 1),DRAWNULL);B2:=IF(SUM(LLJX,2)&gt;REF(MA(SUM(LLJX,2),1),1),SUM(LLJX, 2),DRAWNULL);B3:=IF(SUM(LLJX,3)&gt;REF(MA(SUM(LLJX,3),1),1),SUM(LLJX, 3),DRAWNULL);B4:=IF(SUM(LLJX,4)&gt;REF(MA(SUM(LLJX,4),1),1),SUM(LLJX, 4),DRAWNULL);B5:=IF(SUM(LLJX,5)&gt;REF(MA(SUM(LLJX,5),1),1),SUM(LLJX, 5),DRAWNULL);B6:=IF(SUM(LLJX,6)&gt;REF(MA(SUM(LLJX,6),1),1),SUM(LLJX, 6),DRAWNULL);B7:=IF(SUM(LLJX,7)&gt;REF(MA(SUM(LLJX,7),1),1),SUM(LLJX, 7),DRAWNULL);B8:=IF(SUM(LLJX,8)&gt;REF(MA(SUM(LLJX,8),1),1),SUM(LLJX, 8),DRAWNULL);B9:=IF(SUM(LLJX,9)&gt;REF(MA(SUM(LLJX,9),1),1),SUM(LLJX, 9),DRAWNULL);B10:=IF(SUM(LLJX,10)&gt;REF(MA(SUM(LLJX,10),1),1),SUM(L LJX,10),DRAWNULL);XG:=B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND B9AND B10 AND (CLOSE-OPEN)&gt;=(UPR-BBIBOLL) AND V/REF(V,1)&gt;=1.9;绝密买点:ss and xg;。

通达信选股至尊买点指标公式源码编程思路破译及成功率回测数据

通达信选股至尊买点指标公式源码编程思路破译及成功率回测数据

通达信选股至尊买点指标公式源码编程思路破译及成功率回测数据编程思路破译VAR1赋值:1VAR2赋值:以成交量(手)的5日累和/3/当前流通股本(手)为权重收盘价的12日指数移动平均的动态移动平均VAR3赋值:(收盘价-VAR2)/VAR2*100VAR4赋值:1日前的VAR3<-40 AND VAR3>1日前的VAR3 AND 1日前的VAR3<2日前的VAR3 AND VAR3-1日前的VAR3>2.5 VAR5赋值:(收盘价-开盘价)/开盘价*100VAR6赋值:1日前的收盘价VAR7赋值:收盘价-VAR6和0的较大值的6日[1日权重]移动平均/收盘价-VAR6的绝对值的6日[1日权重]移动平均*100VAR8赋值:统计20日中满足VAR7<20的天数>=1VAR9赋值:VAR5>9 AND VAR8VARA赋值:100*以开盘价计算的获利盘比例VARB赋值:100*以收盘价计算的获利盘比例VARC赋值:VARB-VARAVARD赋值:VARC>=30VARE赋值:收盘价/收盘价的3日简单移动平均>=1.07 AND 收盘价=3日内收盘价的最高值 AND 成交量(手)的2日简单移动平均/成交量(手)的40日简单移动平均>=3 AND 成交量(手)的2日简单移动平均=3日内成交量(手)的2日简单移动平均的最高值AND 成交量(手)>1日前的成交量(手) AND 收盘价>1日前的收盘价VARF赋值:1日前的收盘价VAR10赋值:收盘价-VARF和0的较大值的5日[1日权重]移动平均/收盘价-VARF的绝对值的5日[1日权重]移动平均*100 VAR11赋值:统计20日中满足VAR10<20的天数>=1VAR12赋值:VARE AND VAR11VAR13赋值:收盘价的4日简单移动平均VAR14赋值:收盘价的10日简单移动平均VAR15赋值:收盘价的20日简单移动平均VAR16赋值:收盘价的25日简单移动平均VAR17赋值:统计2日中满足VAR14上穿VAR15的天数=1VAR18赋值:统计2日中满足VAR13上穿VAR16的天数=1VAR19赋值:VAR17 AND VAR18VAR1A赋值:VAR12 AND VARD AND VAR19VAR1B赋值:收盘价的80日简单移动平均-收盘价的10日简单移动平均/3VAR1C赋值:收盘价<VAR1B AND 成交量(手)/240>成交量(手)的5日简单移动平均/240 AND 收盘价>1日前的收盘价*1.08 AND 收盘价<收盘价的13日简单移动平均*1.3输出选股:VAR4 OR VAR9 OR VAR1A OR VAR1C*VAR1条件选股:通达信选股至尊买点[日线]成功率测试测试股票数:5031共发出信号:58773 成功信号:38549 失败信号:17668 未完成信号:2556信号发出率:79.59% 平均成功率:68.57% 成功率达到50%的股票数有:80.17%利润1总平均:18.86% 最大平均利润1: 170.89% 最小平均利润1: 0.00%利润2总平均:3.77% 最大平均利润2: 149.57% 最小平均利润2: -38.37%程序源码VAR1:=1;VAR2:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);VAR3:=(CLOSE-VAR2)/VAR2*100;VAR4:=REF(VAR3,1)<-40 AND VAR3>REF(VAR3,1) AND REF(VAR3,1)<REF(VAR3,2) AND VAR3-REF(VAR3,1)>2.5;VAR5:=(CLOSE-OPEN)/OPEN*100;VAR6:=REF(CLOSE,1);VAR7:=SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;VAR8:=COUNT(VAR7<20,20)>=1;VAR9:=VAR5>9 AND VAR8;VARA:=100*WINNER(OPEN);VARB:=100*WINNER(CLOSE);VARC:=VARB-VARA;VARD:=VARC>=30;VARE:=CLOSE/MA(CLOSE,3)>=1.07 AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);VARF:=REF(CLOSE,1);VAR10:=SMA(MAX(CLOSE-VARF,0),5,1)/SMA(ABS(CLOSE-VARF),5,1)*100;VAR11:=COUNT(VAR10<20,20)>=1;VAR12:=VARE AND VAR11;VAR13:=MA(CLOSE,4);VAR14:=MA(CLOSE,10);VAR15:=MA(CLOSE,20);VAR16:=MA(CLOSE,25);VAR17:=COUNT(CROSS(VAR14,VAR15),2)=1;VAR18:=COUNT(CROSS(VAR13,VAR16),2)=1;VAR19:=VAR17 AND VAR18;VAR1A:=VAR12 AND VARD AND VAR19;VAR1B:=MA(CLOSE,80)-MA(CLOSE,10)/3;VAR1C:=CLOSE<VAR1B AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3;选股:VAR4 OR VAR9 OR VAR1A OR VAR1C*VAR1; 该公式包含未来函数:WINNER该公式包含未来函数:CAPITAL。

通达信副图绝佳买点(附源码)

通达信副图绝佳买点(附源码)

通达信副图绝佳买点(附源码)VAR2:=(HIGH+LOW+(CLOSE)*(2))/(4);BH:=((EMA((VAR2-LLV(VAR2,15))/(HHV(LOW,15)-LLV(VAR2,15)),2))*(38)),COLOR0000FF,LINESTICK;BL:=((((-1))*(EMA((VAR2-LLV(VAR2,15))/(HHV(LOW,15)-LLV(VAR2,15)),2))+0.01)*(38)),COLOR339999,LINESTICK;VAR22:=((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10)))*(100);VAR33:=EMA(VAR22,10);VAR44:=EMA(VAR33,10);VAR55:=(3)*(VAR33)-(2)*(VAR44);VAR66:=EMA(VAR55,5);桥:(EMA(VAR66,1)),COLORYELLOW,LINETHICK1;跨:(REVERSE(桥)),COLORFFFFFF,LINETHICK1;{(0),COLORFFFF00,LINETHICK3;}趋势:=(5)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(3)*(SMA(SMA(((CLOSE-LLV(LOW,27)) /(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1))-SMA(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1),2,1);底部:=5;DRAWTEXT(CROSS((趋势),底部),15,'◆底部'),COLORYELLOW;{DRAWTEXT(CROSS(趋势,底部),0,'▲'),COLORYELLOW;DRAWTEXT(CROSS(趋势,底部),20,'●'),COLORYELLOW;}VARA1:=((CLOSE>=REF(CLOSE,1))AND(REF(CLOSE,1)>=REF(CLOSE,2)) AND (REF(CLOSE,1)<=REF(CLOSE,3))AND (REF(CLOSE,2)<=REF(CLOSE,3)) AND((REF(CLOSE,4)>REF(CLOSE,2)) OR(REF(CLOSE,4)<=REF(CLOSE,2))AND (REF(CLOSE,5)>=REF(CLOSE,3))) OR(CLOSE>=REF(CLOSE,1)) AND (REF(CLOSE,1)<=REF(CLOSE,2)) AND (CLOSE>=REF(CLOSE,2)) AND((REF(CLOSE,3)>REF(CLOSE,1)) OR (REF(CLOSE,3)<=REF(CLOSE,1))AND(REF(CLOSE,4)>=REF(CLOSE,2))));VARA2:=LLV(LOW,5);VARA3:=HHV(HIGH,5);VARA4:=EMA(((CLOSE-VARA2)/(VARA3-VARA2))*(100),1);VARA5:=EMA((0.66699999)*(REF(VARA4,1))+(0.333)*(VARA4 ),2);VARA6:=(VARA5<24) AND(OPEN<MA(CLOSE,20));STICKLINE(VARA1 AND (VARA6),-40,40,10,1),COLOR2894FF;VARB2:=((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10)))*(100);VARB3:=EMA(VARB2,7);VARB4:=EMA(VARB3,10);VARB5:=(3)*(VARB3)-(2)*(VARB4);VARB6:=EMA(VARB5,5);趋势1:=(3)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(2)*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1));探底:IF((趋势<=5),58,0),COLORFF00FF;桥1:=EMA(VARB6,1);美化:=IF(REF((COUNT((桥1<=REF(桥1,1)),5)=5),1) AND (桥1>REF(桥1,1)),10,0);STICKLINE((美化),-20,20,15,1),COLORFFFF00;MTM1:MA((CLOSE-REF(CLOSE,13))*31,5),LINETHICK2,COLOR7711EE;VARF1:=MA(HHV(HIGH,485),17);VARF2:=MA(HHV(HIGH,222),17);VARF3:=MA(HHV(HIGH,96),17);VARF4:=MA(LLV(LOW,485),17);VARF5:=MA(LLV(LOW,222),17);VARF6:=MA(LLV(LOW,96),17);VARF7:=MA((VARF4*0.96+VARF5*0.96+VARF6*0.96+VARF1 *0.558+VARF2*0.558+VARF3*0.558)/6,17);VARF8:=MA((VARF4*1.25+VARF5*1.23+VARF6*1.2+VARF1* 0.55+VARF2*0.55+VARF3*0.65)/6,17);VARF9:=MA((VARF4*1.3+VARF5*1.3+VARF6*1.3+VARF1*0.6 8+VARF2*0.68+VARF3*0.68)/6,17);VARFA:=MA((VARF7*3+VARF8*2+VARF9)/6*1.738,17);VARFB:=IF(C=C,VARFA,VARFA*DAY);VARFC:=LOW;VARFD:=REF(LOW,1);VARFE:=SMA(ABS(VARFC-VARFD),3,1)/SMA(MAX(VARFC-VARFD,0),3,1)*100;VARFF:=MA(IF(CLOSE*1.35<=VARFB,VARFE*10,VARFE/10),3);VARF10:=LLV(LOW,30);VARF11:=HHV(VARFF,30);绝佳买点:IF(C=C,MA(IF(LOW<=VARF10,(VARFF+VARF11*2)/2,0),3),1000 00000)/(200),COLORRED,LINETHICK2;I:=IF(CLOSE<REF(CLOSE,1),0,VOL/CAPITAL);骤雨初晴:=ABS(EMA(I,13.3)-18)/WINNER(CLOSE)*IF((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)<-0.04,1,0);W:=COST(10)*0;DIFF:=EMA(CLOSE,12) -EMA(CLOSE,26),COLORRED;DEA:=EMA(DIFF,9),COLORYELLOW;MACD:=2*(DIFF-DEA)*231,STICK,COLORRED,LINETHICK1;STICKLINE(MACD<REF(MACD,1)ANDMACD>0,0,MACD,0.9,0 ),COLOR00FFFF;STICKLINE(MACD<=REF(MACD,1)ANDMACD<0,0,MACD,0.8 ,0 ),COLORFFEE44;STICKLINE(MACD>=REF(MACD,1)ANDMACD>0,0,MACD,1.1 ,0 ),COLOR0055FF;STICKLINE(MACD>REF(MACD,1)ANDMACD<0,0,MACD,1.1,0 ),COLORFF55BB;DRAWTEXT(CROSS(绝佳买点,1.20000) ,-32,'买点'),COLORYELLOW,LINETHICK2 ;DRAWTEXT(CROSS(绝佳买点,4.50000) ,63,'●'),COLORYELLOW,LINETHICK2;{DRAWTEXT(CROSS(绝佳买点,7.00000) ,88,'↑'),COLORYELLOW,LINETHICK4;}DRAWTEXT(CROSS(绝佳买点,3.60000) ,28,'↑'),COLORYELLOW,LINETHICK4;{DRAWTEXT(CROSS(绝佳买点,2.40000) ,-55,'↑'),COLRYELLOW,LI NETHICK3 ; };。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
相关文档
最新文档