通达信指标公式源码 机构杀手指标 抄底公式

合集下载

据说是当年用来抄底的王牌指标通达信指标公式源码

据说是当年用来抄底的王牌指标通达信指标公式源码

据说是当年涨停敢死队用来抄底的王牌指标,需要说明的是这个指标是在熊市中用的,觉得不错就收藏放到熊市中慢慢验证吧,不会让你失望的。

我去年用了用,相当精准。

只是信号少了些,不过话又说回来,信号多准确度就会下降。

VAR100:=IF(DATE<=1280831,1,0);CSS:=((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100)*VAR100; YJDD:=(EMA(CSS,3)-50)*2* VAR100;强弱:(YJDD+100)/2* VAR100,COLORBLUE;80*VAR100,COLORRED,POINTDOT,LINETHICK3;20*VAR100,COLORRED,POINTDOT,LINETHICK3;100*VAR100,COLORBLUE;T1:=(INDEXC-MA(INDEXC,58))/MA(INDEXC,58)<-0.152;T2:=(C-EMA(C,58))/EMA(C,58)<-0.19;买1:=T2 AND T1;T3:=IF(DATE<=1280831,1,0);T4:=(C-MA(C,2))/MA(C,2)*100*T3;T5:=INDEXC*T3;T6:=MA(T5,13)*T3;T7:=T6>1.050*T5*T3;T8:=(C-REF(C,26))/REF(C,26)*10*T3;T9:=T7*T3;T10:=T8<-2.30 AND T3;T11:=T4<-2.7 AND T3;T12:=T9 AND T10 AND T11 AND T3;T13:=CROSS(0.5,T12)*T3;T14:=CROSS(T13,0.5)*T3;T15:=BARSLAST(T14=1)*T3;T16:=T15<=5 AND C<REF(C,T15) AND T3;买2:=T13 OR T16;T17:= (C-MA(C,2))/MA(C,2)*100;T18:=INDEXC;T19:=MA(T18,56);T20:=T18/T19<0.94;T21:=(C-REF(C,26))/REF(C,26)*10;T22:=T20;T23:=T21<-2.55;T24:=T17<-2.7;T25:=T22 AND T23 AND T24;T26:=CROSS(0.5,T25);T27:=CROSS(T26,0.5);T28:=BARSLAST(T27=1);T29:=T28<=5 AND C<1.02*REF(C,T28);底4:=T26 OR T29;T30:= (C-MA(C,2))/MA(C,2)*100;T31:=INDEXC;T32:=MA(T31,13);T33:=T32>1.050*T31;T34:=(C-REF(C,26))/REF(C,26)*10;T35:=T33;T36:=T34<-2.69;T37:=T30<-3.09;T38:=T35 AND T36 AND T37;T39:=CROSS(0.5,T38);T40:=CROSS(T39,0.5);T41:=BARSLAST(T40=1);T42:=T41<=5 AND C<REF(C,T41);买3:=COUNT(T39 OR T42,4)=4;T43:=EMA(((C*1.1-LLV(LOW,630))/(HHV(HIGH,630)-LLV(LOW,630))-(C*0.9-LLV(LOW,630))/(HHV(HIGH,630)-LLV(LOW,630)))*80,5);T44:=INDEXC;T45:=MA(T44,5);T46:=MA(T44,20);T47:=MA(T44,30);T48:=T45>T44*1.03 AND T46>T44*1.13;T49:=T48;目标:=COUNT(T43<6 AND T49,3)>=3;新目标:=买3 OR 目标;神剑出鞘:IF(((COUNT(买1 AND 底4,6)=6 OR COUNT(买1 AND 买2,4)=4 OR COUNT(买2 AND 底4,5)=5) OR 新目标) ANDDATE<=1280831,90,0),COLORRED,LINETHICK3;DRAWTEXT(FILTER(神剑出鞘,5),90,'买'),COLORRED;DRAWTEXT(FILTER(神剑出鞘,5),90,'买'),COLORRED;。

通达信最强抄底幅图公式源码 一个看资金进场,洗盘,拉高,出货的指标,合并了一些趋势和选股指标

通达信最强抄底幅图公式源码 一个看资金进场,洗盘,拉高,出货的指标,合并了一些趋势和选股指标

通达信最强抄底幅图公式源码一个看资金进场,洗盘,拉高,出货的指标,合并了一些趋势和选股指标公式源码:趋势线:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLORRED;强弱线:30,COLORWHITE;逃顶线:90,COLORWHITE;JBS:=C/REF(C,1)>1.05 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));介必升:=FILTER(JBS,28)*100;VAR1A:=IF((C/REF(C,1)>1.05 AND H/C<1.01 and="" c="">REF(C,1)),91,0);VAR2A:=FILTER((VAR1A>90),45) AND FILTER((VAR1A>90),35) AND 介必升>0;老介抄底:=VAR2A AND COUNT(VAR2A,60)=1;STICKLINE(老介抄底 ,75,66,1,0),COLORRED;STICKLINE(老介抄底 ,66,57,2,0),COLORMAGENTA;STICKLINE(老介抄底 ,57,48,3,0),COLORGREEN;STICKLINE(老介抄底 ,48,39,4,0),COLORBLUE;STICKLINE(老介抄底 ,30,21,6,0),COLORBROWN;STICKLINE(老介抄底 ,39,30,5,0),COLORCYAN;STICKLINE(老介抄底 ,21,12,7,0),COLORYELLOW;STICKLINE(老介抄底 ,12,3,8,0),COLORWHITE;DRAWTEXT(老介抄底,90,'' 抄底''),COLORFFFFFF;DRAWICON(老介抄底,80,13);{DRAWGBK(CLOSE>0,STRIP(RGB(0,150,130),RGB(0,0,0),0));} VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);VAR3:=EMA(VAR2,10);VAR4:=LLV(LOW,33);VAR5:=EMA(IF(LOW<>Z:0,COLORBLACK;主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;洗盘:IF(VAR5<>STICKLINE(VAR5<>STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLOR000055;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.6,0 ),COLOR000077;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000BB;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.9,0 ),COLOR0000DD;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF;STICKLINE(VAR5<>STICKLINE(VAR5<>STICKLINE(VAR5<>STICKLINE(VAR5<>STICKLINE(VAR5<>STICKLINE(VAR5<>VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);VAR31:=EMA(VAR21,10);VAR41:=HHV(HIGH,33);VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3);主力拉高:IF(VAR51<>STICKLINE(VAR51<>出货:IF(VAR51>REF(VAR51,1),VAR51,0),COLORCYAN,NODRAW;STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0 ),COLORCYAN;SS:=MA(C,60)>REF(MA(C,60),1);N:=10;A:=(3*CLOSE+LOW+OPEN+HIGH)/6;D1:=(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*RE F(A,17)+2*REF(A,18)+REF(A,20))/211;D2:=EMA(D1,2);D3:=EMA(D2,2);K1:=EMA(D3,2);哥要起涨:IF(CROSS(D1,K1),30,0),COLORFFCC66;。

精准抄底大黑马通达信指标公式源码

精准抄底大黑马通达信指标公式源码

信号出现时高点低点一目了然,好不好直接上图VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70; VAR2:=SMA(VAR1,9,1)+100;VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR4:=SMA(VAR3,3,1);VAR5:=SMA(VAR4,3,1)+100;VAR6:=VAR5-VAR2;趋势:IF(VAR6>45,VAR6-45,0);0,COLOR00FFFF;20,POINTDOT,COLORFFAA66,LINETHICK1;80,POINTDOT,COLORFFAA66,LINETHICK1;100,COLORFFFF33;V1:=LLV(LOW,10);V2:=HHV(H,25);价位线:=EMA((C-V1)/(V2-V1)*4,4);DRAWTEXT(CROSS(价位线,0.3),20+4,'●买'),COLORRED;DRAWTEXT(CROSS(3.5,价位线),100-4,'●卖'),COLORGREEN;VAR2Q:=REF(LOW,1);VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100; VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);VAR5Q:=LLV(LOW,30);VAR6Q:=HHV(VAR4Q,30);VAR7Q:=IF(MA(CLOSE,58),1,0);VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/618*VAR7Q;VAR9Q:=IF(VAR8Q>100,100,VAR8Q);STICKLINE(VAR9Q>-120,0,VAR9Q,6.1,0),COLOR0000AA;STICKLINE(VAR9Q>-120,0,VAR9Q,4.9,0),COLOR0000BB;STICKLINE(VAR9Q>-120,0,VAR9Q,3.8,0),COLOR0000CC;STICKLINE(VAR9Q>-120,0,VAR9Q,2.7,0),COLOR0000DD;STICKLINE(VAR9Q>-120,0,VAR9Q,1.6,0),COLOR0000EE;STICKLINE(VAR9Q>-120,0,VAR9Q,0.4,0),COLOR4444FF;STICKLINE(趋势,(REF(趋势,1)),趋势,3.2,0) ,COLOR0044FF;STICKLINE(趋势,(REF(趋势,1)),趋势,2.7,0) ,COLOR0066FF;STICKLINE(趋势,(REF(趋势,1)),趋势,2.1,0) ,COLOR0088FF;STICKLINE(趋势,(REF(趋势,1)),趋势,1.5,0) ,COLOR00AAFF;STICKLINE(趋势,(REF(趋势,1)),趋势,0.9,0) ,COLOR00CCFF;STICKLINE(趋势,(REF(趋势,1)),趋势,0.2,0) ,COLOR00FFFF;粉红持有:=REF(趋势>REF(趋势,1),1);STICKLINE(粉红持有,(REF(趋势,1)),趋势,3.2,0),COLOR770077; STICKLINE(粉红持有,(REF(趋势,1)),趋势,2.7,0),COLOR990099; STICKLINE(粉红持有,(REF(趋势,1)),趋势,2.1,0),COLORBB00BB; STICKLINE(粉红持有,(REF(趋势,1)),趋势,1.5,0),COLORDD00DD; STICKLINE(粉红持有,(REF(趋势,1)),趋势,0.9,0),COLORFF00FF; STICKLINE(粉红持有,(REF(趋势,1)),趋势,0.2,0),COLORFF66FF;绿色减仓:=趋势<REF(趋势,1);STICKLINE(绿色减仓,(REF(趋势,1)),趋势,3.2,0 ),COLOR003300; STICKLINE(绿色减仓,(REF(趋势,1)),趋势,2.7,0 ),COLOR006600; STICKLINE(绿色减仓,(REF(趋势,1)),趋势,2.1,0 ),COLOR009900; STICKLINE(绿色减仓,(REF(趋势,1)),趋势,1.5,0 ),COLOR00CC00; STICKLINE(绿色减仓,(REF(趋势,1)),趋势,0.9,0 ),COLOR00FF00; STICKLINE(绿色减仓,(REF(趋势,1)),趋势,0.2,0 ),COLORCCFF66;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));AA6:=SMA(AA3,21,8);卖临界:STICKLINE(走势-AA6>85,103,100,15,1),COLOR0000FF,LINETHICK2; N:=21;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;E:=CROSS(83,RSI);STICKLINE( E,E,55,2.7,0),COLORFF6600;STICKLINE( E,E,55,2.1,0),COLORFF8800;STICKLINE( E,E,55,1.5,0),COLORFFAA00;STICKLINE( E,E,55,0.9,0),COLORFFCC00;STICKLINE( E,E,55,0.2,0),COLORFFFF00;DRAWTEXT(E,50,' 逃顶'),COLORFF9966;TYP:=(HIGH+LOW+CLOSE)/3;VAR11:=3;VAR21:=(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(CROSS(VAR21,VAR11),100,0),COLORRED,LINETHICK2;主力线:=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),LINETHIC K1,POINTDOT;超短线:(((主力线-LLV(主力线,21))/(HHV(主力线,21)-LLV(主力线,21)))*(4))*(25),LINETHICK0,COLORLIRED;轴:0,COLORFFFFFF;。

通达信指标公式源码 抄底逃顶副图指标

通达信指标公式源码 抄底逃顶副图指标

LC:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;卖点:=CROSS(85,RSI1)*30,COLOR00FF00,LINETHICK2;卖:IF(卖点,6.5,0),STICK,colorgreen,LINETHICK4;洗钱A:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE; 量1:=EMA(洗钱A,3);量2:=EMA(洗钱A,5);量3:=EMA(洗钱A,7);STICKLINE(量1>量2,量3,量1,3,1),colorred;STICKLINE(量1<量2,量3,量1,2,0),colorcyan;T1:=量2>量3 AND 量1<REF(量1,1);T2:=量2<量3 AND 量1>REF(量1,1);STICKLINE(T1,量1,量3,2,0),coloryellow;STICKLINE(T2,量1,量3,3,1),COLORFF00FF;洗钱B:=SMA(洗钱A,13,1);分水岭:SMA(洗钱B,2.5,1.5),LINETHICK2,colorwhite;牛线:3*洗钱B-2*分水岭,LINETHICK2,COLORFF00FF ;DRAWTEXT_FIX(C>O,0.01,0.9,0,' W '),colorred;DRAWTEXT_FIX(C>O,1,1,0,' m '),colorred;熊线:4*分水岭-3*洗钱B,LINETHICK2,COLORFF6633;DIF1:=EMA(C,12)-EMA(C,26);DEA1:=EMA(DIF1,9);MACD1:=2*(DIF1-DEA1);QZQ:=BARSLAST(REF(MACD,1)<0 AND MACD>0);QM:=LLVBARS(MACD1,QZQ+20);MQDZ:=IF(QM>QZQ,REF(MACD1,QM),0);QF:=LLVBARS(DIF1,QZQ+20);DQDZ:=IF(QF>QZQ,REF(DIF1,QF),0);XG1:=MACD1<0 AND MACD1>MQDZ AND DIF1<0 AND DIF1>DQDZ AND C=LLV(C,QZQ+20) AND MQDZ<0 AND DQDZ<0;XG:REF(XG1,1)=1 AND MACD1>REF(MACD1,1);VAR21A:=(REF(HIGH,1)+REF(LOW,1))/2;VAR61:=REF(CLOSE,1);VAR70A:=SMA(MAX(CLOSE-VAR61,0),6,1)/SMA(ABS(CLOSE-VAR61),6,1)*100; DRAWICON(CROSS(90,VAR70A),H*0.8,9);MTM1:=C-REF(C,1);A013:=HHV(HIGH,34);A014:=(2*CLOSE+HIGH+LOW)/4;A015:=LLV(LOW,34);A016:=EMA(((A014-A015)/(A013-A015))*100,13);A017:=EMA(0.667*REF(A016,1)+0.333*A016,2);KKMD:=A016-A017>1 AND A016<30 AND A017<30;DRAWTEXT(FILTER(KKMD,30),L*0.05,'▲短买'),COLOR00FFFF;VAR06:=REF(C,1);VAR07:=SMA(MAX(C-VAR06,0),6,1)/SMA(ABS(C-VAR06),6,1)*100;DRAWTEXT(CROSS(82,VAR07),H*0.9,'◤减仓'),colorgreen;RSVB:=(C-LLV(L,25))/(HHV(HIGH,25)-LLV(L,25))*100;K:=SMA(RSVB,3,1);D:=SMA(K,3,1);J:=3*K-2*D;VARA6:=(2*C+H+L)/3;VARA7:=EMA(EMA(EMA(VARA6,4),4),4);VARA8:=(VARA7-REF(VARA7,1))/REF(VARA7,1)*100;VARA9:=MA(VARA8,3)+0.03;VARA10:=MA(VARA8,1);DRAWICON(CROSS(VARA9,VARA10) AND J>90,H*0.96,12),colorgreen;DRAWTEXT(CROSS(VARA9,VARA10) AND J>90,H*1.02,'卖'),colorcyan;LCD:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LCD,0),4.1,1)/SMA(ABS(CLOSE-LCD),4.1,1)*100;建仓:CROSS(RSI,11)*10,colorred;。

成功率相当高的抄底选股指标通达信指标公式源码

成功率相当高的抄底选股指标通达信指标公式源码

A1:=CROSS("MACD.DIF","MACD.DEA");A2:=CROSS("KDJ.K","KDJ.D") AND "KDJ.K"<-20;A3:="I"<-90 AND "I">-100;A4:=CROSS("RSI.RSI1","RSI.RSI2") AND "RSI.RSI1"<50;A5:=REF("WR.WR1",1)>90 AND "WR.WR1"<70;A6:=CROSS("BIAS.BIAS1",-5);A7:=REF("DMI.PDI",1)<REF("DMI.MDI",1) AND REF("DMI.PDI",1)<REF("DMI.ADX",1) AND REF("DMI.PDI",1)<REF("DMI.ADXR",1) AND "DMI.PDI">"DMI.MDI" AND "DMI.PDI">"DMI.ADX" AND "DMI.PDI">"DMI.ADXR";A8:=CROSS("MFI.MFI",20) AND REF("MFI.MFI",1)<20;MTM:=CLOSE-REF(CLOSE,20);MAMTM:=MA(MTM,60);A9:=CROSS(MTM,MAMTM);OSC:=100*(CLOSE-MA(CLOSE,20));MAOSC:=EXPMEMA(OSC,6);MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;DKX:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210;MADKX:=MA(DKX,20);A10:="ADTM.ADTM"<-0.8;AA1:=A1 AND A2 AND A3;AA2:=A1 AND A2 AND A4;AA3:=A1 AND A2 AND A5;AA4:=A1 AND A2 AND A6;AA5:=A1 AND A2 AND A7;AA6:=A1 AND A2 AND A8;AA7:=A1 AND A2 AND A9;AA8:=A1 AND A2 AND A10;AA9:=A1 AND A3 AND A4;AA10:=A1 AND A3 AND A5;AA11:=A1 AND A3 AND A6;AA12:=A1 AND A3 AND A7;AA13:=A1 AND A3 AND A8;AA14:=A1 AND A3 AND A9;AA16:=A1 AND A4 AND A5; AA17:=A1 AND A4 AND A6; AA18:=A1 AND A4 AND A7; AA19:=A1 AND A4 AND A8; AA20:=A1 AND A4 AND A9; AA21:=A1 AND A4 AND A10; AA22:=A1 AND A5 AND A6; AA23:=A1 AND A5 AND A7; AA24:=A1 AND A5 AND A8; AA25:=A1 AND A5 AND A9; AA26:=A1 AND A5 AND A10; AA27:=A1 AND A6 AND A7; AA28:=A1 AND A6 AND A8; AA29:=A1 AND A6 AND A9; AA30:=A1 AND A6 AND A10; AA31:=A1 AND A7 AND A8; AA32:=A1 AND A7 AND A9; AA33:=A1 AND A7 AND A10; AA34:=A1 AND A8 AND A9; AA35:=A1 AND A8 AND A10; AA36:=A1 AND A9 AND A10; AA37:=A2 AND A3 AND A4; AA38:=A2 AND A3 AND A5; AA39:=A2 AND A3 AND A6; AA40:=A2 AND A3 AND A7; AA41:=A2 AND A3 AND A8; AA42:=A2 AND A3 AND A9; AA43:=A2 AND A3 AND A10; AA44:=A2 AND A4 AND A5; AA45:=A2 AND A4 AND A6; AA46:=A2 AND A4 AND A7; AA47:=A2 AND A4 AND A8; AA48:=A2 AND A4 AND A9; AA49:=A2 AND A4 AND A10; AA50:=A2 AND A5 AND A6; AA51:=A2 AND A5 AND A7; AA52:=A2 AND A5 AND A8;AA54:=A2 AND A5 AND A10; AA55:=A2 AND A6 AND A7; AA56:=A2 AND A6 AND A8; AA57:=A2 AND A6 AND A9; AA58:=A2 AND A6 AND A10; AA59:=A2 AND A7 AND A8; AA60:=A2 AND A7 AND A9; AA61:=A2 AND A7 AND A10; AA62:=A2 AND A8 AND A9; AA63:=A2 AND A8 AND A10; AA64:=A2 AND A9 AND A10; AA65:=A3 AND A4 AND A5; AA66:=A3 AND A4 AND A6; AA67:=A3 AND A4 AND A7; AA68:=A3 AND A4 AND A8; AA69:=A3 AND A4 AND A9; AA70:=A3 AND A4 AND A10; AA71:=A3 AND A5 AND A6; AA72:=A3 AND A5 AND A7; AA73:=A3 AND A5 AND A8; AA74:=A3 AND A5 AND A9; AA75:=A3 AND A5 AND A10; AA76:=A3 AND A6 AND A7; AA77:=A3 AND A6 AND A8; AA78:=A3 AND A6 AND A9; AA79:=A3 AND A6 AND A10; AA80:=A3 AND A7 AND A8; AA81:=A3 AND A7 AND A9; AA82:=A3 AND A7 AND A10; AA83:=A3 AND A8 AND A9; AA84:=A3 AND A8 AND A10; AA85:=A3 AND A9 AND A10; AA86:=A4 AND A5 AND A6; AA87:=A4 AND A5 AND A7; AA88:=A4 AND A5 AND A8; AA89:=A4 AND A5 AND A9; AA90:=A4 AND A5 AND A10;AA92:=A4 AND A6 AND A8;AA93:=A4 AND A6 AND A9;AA94:=A4 AND A6 AND A10;AA95:=A4 AND A7 AND A8;AA96:=A4 AND A7 AND A9;AA97:=A4 AND A7 AND A10;AA98:=A4 AND A8 AND A9;AA99:=A4 AND A8 AND A10;AA100:=A4 AND A9 AND A10;AA101:=A5 AND A6 AND A7;AA102:=A5 AND A6 AND A8;AA103:=A5 AND A6 AND A9;AA104:=A5 AND A6 AND A10;AA105:=A5 AND A7 AND A8;AA106:=A5 AND A7 AND A9;AA107:=A5 AND A7 AND A10;AA108:=A5 AND A8 AND A9;AA109:=A5 AND A8 AND A10;AA110:=A5 AND A9 AND A10;AA111:=A6 AND A7 AND A8;AA112:=A6 AND A7 AND A9;AA113:=A6 AND A7 AND A10;AA114:=A6 AND A8 AND A9;AA115:=A6 AND A8 AND A10;AA116:=A6 AND A9 AND A10;AA117:=A7 AND A8 AND A9;AA118:=A7 AND A8 AND A10;AA119:=A7 AND A9 AND A10;AA120:=A8 AND A9 AND A10;XG:=AA1 OR AA2 OR AA3 OR AA4 OR AA5 OR AA6 OR AA7 OR AA8 OR AA9 OR AA10 OR AA11 OR AA12 OR AA13 OR AA14 ORAA15 OR AA16 OR AA17 OR AA18 OR AA19 OR AA20 OR AA21 OR AA22 OR AA23 OR AA24 OR AA25 OR AA26 OR AA27 ORAA28 OR AA29 OR AA30 OR AA31 OR AA32 OR AA33 OR AA34 OR AA35 OR AA36 OR AA37 OR AA38 OR AA39 OR AA40 ORAA41 OR AA42 OR AA43 OR AA44 OR AA45 OR AA46 OR AA47 OR AA48 OR AA49 OR AA50 OR AA51 OR AA52 OR AA53 ORAA54 OR AA55 OR AA56 OR AA57 OR AA58 OR AA59 OR AA60 OR AA61 OR AA62 OR AA63 OR AA64 OR AA65 OR AA66 ORAA67 OR AA68 OR AA69 OR AA70 OR AA71 OR AA72 OR AA73 OR AA74 OR AA75 OR AA76 OR AA77 OR AA78 OR AA79 ORAA80 OR AA81 OR AA82 OR AA83 OR AA84 OR AA85 OR AA86 OR AA87 OR AA88 OR AA89 OR AA90 OR AA91 OR AA92 ORAA93 OR AA94 OR AA95 OR AA96 OR AA97 OR AA98 OR AA99 OR AA100 OR AA102 OR AA103 OR AA104 OR AA105 ORAA106 OR AA107 OR AA108 OR AA109 OR AA110 OR AA112 OR AA113 OR AA114 OR AA115 OR AA116 OR AA117 ORAA118 OR AA119 OR AA120;选股:=IF(XG,1,0),COLORRED;STICKLINE(FILTER(选股>=1,5),60,0,3,0),COLORRED;VARA3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55 ))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势:=EMA(VARA3,3)-10;VARB7:=LLV(LOW,30);VARA11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*20;VARA12:=HHV(VARA11,30)*20;火焰山:=EMA(IF(LOW<=VARB7 AND 趋势<40,(VARA11+VARA12),0),3)/618,COLORRED,LINETHICK2;火焰:=STICKLINE(火焰山>0,0,火焰山,3,1);今量:=火焰山;STICKLINE(火焰山>0,0,今量*1.2,2,0),COLORLIRED;DRAWTEXT( 选股,35,'抄底'),COLOR00FF00;。

通达信主力资金抄底选股指标公式程序源码编程思路破译

通达信主力资金抄底选股指标公式程序源码编程思路破译

通达信主力资金抄底选股指标公式程序源码编程思路破译
编程思路破译
主力资金抄底赋值:((3.48*收盘价+最高价+最低价)/4-收盘价的23日指数移动平均)/收盘价的23日指数移动平均的绝对值主力资金公式赋值:以主力资金抄底为权重(2.15*收盘价+最低价+最高价)/4的动态移动平均
SSEEE3赋值:主力资金公式的200日指数移动平均*1.118
SSEEE4赋值:(收盘价-1日前的收盘价)/1日前的收盘价*100>8
输出XG:收盘价上穿SSEEE3 AND SSEEE4
输出XG1:当满足条件XG时,在3和0位置之间画柱状线,宽度为2,0不为0则画空心柱.
程序源码
主力资金抄底:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));
主力资金公式:=DMA((2.15*CLOSE+LOW+HIGH)/4,主力资金抄底);
SSEEE3:=EMA(主力资金公式,200)*1.118;
SSEEE4:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>8;
XG:CROSS(CLOSE,SSEEE3) AND SSEEE4;
XG1:STICKLINE(XG,3,0,2,0);
注:
馆内各种公式为学习编程而保存,实战使用前一定要看其成功率回测数据和风险提示或者自己亲自测试近期成功率,决不能依据公式名称的描述和形容去投资,据此入市造成投资损失由投资者自己承担。

通达信公式源码精准抄底逃顶

通达信公式源码精准抄底逃顶

通达信公式源码精准抄底逃顶抄底逃顶是投资者们经常在股市中使用的一种操作策略。

通达信是一种常用的股票分析软件,它提供了一系列的公式(也称为指标),用于帮助投资者分析和预测股票市场的走势。

在这篇文章中,我将为你介绍一些常用的通达信公式源码,以帮助你更加准确地抄底逃顶。

首先,我们先介绍一下通达信如何使用公式源码。

通达信的公式源码是一种股票分析算法,需要通过编程语言(如C语言)来实现。

这种源码通常包含一系列的计算公式和函数,用于根据特定的股票数据进行分析和预测。

为了使用这些公式源码,你需要了解一些基本的编程知识,并能够将这些源码嵌入到通达信软件中。

下面是一些常用的通达信公式源码,用于精准抄底逃顶:1.均线指标源码:均线指标是衡量股票价格趋势的重要指标之一,通过计算一段时间内的平均价格来反映股票走势的平均趋势。

均线指标在抄底逃顶中非常有用,因为它可以帮助投资者捕捉到股票价格的长期趋势。

常用的均线指标包括简单移动平均线(SMA)和指数移动平均线(EMA)等。

以下是一个简单移动平均线的通达信公式源码示例:```//计算简单移动平均线double sma(double close[], int length)double sum = 0.0;for (int i = 0; i < length; i++)sum += close[i];}return sum / length;```2. MACD指标源码:MACD指标是一个非常常用的趋势指标,它可以帮助投资者把握到股票价格的短期和长期趋势。

MACD指标主要由两条线组成,分别是DIF(Difference)线和DEA(Divergence Exponential Average)线,它们在图表中的交叉和背离可以用来识别抄底逃顶的时机。

以下是一个简单的MACD指标的通达信公式源码示例:```//计算MACD指标void macd(double close[], int length, double &dif, double&dea)double ema12 = ema(close, 12);double ema26 = ema(close, 26);dif = ema12 - ema26;dea = ema(dif, 9);```3.相对强弱指标源码:相对强弱指标(RSI)是一个广泛应用于股票分析的技术指标,它通过计算一段时间内的平均涨幅和平均跌幅来判断股票价格的强弱程度。

通达信20个抄底指标公式

通达信20个抄底指标公式

通达信20个抄底指标公式250,COLORWHITE,LINETHICK4;{1.高春牛组合90%--信号少}CAR1:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55);CAR2:=CLOSE/REF(CLOSE,1)>1.028;CAR3:=MA(CLOSE,10)>CLOSE*1.05;CAR4:=MA(CLOSE,10)<CLOSE*1.1;CAR5:=MA(CLOSE,60)>CLOSE*1.28;金牛:=CAR1 AND CAR2 AND CAR3 AND CAR4 AND CAR5;DIF1:=(CLOSE-SMA(CLOSE,7,1))/SMA(CLOSE,7,1)*(-100);DEA1:=REF(DIF1,1)>13 AND REF(DIF1,1)/DIF1>1.3 AND CLOSE/REF(CLOSE,1)>1.03;KOV:=IF(DEA1 AND REF(CLOSE,1)<=COST(5),28,0);PIC:=IF(DEA1 AND REF(CLOSE,1)<=COST(5),18,0);春笋:=IF(DEA1 AND REF(CLOSE,1)<=COST(5),1,0) AND C<MA(C,60);VAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR5:=(VAR2+2*VAR3+3*VAR4)/6;VAR6:=MA(VAR5,3);D02:=VAR6<=-10;VAR11:=CLOSE/MA(CLOSE,30)*100<75;VAR12:=CLOSE/MA(CLOSE,50)*100<78;VAR13:=CLOSE/MA(CLOSE,70)*100<72;VAR14:=HIGH>LOW*1.053;VAR15:=VAR14 AND COUNT(VAR14,5)>2;VAR16:=(VAR11 AND VAR12) OR (VAR12 AND VAR13) OR (VAR11 AND VAR13);D4:=VAR15 AND VAR16;高精:=D02 AND COUNT(D4,3)>=1;高春牛组合:金牛 AND 春笋 AND 高精,COLORLIMAGENTA;STICKLINE(高春牛组合,0,210,3,0),COLORLIMAGENTA;DRAWTEXT(高春牛组合,210,'↙高春牛组合90%'),COLORLIMAGENTA;{2明道88%}AAA:=(C-MA(C,90))/MA(C,90)*100;BBB:=(COST(11)-CLOSE)/CLOSE>0.15;明道:CROSS(AAA,-26) AND BBB,COLOR00F5C2;STICKLINE(明道,0,200,3,0),COLOR00F5C2;DRAWTEXT(明道,200,'↙明道88%'),COLOR00F5C2;{3赢一波组合84%}BIAS0:=(C-MA(C,2))/MA(C,2)*100;HXL:=V/CAPITAL*100;D1:=INDEXC;D2:=MA(D1,13);DR2:=D2>1.040*D1;E1:=(C-HHV(C,12))/HHV(C,12)*10;E2:=(C-REF(C,26))/REF(C,26)*10;E3:=MA(C,3);SJ1:=DR2;SJ2:=E2<-2.30;SJ3:=BIAS0<-2.7;SJ5:=SJ1 AND SJ2 AND SJ3;一:=CROSS(0.5,SJ5);C1X:=((MA(C,30)-L)/MA(C,60))*200;M1X:=REF(CLOSE,1);M2X:=SMA(MAX(CLOSE-M1X,0),7,1)/SMA(ABS(CLOSE-M1X),7,1)*100;G1X:=FILTER(REF(M2X,1)<20 AND M2X>REF(M2X,1),5);TUX:=C/MA(C,40)<0.74;TDJX:=(H-L)/REF(C,1)>0.05;YULX:=COUNT(TDJX,5)>1;启动X:=TUX AND TDJX AND YULX;波:=FILTER((G1X AND C1X>20 OR C>REF(C,1)) AND REF(启动X,1),10);ETG1:=CLOSE/MA(CLOSE,30)*100<75;ETG2:=CLOSE/MA(CLOSE,50)*100<78;ETG3:=HIGH>LOW*1.053;ETG4:=ETG3 AND COUNT(ETG3,5)>2;ETG5:=ETG4 AND (ETG1 OR ETG2);ETG6:=DMA(EMA(CLOSE,5),SUM(VOL,8)/2.8/CAPITAL);ETG7:=(CLOSE-ETG6)/ETG6*100;赢:=REF(ETG7,1)<-34 AND ETG7>REF(ETG7,1) AND REF(ETG7,1)<REF(ETG7,2)AND ETG7-REF(ETG7,1)>1.76 OR ETG5;赢一波组合:赢 AND 一 AND 波,COLOR2A2AA3;STICKLINE(赢一波组合,0,190,3,0),COLOR2A2AA3;DRAWTEXT(赢一波组合,190,'↙赢一波组合84%'),COLOR2A2AA3;{4率土之滨-85%信号较少}X01:=MA(C,10)/C>1.055;X02:=MA(C,10)/C<1.1;X03:=MA(C,60)/C>1.28;X04:=C/REF(C,1)>1.028;X05:=H>L*1.05 AND COUNT(H>L*1.05,5)>3;X06:=O/HHV(C,30)<0.78;X07:=V<MA(V,5) AND MA(V,5)<MA(V,55);X08:=O=LLV(O,30);率土之滨:X01 AND X02 AND X03 AND X04 AND X05 AND X06 AND X07 AND X08,COLORFFFFAA;STICKLINE(率土之滨,0,180,3,0),COLORFFFFAA;DRAWTEXT(率土之滨,180,'↙率土之滨84%'),COLORFFFFAA;{5钻石底-87%}VBR:=C<REF(C,4);NT0:=BARSLASTCOUNT(VBR);TJ21:=NT0=6 ;底6:=COUNT(NT0=6,5)=1;VBR1:=DMA(CLOSE,VOL/SUM(VOL,34));VBR2:=DMA(CLOSE,VOL/SUM(VOL,13));VBR3:=(CLOSE-VBR1)/VBR1*100;VBR4:=(CLOSE-VBR2)/VBR2*100;Y1:=VBR4<=-17 AND VBR3<=-25;去除ST:=IF(NAMELIKE('ST') OR NAMELIKE('*ST'),0,1);去除停牌:=DYNAINFO(4)>0;去除:=去除ST AND 去除停牌;Q1:=底6 AND Y1 AND 去除;超卖区:=MA((CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 ,2);Q2:=超卖区<-20;钻石底:Q1 AND Q2 AND C>REF(C,1)*0.91 AND C<REF(C,1) AND INDEXC<REF(INDEXC,1) AND REF(C>REF(C,1),1),COLOR0033FF;STICKLINE(钻石底,0,170,3,0),COLOR0033FF;DRAWTEXT(钻石底,170,'↙☆☆钻石底87%'),COLOR0033FF;{6金牛起步83%}CAR0:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55);CAR02:=CLOSE/REF(CLOSE,1)>1.028;CAR03:=MA(CLOSE,10)>CLOSE*1.05;CAR04:=MA(CLOSE,10)<CLOSE*1.1;CAR05:=MA(CLOSE,60)>CLOSE*1.28;金牛起步:CAR0 AND CAR02 AND CAR03 AND CAR04 AND CAR05,COLOR0060FF;STICKLINE(金牛起步,0,160,3,0),COLORWHITE;STICKLINE(金牛起步,0,160,3.2,0),COLOR555555;STICKLINE(金牛起步,0,160,2.6,0),COLOR777777;STICKLINE(金牛起步,0,160,1.9,0),COLOR999999;STICKLINE(金牛起步,0,160,1.1,0),COLORCCCCCC;STICKLINE(金牛起步,0,160,0.3,0),COLORCCDDBB;DRAWTEXT(金牛起步,160,'↙金牛起步83%'),COLOR0060FF;{7超跌选股80%}AAA1:=BARSLASTCOUNT(C>REF(C,4));高A:=( AAA1=1);VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*200+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*300+(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100)/6;VAR02:=MA(VAR1,6);VAR03:=(HHV(HIGH,60)-REF(C,1))/HHV(HIGH,60)>0.3 AND (HHV(HIGH,60)-REF(C,1))/HHV(HIGH,60)<0.4;超跌选股:CROSS(VAR1,VAR02) AND VAR1<-8.5 AND VAR03 AND 高A;STICKLINE(超跌选股,0,150,3,0),COLORBD4DB6;DRAWTEXT(超跌选股,150,'↙超跌选股80% '),COLORBD4DB6;{8锤头王-80%}CD1:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.57;CD2:=LOW/MIN(CLOSE,OPEN)<=0.97;EMA9:=EMA(CLOSE,9);XSLDN:=EMA(EMA9*0.86,5);CD3:=C<=XSLDN;CD4:=REF(C,1)/REF(XSLDN,1)<0.98;锤头王:C/REF(C,1)>0.99 AND CD1 AND CD2 AND CD3 AND CD4,COLOR9F46B4;STICKLINE(锤头王,0,140,3,0),COLOR9F46B4;DRAWTEXT(锤头王,140,'↙80% '),COLOR9F46B4;{9核心低点-81%}X_01:=O/HHV(C,30)<0.78;X_02:=C/MA(C,50)<0.78;X_03:=O=LLV(O,30);X_04:=C/SMA(C,13,1)-1;X_05:=REF(X_04,1)<-0.13;X_06:=REF(X_04,1)/X_04>1.1582;X_07:=REF(C,1)<=COST(5);X_08:=COUNT(H>L*1.05,5)>2;核心低点:X_01 AND X_02 AND X_03 AND X_05 AND X_06 AND X_07 AND X_08,COLORLIGREEN;STICKLINE(核心低点,0,130,3,0),COLORLIGREEN;DRAWTEXT(核心低点,130,'↙核心低点81%'),COLORLIGREEN;{10狗头金综75%}BIAS01:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;BIAS02:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;BIAS03:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,11)*100;老二:=IF(BIAS02<=-10,1,0);DIF3:=EMA(CLOSE,12)-EMA(CLOSE,150);DEA3:=EMA(DIF3,9);MACD3:=(DIF3-DEA3)*2;爆发:=MACD3<0 AND MACD3>REF(MACD3 ,1) AND REF(MACD3 ,1)<REF(MACD3 ,2)AND REF(MACD3 ,2)<REF(MACD3 ,3)AND REF(MACD3 ,3)<REF(MACD3 ,4);VVAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VVAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VVAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VVAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VVAR5:=(VAR2+2*VVAR3+3*VVAR4)/6;VVAR6:=MA(VVAR5,3);大底:=VVAR6<=-10;VVAR11:=CLOSE/MA(CLOSE,20)*100<80;VVAR12:=CLOSE/MA(CLOSE,40)*100<78;VVAR13:=CLOSE/MA(CLOSE,60)*100<72;VVAR14:=HIGH>LOW*1.051;VVAR15:=VVAR14 AND COUNT(VVAR14,5)>1;中底:=VVAR15 AND (VVAR11 OR VVAR12 OR VVAR13);操盘:=EMA((CLOSE-MA(CLOSE,3))/MA(CLOSE,3),2);跟风:=EMA((CLOSE-MA(CLOSE,20))/MA(CLOSE,20),7);见到曙光:=CROSS(操盘,跟风) AND 操盘 <0 AND 跟风 <0;趋势线1:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 ;AAX:=((REF(趋势线1,1)<REF(趋势线1,2) AND 趋势线1<-30) AND 趋势线1>=REF(趋势线1,1)) OR (REF(CROSS(-30,趋势线1),1) AND CROSS(趋势线1,-30)) OR 趋势线1=-30;砸盘:=IF(AAX,500,-30);BBX:=((REF(趋势线1,1)<REF(趋势线1,2) AND 趋势线1<-20 AND 趋势线1>-25) AND 趋势线1>=REF(趋势线1,1)) OR (REF(CROSS(-20,趋势线1),1) AND CROSS(趋势线1,-20));XG:=BBX;WW:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);MM:=DMA(CLOSE,WW);通道4:=(1-7/100)*MM;VAR84:=EXPMA(CLOSE,9);LDN:=EXPMA(VAR84*0.86,5);TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));TTRR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);HD:=HIGH-REF(HIGH,1);LD:=REF(LOW,1)-LOW;DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);PDI:=DMP*100/TTRR;MDI:=DMM*100/TTRR;ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);买底:=C<=通道4 AND C<=LDN AND CCI<-100AND ADX>=60 AND MDI >= PDI AND CLOSE>OPEN;VAR82:=LLV(LOW,10);VAR83:=HHV(HIGH,25);能量:=EMA((CLOSE-VAR82)/(VAR83-VAR82)*4,4);底:=0.2;关注:=0.5;红色箭头:=FILTER(CROSS(能量,关注),20);XXG:=买底 OR 红色箭头;AX:=SMA((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100,4,1);BX:=SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,4,1);MBX:=SMA((BX-50)*2,3,1)+SMA((AX-50)*2,3,1)/2;狗头金:=MBX<-90;狗头金综: 狗头金AND COUNT(XG,5) AND COUNT(中底,3) AND NOT(COUNT(XXG,1)) AND NOT(COUNT(见到曙光,3)) ANDCOUNT(老二,3) AND 大底 AND 爆发,NODRAW,COLORFF7080;STICKLINE(狗头金综,0,120,3,0),COLORFF7080;DRAWTEXT(狗头金综,120,'↙☆☆狗头金75%'),COLORFF7080;{11高精抄底75%}DIF:=EMA(CLOSE,12)-EMA(CLOSE,150);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;VAR7:=MACD<0 AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);VAR8:=MACD<0 AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3);VAR9:=MACD<0 AND REF(MACD,1)<REF(MACD,2);VAR10:=VAR7 OR VAR8 OR VAR9;D3:=VAR10;VAR016:=(VAR11 AND VAR12) OR (VAR12 AND VAR13) OR (VAR11 AND VAR13);D04:=VAR15 AND VAR16;趋势线:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;AA:=((REF(趋势线,1)<REF(趋势线,2) AND 趋势线<-30) AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-30,趋势线),1) AND CROSS(趋势线,-30)) OR 趋势线=-30;BB:=((REF(趋势线,1)<REF(趋势线,2) AND 趋势线<-20 AND 趋势线>-25) AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-20,趋势线),1) AND CROSS(趋势线,-20));D5:=BB;SHYY:=D2 AND D3 AND COUNT(D04,3)>=1 AND COUNT(D5,5)>=1;高精抄底:BARSLASTCOUNT(SHYY)=1,COLORE55B35;STICKLINE(高精抄底,0,110,3,0),COLORE55B35;DRAWTEXT(高精抄底,110,'↙高精抄底75%'),COLORE55B35;{12吉祥低吸75%}VARR2:=(2*CLOSE+HIGH+LOW)/4;VARR4:=LLV(LOW,5);VARR5:=HHV(HIGH,4);吉:=EMA((VARR2-VARR4)/(VARR5-VARR4)*100,4);祥:=EMA(0.667*REF(吉,1)+0.333*吉,2);获利比:=(WINNER(C*125/100)-WINNER(C))*100<7.5;吉祥低吸:CROSS(吉,祥) AND 吉<30 AND 获利比,COLOR93CB3F;STICKLINE(吉祥低吸,0,100,3,0),COLOR93CB3F;DRAWTEXT(吉祥低吸,100,'↙高精抄底75%'),COLOR93CB3F;{13抄底深套盘76%}深套:WINNER(C)*100<10 AND (WINNER(C*1.25)-WINNER(C))*100<20AND C/REF(C,1)>1.0138 AND V/REF(V,1)<1,COLOR802391;STICKLINE(深套,0,100,3,0),COLOR802391;DRAWTEXT(深套,100,'↙深套75%'),COLOR802391;{14大红马75%}VARR10:=EMA(WINNER(C)*70,3);VAR20:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,3);VAR30:=C/MA(C,40)*100<76;VAR40:=C/MA(C,60)*100<74;VAR50:=H>L*1.051;VAR60:=VAR50 AND COUNT(VAR50,5)>1;VAR70:=(WINNER(C*125/100)-WINNER(C))*100<7.5;VAR80:=1;TZB:=-0.2*(VAR60 AND (VAR30 OR VAR40) AND VAR20<20 AND VARR10<20 AND VAR70 AND VAR80);DHM:=TZB<0 AND REF(TZB,1)=0;风险值:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3)<=10;机会来临:=REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1);HJ_11:=CLOSE/MA(CLOSE,40);HJ_12:=CLOSE/MA(CLOSE,60)*100<71;大魔鬼:=CROSS(HJ_11,HJ_12) AND 风险值 AND 机会来临;大红马:DHM OR 大魔鬼,COLOR3369FF;STICKLINE(大红马,0,90,3,0),COLOR3369FF;DRAWTEXT(大红马,90,'↙大红马75%'),COLOR3369FF;{15逆市买入77%}VAR31A:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR32A:=DMA(CLOSE,VOL/MA(VOL,32)/32);VAR31:=(CLOSE-VAR31A)/VAR31A*100<-8;VAR32:=(VAR31A-VAR32A)/VAR32A*100<-21;VAR33:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05;VAR34:=COUNT(NOT(C=O),8)>=8;逆市买入:VAR31 AND VAR32 AND VAR33 AND VAR34,COLOR588500;STICKLINE(逆市买入,0,80,3,0),COLOR588500;DRAWTEXT(逆市买入,80,'↙逆市买入77%'),COLOR588500;{16短线黑马-76%}VAR1C:=DMA(C,VOL/MA(VOL,4)/4);VAR2C:=DMA(C,VOL/MA(VOL,33)/33);VAR3C:=(C-VAR1C)/VAR1C*100<-11;VAR4C:=(VAR1C-VAR2C)/VAR2C*100<-22.3;VAR5C:=VAR3C AND VAR4C AND COUNT(C<>O,7);VAR6C:=DMA(C,VOL/MA(VOL,3)/3);VAR7C:=DMA(C,VOL/MA(VOL,33)/33);VAR8C:=(C-VAR6C)/VAR6C*100<-5;VAR9C:=(VAR6C-VAR7C)/VAR7C*100<-18;VARDC:=VAR8C AND VAR9C AND (O-REF(C,1))/REF(C,1)>-0.05;VAREC:=VARDC AND COUNT(VARDC,2)=1;DXHM:=VAR5C OR VAREC;趋势:=SMA(MAX(C-REF(C,1),0),8,1)/SMA(ABS(C-REF(C,1)),8,1);HMA:=CROSS(趋势,0.15);X_21:=(C-MA(C,25))/MA(C,45)*123;BAME:=CROSS(X_21,(-25)) AND C>REF(C,1);HJ_1:=C/MA(C,40);HJ_2:=C/MA(C,60)*100<71;MOGU:=CROSS(HJ_1,HJ_2);短线黑马:(DXHM AND HMA) OR (BAME AND MOGU),COLORF7A186;STICKLINE(短线黑马,0,70,3,0),COLORF7A186;DRAWTEXT(短线黑马,70,'↙短线黑马77%'),COLORF7A186;{17神剑出鞘-70%}T1:=(INDEXC-MA(INDEXC,58))/MA(INDEXC,58)<-0.152;T2:=(C-EMA(C,58))/EMA(C,58)<-0.19;买1:=T2 AND T1;T4:=(C-MA(C,2))/MA(C,2)*100;T5:=INDEXC;T6:=MA(T5,13);T7:=T6>1.050*T5;T8:=(C-REF(C,26))/REF(C,26)*10;T9:=T7;T10:=T8<-2.30;T11:=T4<-2.7;T12:=T9 AND T10 AND T11;T13:=CROSS(0.5,T12);T14:=CROSS(T13,0.5);T15:=BARSLAST(T14=1);T16:=T15<=5 AND C<REF(C,T15);买2:=T13 OR T16;T17:= (C-MA(C,2))/MA(C,2)*100;T18:=INDEXC;T19:=MA(T18,56);T20:=T18/T19<0.94;T21:=(C-REF(C,26))/REF(C,26)*10;T22:=T20;T23:=T21<-2.55;T24:=T17<-2.7;T25:=T22 AND T23 AND T24;T26:=CROSS(0.5,T25);T27:=CROSS(T26,0.5);T28:=BARSLAST(T27=1);T29:=T28<=5 AND C<1.02*REF(C,T28); 底4:=T26 OR T29;T30:= (C-MA(C,2))/MA(C,2)*100;T31:=INDEXC;T32:=MA(T31,13);T33:=T32>1.050*T31;T34:=(C-REF(C,26))/REF(C,26)*10;T35:=T33;T36:=T34<-2.69;T37:=T30<-3.09;T38:=T35 AND T36 AND T37;T39:=CROSS(0.5,T38);T40:=CROSS(T39,0.5);T41:=BARSLAST(T40=1);T42:=T41<=5 AND C<REF(C,T41);买3:=COUNT(T39 OR T42,4)=4;T43:=EMA(((C*1.1-LLV(LOW,630))/(HHV(HIGH,630)-LLV(LOW,630))-(C*0.9-LLV(LOW,630))/(HHV(HIGH,630)-LLV(LOW,630)))*80,5);T44:=INDEXC;T45:=MA(T44,5);T46:=MA(T44,20);T47:=MA(T44,30);T48:=T45>T44*1.03 AND T46>T44*1.13;T49:=T48;目标:=COUNT(T43<6 AND T49,3)>=3;新目标:=买3 OR 目标;SHYY1:=IF(((COUNT(买1 AND 底4,6)=6 OR COUNT(买1 AND 买2,4)=4 OR COUNT(买2 AND 底4,5)=5) OR 新目标),1,0);神剑出鞘:BARSLASTCOUNT(SHYY)=1,COLORFF0080;STICKLINE(神剑出鞘,0,60,3,0),COLORFF0080;DRAWTEXT(神剑出鞘,60,'↙神剑出鞘70%'),COLORFF0080;{18成功抄底-77%}AA1:=('999999$C'/REF('999999$C',20)-1)*100<-16 AND (C/REF(C,27)-1)*100<-35;A96:=FILTER(AA,3);VBR41:=1;VAR013:=V/CAPITAL;REC1:=REF(C,1);VBR42:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 AND C/REC1>0.905 AND C/REC1<1.05 AND VAR13*100<5,50,0);VBR43:=(-100)*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))+100;VBR44:=(-100)*(HHV(H,50)-C)/(HHV(H,50)-LLV(L,50))+100;VBR45:=(-100)*(HHV(H,70)-C)/(HHV(H,70)-LLV(L,70))+100;VBR46:=((C-MA(C,34))/MA(C,34)*100+10)*5;VBR47:=((C-MA(C,50))/MA(C,50)*100+10)*5;VBR48:=((C-MA(C,70))/MA(C,70)*100+10)*5;VBR49:=(VBR43+VBR44+VBR45+VBR46+VBR47+VBR48)/6; VBR60:=EMA(VBR49,3);VBR61:=ABS(VBR46-VBR48);VBR62:=(VBR49+VBR61)/2;VBR50:=IF(VBR62<0 AND C=LLV(C,5) AND C/REC1>0.905 AND C/REC1<1.05 AND VAR13*100<5,-50,0);VBR53:=REF(C,2)*0.865;VBR54:=REF(C,13)*0.772;VBR55:=MIN(VBR53,VBR54);VBR56:=100*VAR013;VBR58:=IF((C-VBR55)/C<0.03 AND SUM(VBR56,5)/5<1.8,1,0);VBR59:=IF(VBR58>0 AND (VBR50<0 OR VBR42>0),100,0);VBR1F:=MA(C,80)-MA(C,10)/2.5;F98:=VBR59 AND C<VBR1F*VBR41;UAR13:=EMA(SLOPE(C,3)*20+C,66)*1;UAR14:=MA(C,80)-MA(C,10)/2.9;DQR1:=MA(C,80)-MA(C,13)/3;DQR2:=MA((C-DQR1)/DQR1,1);DQR3:=EMA(DQR2,12)*0.7;DQR4:=EMA(DQR2,3);底部将成:=IF(LLV(DQR4-DQR3,12)>0,0,-3);下降通道:=MA(C/2/(MA(C/2,30)*0.83),3)<1.045 AND REF(C,9)*0.8>O;ZAA1:=MA(C,18);ZAA2:=(C-ZAA1)/ZAA1*100;ZAA3:=MA(ZAA2,1);ZAA4:=BARSLAST(CROSS(-10,ZAA3)=1);信号滤:=IF(ZAA3<-10 AND ZAA4>=5,ZAA3,0)*1;DQSE:=(IF(WINNER(1.1*C)<0,0,WINNER(1.1*C))-IF(WINNER(0.9*C)<0,0,WINNER(0.9*C)))*100;DQS16:=IF(DQSE<0,0,DQSE);DQS17:=MA(C,35)-MA(C,5)/7;异动:=PWINNER(10,DQS16)<0.5 AND C<DQS17;C95:=C<UAR14 AND V/240>MA(V,5)/240 AND UAR13>REC1*1.08 AND UAR13<MA(UAR13,13)*1.91 AND 底部将成 AND 下降通道 AND 信号滤 AND 异动;成功抄底:A96 OR F98 OR C95,COLOR62B18A;STICKLINE(成功抄底,0,50,3,0),COLOR62B18A;DRAWTEXT(成功抄底,50,'↙成功抄底77%'),COLOR62B18A;{19MACD选股-77%}MA5:=MA(C,5);MA10:=MA(C,10);MA15:=MA(C,15);MA20:=MA(C,20);MA30:=MA(C,30);MA40:=MA(C,40);MA60:=MA(C,60);DIF2:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA2:=EMA(DIF2,9);MACD2:=(DIF2-DEA2)*2;上影线:=(H-MAX(C,O))/(MAX(C,O)-MIN(C,O));下影线:=(MAX(C,O)-L)/(MAX(C,O)-MIN(C,O));水上金叉:=REF(MACD2,3)=LLV(MACD2,10) AND REF(MACD2<0,3) AND EVERY(MACD2>REF(MACD2,1),2) AND CROSS(DIF2,DEA2) AND BETWEEN(HHV(MACD2,28)/ABS(LLV(MACD2,7)),0.5,1.8) ANDEVERY(DEA2>=0,50) AND NOT(REF((O<MA20 AND C>MA5),2)) AND NOT(O=L) AND NOT(REF(O=L,2)) AND NOT(O>MA5 AND L<=MA5) AND NOT(REF(H=MA5,3)) AND REF(下影线<5.24,3)AND NOT(REF(C=L,3)) AND V>REF(V,1)*1.51 AND NOT(C<O) AND NOT(REF(CROSS(MA15,MA10),2)) AND NOT(REF(L<MA5 AND O>MA10 AND O>C,1)) AND NOT(REF(CROSS(MA10,MA5),2));水下金叉:=REF(MACD2,3)=LLV(MACD2,11) AND REF(MACD2<0,3) AND EVERY(MACD2>REF(MACD2,1),2) AND CROSS(DIF2,DEA2) AND EVERY(DEA2<0,14) AND BETWEEN(V,MA(V,10)*0.662,MA(V,10)*0.75)AND BETWEEN(HHV(MACD2,28)/ABS(LLV(MACD2,7)),0.8,1.9) AND NOT(CROSS(MA15,MA20)) AND NOT(C=O) AND NOT(REF(CROSS(MA20,MA10),3)) AND NOT(CROSS(MA20,MA10)) ANDNOT(H>MA10 AND CROSS(C,MA10)) AND NOT(H>MA20 AND L<MA5) AND NOT(REF(H>MA20 AND L<MA5,1)) AND NOT(REF(CROSS(MA20,MA10),2)) AND 下影线<15.99 AND NOT(REF(CROSS(MA15,MA10),1)) AND NOT(O=L) AND REF(下影线<8.24,2) AND NOT(REF(L<MA5 AND CROSS(C,MA10),1)) AND REF(下影线<5.99,1);金叉:=水上金叉 OR 水下金叉;底0:=BETWEEN(LLV(MACD,30),-0.0002,-0.6) AND REF(CROSS(DIF,DEA) AND BETWEEN(V,MA(V,10)*0.35,MA(V,10)*0.75) ,3) AND CROSS(MA5,MA10) AND BETWEEN(V,REF(V,1)*0.6,REF(V,1)*1.2) AND NOT(O<MA30 AND C>MA30 AND C>MA20) AND NOT(L<MA5 AND L<MA30 AND C>MA5) AND NOT(CROSS(MA15,MA30)) AND NOT(CROSS(MA20,MA30)) ANDC>O AND 下影线<3.27AND 上影线<7.74 AND NOT(H>MA20 AND O<MA15 AND MA20>MA15) AND NOT(CROSS(MA5,MA30) AND CROSS(MA5,MA20) AND CROSS(MA5,MA15)) AND NOT(C>MA40 AND L<MA30 AND MA40>MA30)AND NOT(REF(CROSS(MA10,MA5) AND C>MA60 AND L<MA60,4)) AND NOT(CROSS(MA5,MA30)) AND NOT(CROSS(MA20,MA40)) AND NOT(REF(V>REF(V,1)*2.22,1)) AND NOT(REF(C=O,3))AND NOT(REF(CROSS(MA5,MA15),1)) ;底1:=底0 AND NOT(REF(CROSS(MA20,MA10),3)) AND NOT(REF(CROSS(MA10,MA5),3)) AND NOT(REF(O>MA10 AND L<MA5 AND MA10>MA5 AND C<O,2))AND NOT(REF(H>MA20 AND O<MA15,1)) AND REF(下影线<22.99,1) AND NOT(REF(CROSS(C,MA10) AND CROSS(C,MA15),1)) AND REF(上影线<35.99,2);MACD选股:金叉 OR 底1,COLORFF00FF;STICKLINE(MACD选股,0,40,3,0),COLORFF00FF;DRAWTEXT(MACD选股,40,'↙MACD选股77%'),COLORFF00FF;{20大周期底部73%-满回塘}L40:=MA(C,40);L60:=MA(C,60);VVAR01:=CLOSE/L40*100<78;VVAR02:=CLOSE/L60*100<74;VVAR03:=HIGH>(LOW*1.051);VVAR04:=VAR03 AND COUNT(VAR03,5)>1;VVAR05:=CLOSE/HHV(HIGH,BARSCOUNT(CLOSE>0))*100;DJH:=IF((REF(C,13)-CLOSE)/REF(C,13)*100*VVAR02>15AND SUM(VOL/CAPITAL,13)*100<18 ANDVOL/CAPITAL*100<2.5AND (REF(C,1)-CLOSE)/REF(C,1)*100<8 AND VVAR05<=50 AND VVAR04AND (VVAR01 OR VVAR02),1,0);大周期底部:FILTER(DJH,6)NODRAW,COLORLICYAN;STICKLINE(大周期底部,0,30,3,0),COLORFF00FF;DRAWTEXT(大周期底部,30,'↙大周期底部73%'),COLORFF00FF;。

通达信指标公式源码底部确认 抄底的好指标 无未来

通达信指标公式源码底部确认 抄底的好指标 无未来

底部确认抄底的好指标无未来A:=LLV(L,34);XD:=SMA(ABS(L-REF(L,1)),34,1);CD:=SMA(MAX(L-REF(L,1),0),34,2);收盘买:=-(EMA(IF(L<=A,XD/CD,-3),9));抢反弹:收盘买<0 AND 收盘买>REF(收盘买,1) AND REF(EVERY(收盘买<REF(收盘买,1),3),1),COLORYELLOW;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100 ;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X2:=LLV(J,2)=LLV(J,8);B:CROSS(J,REF(J +0.01,1)) AND X2 AND J<20 AND 收盘买<0 AND 收盘买>REF(收盘买,1),COLORRED;B2:CROSS(J,REF(J+0.01,1)) AND X2 ANDJ<20,COLORMAGENTA;DRAWTEXT(B2,0.35,'★关注★'),COLOR109090;B3:=抢反弹AND REF(B2,1);DRAWBAND(B2,RGB(255,100,30),B3,RGB(255,20,20));DRAWTEXT(B3,0.45,'★不买更后悔★');B4:=抢反弹AND REF(B2,1)OR REF(B2,2);DRAWTEXT(B3,0.35,'★反弹确认★'),COLORYELLOW;STICKLINE(B3,0,0.43,2,0),COLORYELLOW;STICKLINE(B,0,0.43,2,0),C OLORRED;DRAWTEXT(B,0.35,'★不买后悔★'),COLORRED;B8:=REF((CROSS(J,REF(J+0.01,1)) AND X2 AND J<20),2) AND 抢反弹;DRAWTEXT(B8,0.8,'★阶段底部确认★'),COLORYELLOW;DRAWBAND(B2,RGB(255,100,50),B8,RGB(255,30,30));STICKLINE(B2, 0,0.36,2,0),COLOR109090;STICKLINE(B2 ANDREF(PSY<=10,1),0,0.68,2,0),COLOR801090;DRAWTEXT(B2 AND REF(PSY<=10,1),0.68,'★买点★'),COLOR801090;STICKLINE(B2 AND H>O AND C=H AND L<O AND L>REF(L,1) AND C>O AND REF((C<O),1),0,0.18,2,0)COLOR801090;DRAWTEXT(B2 AND H>O AND C=H AND L<O AND L>REF(L,1) AND C>O AND REF((C<O),1),0.18,'阶段底部低吸★'),COLOR801090;STICKLINE(B2 AND REF(RSI<=20,1),0,0.10,2,0),COLOR900000;。

通达信指标公式源码 抄底公式(副图)

通达信指标公式源码 抄底公式(副图)

Var1:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,18),30)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);Var2:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;Var3:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;Var4:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;Var5:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;Var6:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;Var7:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;Var8:=(Var2+Var3+Var4+Var5+Var6+Var7)/6;Var9:=EMA(Var8,3);VarA:=ABS(Var5-Var7);VarB:=(Var8+VarA)/2;VarC:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;VarD:=VarC+VarB;VarE:=IF(Var1>0 AND VarD<0,200,0);VarF:=IF(VarB<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);Var10:=IF(VarD<0 AND VarF=-50,100,0);Var11:=MA(CLOSE,3);Var12:=REF(CLOSE,2)*0.865;Var13:=REF(CLOSE,13)*0.772;Var14:=MIN(Var12,Var13);Var15:=100*VOL/CAPITAL;Var16:=MA(CLOSE,13);Var17:=IF((CLOSE-Var14)/CLOSE<0.03 AND SUM(Var15,5)/5<1.8,1,0);Var18:=IF(Var17>0 AND (VarF<0 OR Var1>0),100,0);Var19:=Var18;Var1A:=IF(VarE>0 AND Var10>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var17>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902 OR (VarE>0 AND Var10>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var17>0) AND (VarF<0 OR Var1>0) AND Var18<10,50,0);Var1B:=(VarE>0 AND Var10>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var17>0) AND (VarF<0 OR Var1>0);Var1C:=VarE>0 AND Var10>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var17>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;Var1B OR Var1C;。

通达信8个经典抄底逃顶指标公式

通达信8个经典抄底逃顶指标公式

通达信注意抄底逃顶指标公式来源:Internet,编辑:股旁网,2019-10-05Var1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100; Var2:=SMA(Var1,3,1);Var3:=SMA(Var2,3,1);Var4:=SMA(Var3,3,1);波: Var3;段: Var4;Var6:=CROSS(Var3,Var4) AND Var3<20;DRAWTEXT(FILTER(Var6,10)=1,40,'抄底'),LINETHICK3 ;STICKLINE(FILTER(Var6,10)=1,0,30,10,0),COLORGREEN ;Var7:=CROSS(Var4,Var3) AND Var3>80;STICKLINE(FILTER(Var7,5)=1,80,100,10,0),COLORYELLOW ; DRAWTEXT(FILTER(Var7,5)=1,70,'逃顶'),LINETHICK3 ,COLORYELLOW; Var8:=CROSS(Var2,Var3) AND Var3>80 AND Var3>Var4; STICKLINE(Var8,85,100,10,0) ;90 ;0;通达信借钱抄底指标公式来源:Internet,编辑:股旁网,2019-09-18VAR1:=(CLOSE+HIGH+LOW+OPEN)/4;VAR2:=SUMBARS(VOL,CAPITAL);VAR3:=HHV(VAR1,VAR2);VAR4:=LLV(VAR1,VAR2);VAR5:=(2*VAR1-VAR4-REF(VAR4,1))/(VAR3-VAR4);VAR6:=(VAR1-VAR4)/(VAR3-VAR4);VAR7:=IF(VAR1<=VAR4,VAR5*60,VAR6*60);VAR8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);VAR9:=EMA(VAR8,7);VARA:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;VARB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;波段买入: IF(VARA+VARB<7 AND CROSS(VAR8,VAR9) AND VAR9<-18 AND VAR9<VARB,60,50),COLORYELLOW , ; DRAWICON(波段买入=60,70,1),COLORRED;VARC:=HHV(HIGH,9)-LLV(LOW,9);VARD:=HHV(HIGH,9)-CLOSE;VARE:=CLOSE-LLV(LOW,9);VARF:=VARD/VARC*100-70;VAR10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;VAR11:=(2*CLOSE+HIGH+LOW)/4;VAR12:=SMA(VARE/VARC*100,3,1);VAR13:=LLV(LOW,34);VAR14:=SMA(VAR12,3,1)-SMA(VARF,9,1);VAR15:=IF(VAR14>100,VAR14-100,0);VAR16:=HHV(HIGH,34);VAR17:EMA((VAR11-VAR13)/(VAR16-VAR13)*100,8);VAR18:=EMA(VAR17,5);STICKLINE(VAR17>0 AND VAR17-VAR18>=0,79,80,6,0), ,COLORRED ;STICKLINE(VAR17>0 AND VAR17-VAR18<0,79,80,6,1), ,COLOR00FF00 ;STICKLINE(VAR17>0 AND VAR17-VAR18>=0,19,20,6,0),COLORRED, ;STICKLINE(VAR17>0 AND VAR17-VAR18<0,19,20,6,1), ,COLOR00FF00 ;STICKLINE(VAR17-VAR18>0,VAR17,VAR18,8,1), ,COLORRED ;STICKLINE(VAR17-VAR18<0,VAR17,VAR18,8,1), ,COLOR00FF00 ;VAR22:=REF(LOW,1);VAR23:=SMA(ABS(LOW-VAR22),3,1)/SMA(MAX(LOW-VAR22,0),3,1)*100;VAR24:=EMA(IF(CLOSE*1.3,VAR23*10,VAR23/10),3);VAR25:=LLV(LOW,30);VAR26:=HHV(VAR24,30);VAR27:=IF(MA(CLOSE,58),1,0);VAR28:=EMA(IF(LOW<=VAR25,(VAR24+VAR26*2)/2,0),3)/618*VAR27;VAR29:=IF(VAR28>100,100,VAR28);STICKLINE(VAR29>-150,0,VAR29,3,0), , COLORFF00FF;底部吸筹指标: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00;STICKLINE(CROSS(底部吸筹指标,-24),100,0,6,0), , COLORFFFFFF;先知: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, , COLORFF00FF;可能放量拉升: IF(CROSS(底部吸筹指标,-24),1,0), , COLORFFFFFF;VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;VARK2:=REVERSE(VARK1);VARK3:=SMA(VARK1,3,1);波段王:=SMA(VARK3,3,1), , COLORRED,LINETHICK2;波段鬼:=SMA(波段王,2.5,1),COLORYELLOW,LINETHICK2;趋势线: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), ,COLORFF6666,LINETHICK2;{股旁网 }RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1),COLORSTICK;买点准备:IF(趋势线<=10,0,10), COLORFF9933,LINETHICK3;STICKLINE( CROSS(趋势线,10),0,73,6,0), COLOR3366FF,;DRAWTEXT(IF(CROSS(趋势线,10),100,0),68,'抄底'),COLORWHITE ;DRAWTEXT(IF(CROSS(10,趋势线),1,0), 10,'$借钱'),COLOR33FFCC,;{目前位置:对当前股票所处的技术位置进行评价,可对是否介入作出辅助判断}RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;通达信精确买指标公式来源:Internet,编辑:股旁网,2019-07-16BB:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);分水岭:=IF(MA(CLOSE,17)<BB,BB,MA(CLOSE,17));操作线:=分水岭-(EMA(C,3)-分水岭);RR1:=MA(CLOSE,27);RR2:=(CLOSE-RR1)/RR1*100;RRA:=MA(RR2,2);RRB:=BARSLAST(CROSS(-10,RRA)=1);RRD:=RRA<-10 AND RRB>3;STICKLINE(IF(RRD,-120,0),-120,0,8,0),COLOR33FFFF;黄金坑:IF(RRD,-120,0),COLOR00FF66,COLORLIBLUE,LINETHICK2;TYP := (HIGH + LOW + CLOSE)/3;CCI14:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORRED,LINETHICK2; 强势线:100,LINETHICK2;低位线: -100,COLORRED,LINETHICK2;VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;VAR400:=EMA(VAR300,5);VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;VAR2:=LLV(LOW,20);VAR3:=HHV(HIGH,20);操盘:=3*VAR300-2*VAR400;PS1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,3,0),COLORFF00FF; STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,2,0),COLORFF66FF; STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,1,0),COLORFF66CC; STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,1,0),COLORFF99FF; STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,1,0),COLORFFCCFF; STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,1,0),COLOR00FFFF; STICKLINE(PS1 AND CROSS(分水岭,操作线),30,-100,0.3,0),COLOR66FF33; DRAWTEXT(PS1 AND CROSS(分水岭,操作线),42,'精确买'),COLORYELLOW; RV:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);J1:=IF(CLOSE>QJ,VOL,0);J2:=IF(CLOSE<QJ,VOL,0);VAR44:=SMA(RV,3,1);VAR55:=SMA(VAR44,3,1);PS2:=EMA(SMA(RG,3,1),2),COLORFFFFFF;PS3:=SMA(PS2,3,1),COLOR00FFFF;通达信礼花升空指标公式来源:Internet,编辑:股旁网,2019-09-06Var2:=WINNER(CLOSE)*100;Var3:=CLOSE*VOL;Var4:=EMA((MA(Var3,4)/MA(VOL,4)+MA(Var3,6)/MA(VOL,6)+MA(Var3,13)/MA(VOL,13)+MA(Var3,24)/MA(VOL,24))/4,1);Var5:=1*Var4;Var6:=Var4*0.92;Var7:=EMA(CLOSE,34);Var8:=MA(Var7*1.12,5);Var9:=MA(Var7*0.82,5);VarA:=IF(DATE<1331231,1,0);VarB:=(MA(AMOUNT,5)*VarA/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA (VOL,5)/100)<(-0.4)*VarA;VarC:=CLOSE-REF(MA(CLOSE,20),11)<-2;VarD:=EMA(WINNER((LOW+HIGH)/2),10)*100;VarE:=EMA(WINNER(CLOSE),21)*100;VarF:=EMA(WINNER(CLOSE),34)*100;Var10:=STICKLINE(VarD>80,118,120,10,0);Var11:=STICKLINE(VarD>80 AND VarE>80 AND VarF>80,120,122,10,0);STICKLINE(VarE-REF(VarE,1)<0,VarE,0,1,0),color00ff00;STICKLINE(VarE-REF(VarE,1)>0,VarE,0,1,0),colorred;Var12:=SMA(AMOUNT/VOL/100,13,1)*1.15;Var13:=SMA(AMOUNT/VOL/100,13,1)*0.85;Var14:=CLOSE-REF(MA(CLOSE,20),11);彩色火焰: STICKLINE(VarB AND CLOSE<Var9,30,105,3,0),colorred;底:=EMA(EMA(LOW,5),10)*0.86;Var36:=HHV(HIGH,500);Var37:=LLV(LOW,500);Var38:=HHV(HIGH,250);Var39:=LLV(LOW,250);Var3A:=HHV(HIGH,125);Var3B:=LLV(LOW,125);Var3C:=MA((Var36*0.45+Var38*0.5+Var37+Var39+Var3B)/5,35);底线:=Var3C;STICKLINE(CLOSE<Var9 AND VarC AND VarB AND CLOSE<Var13 AND CLOSE<底线AND Var14<-1.5 or CROSS(CLOSE,底),95,30,5,0),colorff00ff;STICKLINE(CLOSE<Var9 AND VarB AND CLOSE<Var13 OR CLOSE<Var9 AND VarC AND VarB ORCLOSE<Var9 AND CLOSE<Var13 OR CLOSE<Var9 AND VarB AND CLOSE<Var13 OR VarB AND CLOSE<底线OR VarB AND VarC AND Var14<-1.5 OR VarB AND CLOSE<Var9 OR VarB AND Var14<-1.5 OR VarCAND CLOSE<Var13 OR CLOSE<底线AND Var14<-1.5 OR CLOSE<Var9 ANDVarC,60,30,1,0),colorffcccc;STICKLINE(VarC AND Var14<-1.5 AND VarD<20,30,50,2,0),coloryellow;STICKLINE(VarC AND CLOSE<底线,40,80,2,0),colorblue;Var17:=REF(CLOSE,1);Var18:=SMA(MAX(CLOSE-Var17,0),6,1)/SMA(ABS(CLOSE-Var17),6,1)*100; Var19:=SMA(MAX(CLOSE-Var17,0),12,1)/SMA(ABS(CLOSE-Var17),12,1)*100; Var1A:=SMA(MAX(CLOSE-Var17,0),24,1)/SMA(ABS(CLOSE-Var17),24,1)*100; LY1A: MA(Var18,2),colorwhite;LY2A: MA(Var19,4),colorff00ff;LY3A: MA(Var1A,6),color00ff00;Var1:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-Var1,0),6,1)/SMA(ABS(CLOSE-Var1),6,1)*100;RSI2:=SMA(MAX(CLOSE-Var1,0),12,1)/SMA(ABS(CLOSE-Var1),12,1)*100; RSI3:=SMA(MAX(CLOSE-Var1,0),24,1)/SMA(ABS(CLOSE-Var1),24,1)*100; BIAS2 :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;Var1B:=BIAS2;Var1C:=RSI1-REF(RSI1,1);Var1D:=RSI2-REF(RSI2,1);Var1E:=5;Var1F:=-5;MM: IF(CROSS(RSI1,RSI2) AND Var1B<-4,15,0),colorffcc66;MN: IF(CROSS(RSI2,RSI1) AND Var1B>2,100,110),color0099ff;Var20:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;Var21:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;Var22:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;Var23:=IF(Var22<-6 AND Var21<-6 AND Var20<-6,15,0);Var24:=IF(Var21>6 AND Var20>6 AND Var21>6,110,120);13, POINTDOT;80, POINTDOT;通达信跟风高手指标公式来源:Internet,编辑:股旁网,2019-05-21平均持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORMAGENTA,LINETHICK2;大额筹码集中度:WINNER(C)*100 ,COLORRED,LINETHICK2;小额筹码集中度:(WINNER(C*1.1)-WINNER(C*0.9))*100 ,COLORGREEN,LINETHICK2;强弱分界:80,COLORYELLOW;趋势线: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);XIAO1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);XIAO2:=SMA(ABS(LOW-XIAO1),13,1)/SMA(MAX(LOW-XIAO1,0),10,1);XIAO3:=EMA(XIAO2,10);XIAO4:=LLV(LOW,33);XIAO5:=EMA(IFF(LOW<=XIAO4,XIAO3,0),3);STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,6,0 ),COLOR000055;STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,5,0 ),COLOR000077;STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,4,0 ),COLOR000099;STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,3,0 ),COLOR0000BB;STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,2,0 ),COLOR0000DD;STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,1,0 ),COLOR0000FF;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,6,0),COLOR005500;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,5,0),COLOR007700;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,4,0),COLOR009900;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,3,0),COLOR00BB00;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,2,0),COLOR00DD00;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,1,0),COLOR00FF00;高手进场:IFF(XIAO5>REF(XIAO5,1),XIAO5,0),NODRAW,COLORRED;调整临界:IFF(XIAO5<REF(XIAO5,1),XIAO5,0),NODRAW,COLORGREEN;B1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70;B2:=SMA(B1,9,1)+100;B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;B4:=SMA(B3,3,1);B5:=SMA(B4,3,1)+100;B6:=B5-B2;观望期:=IFF(B6>60,B6-60,0);TAI1:=MA(C,1)/MA(REF(C,13),8)*100;TAI2:=MA(FORCAST(TAI1,21),3);TAI3:=REF(TAI1,1);TAI4:=REF(TAI1,2);邰1:=LLV(LOW,8);邰2:=HHV(HIGH,13);股市黑客:= EMA((CLOSE-邰1)/(邰2-邰1)*100,5),COLORRED;升跌临界:= EMA(0.667*REF(股市黑客,1)+0.333*股市黑客,2),COLORGREEN;VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9),COLORFFFF00;MACD:=(DIFF-DEA)*2;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF> REF(DIFF,A1+1) AND CROSS(DIFF,DEA);顶背离:=REF(CLOSE,A2+1)< CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);①:IFF(REF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5)) /MA(C,5)>0.04 AND观望期==0 AND C> REF(C,1),1),44,0),LINETHICK1,COLORCYAN;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;②:IFF(REF(J,1)<0 AND J>0 AND TAI1>=TAI2 AND TAI3> TAI4,34,0),LINETHICK1,COLOR0000FF;③:IFF(REF(股市黑客,1)<=13&&CROSS(股市黑客,升跌临界)&&REF(MA(C,55),1)>REF(MA(C,55),2)&& (VAR19 OR REF(VAR19,1)),23,0),COLORBLUE;④:IFF(底背离,57,0),LINETHICK1,COLORBROWN;通达信波段擒龙指标公式来源:Internet,编辑:股旁网,2019-01-09VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0),13,1)*100;VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);VAR5:=LLV(LOW,34);VAR6:=HHV(VAR4,34);VAR7:=IF(LLV(LOW,55),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;VAR9:=EMA(CLOSE,5);VAR10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);VAR11:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*(-1);VAR12:=EMA(CLOSE,5)*(-1);STICKLINE(VAR8>REF(VAR8,1),0,VAR8,6,1),COLOR10FFFF,LINETHICK3;备钱:IF(VAR8>REF(VAR8,1),0,VAR8),COLOR0FFFFF;STICKLINE(VAR11>REF(VAR11,1),0,VAR11,6,1),COLORFFF810;界:0,COLORFFFFFF,LINETHICK1;XL1:=MA(LOW,2)*0.96;XL2:=MA(LOW,26)*0.85;XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2);STICKLINE(XL3,0,VAR8*3,8,0),COLORRED;启动:IF(XL3,0,VAR8*3),COLORRED;VA:=(2*C+H+L)/4;VB:=LLV(L,5);VC:=HHV(H,5);红线上穿买:EMA((VA-VB)/(VC-VB)*27,5),COLORRED;红线下穿卖:EMA(红线上穿买,3),COLORFFFF00;散户:= EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);庄家:= EMA(0.667*REF(散户,1)+0.333*散户,2);DRAWTEXT(CROSS(散户,庄家) AND 散户<30,5,'低进'),COLOR00FF00;DRAWTEXT(CROSS(散户,庄家) AND 散户<30,7,'●'),COLORFFFFFF;DRAWTEXT(CROSS(庄家,散户) AND 散户>70,18,'高出'),COLOR00FF00;DRAWTEXT(CROSS(庄家,散户) AND 散户>70,21,'●'),COLOR00FF00;极品底:IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,23,0),LINETHICK2,COLORFF00FF; DRAWICON(极品底=23,23,1),LINETHICK2,COLORFFFFFF;RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,3,'低进'),COLORFFFF00;DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,7,'▲'),COLORRED;DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,6,'▲'),COLORRED;DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,5,'↑'),COLORRED; QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10; QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100); QVAR1C:=SMA(QVAR1B,13,8);QVAR1D:=SMA(QVAR1A,21,8);机会来临:=SMA(QVAR1C,13,8),COLORRED;通达信黄金坑抄大底指标公式来源:Internet,编辑:股旁网,2018-04-03N:=14;MM:=6;RR8:=MA(CLOSE,27);RR9:=(CLOSE-RR8)/RR8*100;RRA:=MA(RR9,2);RRB:=BARSLAST(CROSS(-10,RRA)=1);RRD:=RRA<-10 AND RRB>3;黄金坑:IF(RRD,-35,0),COLORYELLOW,LINETHICK3;DRAWICON(RRD,-20,1);VAR1:=MA(CLOSE,27);VAR2:=(CLOSE-VAR1)/VAR1*100;VAR3:=MA(VAR2,2);VAR4:=BARSLAST(CROSS(-10,VAR3)=1);VAR5:=VAR3<-10 AND VAR4>3;贪嘴乐: IF(VAR3>REF(VAR3,1) AND VAR5 AND VAR3<-15,60,0),LINETHICK3,LINESTICK,COLORFFA2AF; DRAWICON(贪嘴乐>=1.6,35,1);VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;VAR400:=EMA(VAR300,5);操盘:=3*VAR300-2*VAR400;PS1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;DRAWTEXT(黄金坑AND PS1,105,'B'),COLORRED;STICKLINE(黄金坑AND PS1,40,0,2,0),COLORYELLOW;VAR15:=CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));买入XG:IF(FILTER(VAR15,28),70,0)LINETHICK2,COLORLIMAGENTA;获利1个点:=REF(C,1)*1.01,COLORRED,NODRAW;RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);短期底部:=LLV(OPEN,30);AA10A:=MA(CLOSE,10);AA12:=MA(CLOSE,12);BB10A:=((ATAN((AA10A - REF(AA10A,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);VAR6:=MA(VAR5,3);VAR7:=DMA(EMA(CLOSE,12),((SUM(VOL,5) / 3) / CAPITAL));VAR8:=(((CLOSE - VAR7) / VAR7) * 100);VAR9:=((((REF(VAR8,1) < (0 - 40)) AND (VAR8 > REF(VAR8,1))) AND (REF(VAR8,1) < REF(VAR8,2))) AND ((VAR8 - REF(VAR8,1)) >2.5));VARA:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VARB:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VARC:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VARD:=REF(CLOSE,1);VARE:=((SMA(MAX((CLOSE - VARD),0),5,1) / SMA(ABS((CLOSE - VARD)),5,1)) * 100);VARF:=(((HIGH + LOW) + CLOSE) / 3);VAR10:=((VARF - MA(VARF,14)) / (0.015 * AVEDEV(VARF,14)));VAR11:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100))< (0 - 0.273));VAR12:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR13:=(VAR11 AND VAR12);VAR14:=((((VARA >= (0 - 45)) AND (VARA <= (0 - 10))) AND (VARB <= (0 - 15))) AND (VARC <= (0 - 20)));VAR16:=(VAR13 AND VAR15);VAR17:=1;VAB0:=531;VAB1:=1510000;VAB2:=VAB0 + VAB1; VAB3:=IF(DATE > VAB2,0,1);VARA12:=SMA(H,10,9)*VAB3; VARA13:=SMA(L,10,9)*VAB3; VAR18:=(CLOSE * VOL);VAR19:=EMA((((((MA(VAR18,4) / MA(VOL,4)) + (MA(VAR18,6) / MA(VOL,6))) + (MA(VAR18,13) / MA(VOL,13))) + (MA(VAR18,24) / MA(VOL,24))) / 4),1);VAR1A:=(1 * VAR19);VAR1B:=(VAR19 * 0.92);VAR1C:=EMA(CLOSE,34);VAR1D:=MA((VAR1C * 1.12),5);VAR1E:=MA((VAR1C * 0.82),5);VAR1F:=(CLOSE < VAR1E);VAR20:=((((((MA(AMOUNT,5) * VAR17) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < ((0 - 0.4) * VAR17));VAR21:=HHV(HIGH,500);VAR22:=LLV(LOW,500);VAR23:=HHV(HIGH,250);VAR24:=LLV(LOW,250);VAR25:=HHV(HIGH,125);VAR26:=LLV(LOW,125);VAR27:=MA(((((((VAR21 * 0.45) + (VAR23 * 0.5)) + VAR22) + VAR24) + VAR26) / 5),35);VAR28:=MA((((VAR23 * 0.62) + VAR26) / 2),35);VAR29:=MA((((VAR23 * 0.75) + VAR26) / 2),18);VAR2A:=MA((((((VAR23 * 0.93) + (VAR27 * 2)) + (VAR28 * 1.8)) + (VAR29 * 1.5)) / 4),18);VAR2B:=MA(((((VAR21 * 0.95) + (VAR27 * 3)) + (VAR28 * 2)) / 3),35);VAR2C:=VAR27;VAR2D:=VAR28;VAR2E:=VAR29;VAR2F:=VAR2A;VAR30:=VAR2B;VAR31:=((CLOSE - REF(MA(CLOSE,20),11)) < (0 - 2));VAR32:=(INDEXA / 100000000);VAR33:=INDEXADV;VAR34:=INDEXDEC;VAR35:=((VAR18 / (VAR18 + VAR19)) * VAR17);VAR36:=((VAR19 / (VAR18 + VAR19)) * VAR17);VAR37:=EMA(VAR35,10);VAR38:=EMA(VAR36,10);VAR39:=EMA(VAR37,10);VAR3A:=EMA(VAR38,20);VAR3B:=EMA(VAR37,3);VAR3C:=EMA(VAR39,6);VAR3D:=EMA(VAR3A,2);VAR3E:=(VAR3C - VAR3D);VAR3F:=(((VAR3C - REF(VAR3C,1)) > 0) AND ((REF(VAR3C,1) - REF(VAR3C,2)) < 0));VAR40:=IF((CROSS(VAR3B,VAR3C) AND (VAR3C <= 20)),30,0);VAR41:=VAR40;VAR42:=(SMA(((AMOUNT / VOL) / 100),13,1) * 1.15);VAR43:=(SMA(((AMOUNT / VOL) / 100),13,1) * 0.85);VAR44:=(CLOSE - REF(MA(CLOSE,20),11));VAR45:=(((((((((((((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43)) OR (((CLOSE < VAR1E) AND VAR31) AND VAR20)) OR ((CLOSE <VAR1E) AND (CLOSE < VAR43))) OR (((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43))) OR (VAR20 AND (CLOSE < VAR2C))) OR ((VAR20AND VAR31) AND (VAR44 < (0 - 1.5)))) OR (VAR20 AND (CLOSE < VAR1E))) OR (VAR20 AND (VAR44 < (0 - 1.5)))) OR (VAR31 AND (CLOSE< VAR43))) OR ((CLOSE < VAR2C) AND (VAR44 < (0 - 1.5)))) OR ((CLOSE < VAR1E) AND VAR31));VAR46:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR47:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR48:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR49:=REF(CLOSE,1);VAR4A:=((SMA(MAX((CLOSE - VAR49),0),5,1) / SMA(ABS((CLOSE - VAR49)),5,1)) * 100);VAR4B:=(((HIGH + LOW) + CLOSE) / 3);VAR4C:=((VAR4B - MA(VAR4B,14)) / (0.015 * AVEDEV(VAR4B,14)));VAR4D:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100))< (0 - 0.273));VAR4E:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR4F:=(VAR11 AND VAR12);VAR50:=((((VAR2 >= (0 - 45)) AND (VAR2 <= (0 - 7))) AND (VAR3 <= (0 - 11))) AND (VAR4 <= (0 - 14)));VAR51:=(COUNT(VAR50,1) >= 1);VAR52:=(VAR4F AND VAR51);VAR53:=(((((VAR20 AND (CLOSE < VAR1E)) AND VAR31) AND (CLOSE < VAR2C)) AND VAR45) AND VAR52);VAR54:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR55:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR56:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR57:=REF(CLOSE,1);VAR58:=((SMA(MAX((CLOSE - VAR57),0),5,1) / SMA(ABS((CLOSE - VAR57)),5,1)) * 100);VAR59:=(((HIGH + LOW) + CLOSE) / 3);VAR5A:=((VAR59 - MA(VAR59,14)) / (0.015 * AVEDEV(VAR59,14)));VAR5B:=((((((VAR54 >= (0 - 15.8)) AND (VAR54 <= (0 - 12.2))) AND (VAR55 <= (0 - 20.8))) AND (VAR56 <= (0 - 27.5))) AND (VAR58<= 11.7)) AND (VAR5A <= (0 - 145)));VAR5C:=9.999999884842+026;VAR5D:=(COST(10) * 0)*VAB3;VAR5E:=((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100));VAR5F:=MA((((LLV(LOW,45) - CLOSE) / (HHV(HIGH,45) - LLV(LOW,45))) * 100),5);VAR60:=((CROSS((0 - 5),VAR5F) AND (VAR5E < (0 - 0.4))) AND (((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.19)));VAR61:=MA(CLOSE,3);VAR62:=(REF(CLOSE,2) * 0.865);VAR63:=(REF(CLOSE,13) * 0.772);VAR64:=MIN(VAR62,VAR63);VAR65:=((100 * VOL) / CAPITAL);VAR66:=MA(CLOSE,13);VAR67:=IF(((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) < 1.8)),1,0);开始控盘:=STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),5,0)*VAB3,COLORBROWN;出击:=IF(((((VAR9 OR VAR16) OR VAR53) OR VAR5B) OR ((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) <1.8))),120,0),LINETHICK2,COLOR0000FF;VAR68:=0;VARQ:=MA(CLOSE,152);VARW:=MA(CLOSE,194.16);VAREE:=(VARW + (2 * STD(CLOSE,170)));VARR:=(VARQ + (2 * STD(CLOSE,170)));VART:=IF((DATE > 1080822),0,1);VAR611:=EMA(HHV(HIGH,500),21);VAR71:=EMA(HHV(HIGH,250),21);VAR81:=EMA(HHV(HIGH,90),21);VAR91:=EMA(LLV(LOW,500),21);VARA1:=EMA(LLV(LOW,250),21);VARB1:=EMA(LLV(LOW,90),21);VARC1:=EMA((((((((VAR91 * 0.96) + (VARA1 * 0.96)) + (VARB1 * 0.96)) + (VAR611 * 0.558)) + (VAR71 * 0.558)) + (VAR81 * 0.558))/ 6),21);VARD1:=EMA((((((((VAR91 * 1.25) + (VARA1 * 1.23)) + (VARB1 * 1.2)) + (VAR611 * 0.55)) + (VAR71 * 0.55)) + (VAR81 * 0.65)) /6),21);VARE1:=EMA((((((((VAR91 * 1.3) + (VARA1 * 1.3)) + (VARB1 * 1.3)) + (VAR611 * 0.68)) + (VAR71 * 0.68)) + (VAR81 * 0.68)) /6),21);VARF1:=EMA((((((VARC1 * 3) + (VARD1 * 2)) + VARE1) / 6) * 1.738),21)*VAB3;VAR101:=REF(LOW,1);VAR111:=((SMA(ABS((LOW - VAR101)),3,1) / SMA(MAX((LOW - VAR101),0),3,1)) * 100);VAR121:=EMA(IF(((CLOSE * 1.35) <= VARF1),(VAR111 * 10),(VAR111 / 10)),3)*VAB3;VAR131:=LLV(LOW,30);VAR141:=HHV(VAR121,30)*VAB3;VAR151:=IF(MA(CLOSE,58),1,0);VAR161:=((EMA(IF((LOW <= VAR131),((VAR121 + (VAR141 * 2)) / 2),0),3) / 618) * VAR151);VAR171:=(((IF((VAR161 > 50),50,VAR161) / 20) * 15) * VART)*VAB3;SG:=EMA(HHV(HIGH,1),8);X1:=EMA(CLOSE,8);X30:=((X1 < REF(X1,1)) AND (CLOSE < X1));X31:=IF(((SG < REF(SG,1)) OR X30),1,0);LC:=REF(CLOSE,1);操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORRED,LINETHICK2;趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,COLORGRAY;震仓线:=45,COLORMAGENTA;震仓线2:=50,COLORGRAY;逃命线:=80,COLORRED;抄底线:=20,COLORGREEN;绝底线:=5,COLORBLUE;PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;PP:=操作线<震仓线AND REF(操作线,1)>震仓线;PP3:=操作线<抄底线AND REF(操作线,1)>抄底线*VAB3;财主抓板:=(((((COUNT((X31 = 1),4) = 3) AND (X31 = 0))AND O<C AND(((C-REF(C,1))/REF(C,1))>0.085))*89) >=89)OR((C-REF(C,1))/REF(C,1)>0.085 AND (REF(PP3,1) OR REF(PP,1))) AND VAB3=1,NODRAW,COLORYELLOW;STICKLINE(财主抓板,5,10,1,0),COLORRED;STICKLINE(财主抓板,10,15,1,0),COLORBLUE;STICKLINE(财主抓板,15,20,1,0),COLORRED;STICKLINE(财主抓板,20,25,1,0),COLORBLUE;STICKLINE(财主抓板,25,30,1,0),COLORMAGENTA;STICKLINE(财主抓板,30,35,1,0),COLORBROWN;STICKLINE(财主抓板,35,40,1,0),COLORMAGENTA;STICKLINE(财主抓板,40,45,1,0),COLORYELLOW;STICKLINE(财主抓板,45,50,1,0),COLORLIRED;STICKLINE(财主抓板,50,55,1,0),COLORYELLOW;STICKLINE(财主抓板,55,60,1,0),COLORMAGENTA;MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);{DMI指标}{N:2,90,14;MM:2,90,6;}HD :=HIGH-REF(HIGH,1);LD :=REF(LOW,1)-LOW;DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),N);DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),N);多头线: DMP*100/MTR,COLORCYAN,LINETHICK2;空头线:= DMM*100/MTR,COLORGREEN,LINETHICK2;趋势:= EXPMEMA(ABS(空头线-多头线)/(空头线+多头线)*100,MM),COLORYELLOW,LINETHICK2;强弱:30,COLORWHITE,DOTLINE,LINETHICK1;BOLL:=MA(CLOSE,20);UB:=BOLL+2*STD(CLOSE,20);VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.025) AND((HIGH)/(CLOSE)<1.03) AND ((CLOSE)>(UB)) AND (多头线-空头线)>5 AND 多头线>20 AND (趋势>REF(趋势,1)) AND (多头线>REF(多头线,1)) AND (VAR3AA>0),91,0);XG:=(FILTER((VAR4AA>90),21)),COLORYELLOW;{DRAWTEXT(XG,85,'DMI'),COLOR00C5FF;STICKLINE(XG,90,0,0.5,0),COLORMAGENTA;STICKLINE(XG,90,0,0.5,0),COLORMAGENTA;STICKLINE(XG,90,0,0.5,0),COLORMAGENTA;STICKLINE(XG,90,0,0.3,0),COLORMAGENTA;}VAR1Z:=(CLOSE+HIGH+LOW+OPEN)/4;VAR2Z:=SUMBARS(VOL,CAPITAL);VAR3Z:=HHV(VAR1Z,VAR2Z);VAR4Z:=LLV(VAR1Z,VAR2Z);VAR5Z:=(2*VAR1Z-VAR4Z-REF(VAR4Z,1))/(VAR3Z-VAR4Z);VAR6Z:=(VAR1Z-VAR4Z)/(VAR3Z-VAR4Z);VAR7Z:=IF(VAR1Z<=VAR4Z,VAR5Z*60,VAR6Z*60);VAR8Z:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);VAR9Z:=EMA(VAR8Z,7);VARAZ:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;VARBZ:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;大底: IF(VARAZ+VARBZ<7 AND CROSS(VAR8Z,VAR9Z) AND VAR9Z<-18 AND VAR9Z<VARBZ AND 黄金坑AND 贪嘴乐,110,0),COLORRED,LINETHICK3;GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));A:=BARSLAST(CROSS(GJTJ4,GJTJ1))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;B:=BARSLAST(CROSS(GJTJ4,GJTJ2));DD:=GJTJ3;E:=BARSLAST(CROSS(GJTJ4,GJTJ3))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;F:=GJTJ2;B1:=A>0 AND REF(A,1)=0 AND REF(A,2)>0;VAR0004:="KDJ.K#WEEK"(9,3,3);VAR0005:="KDJ.D#WEEK"(9,3,3);周:=CROSS(VAR0004,VAR0005);周金坑KDJ:=IF(A AND B AND E AND F AND 周,50,0)COLORWHITE,LINETHICK1;KKM:="KDJ.K#MONTH";KDM:="KDJ.D#MONTH";月:=CROSS(KKM,KDM);去停牌:=DYNAINFO(8)>0;去ST:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'));金坑K月:IF(A AND B AND DD AND E AND F AND 去停牌AND 去ST AND 月,90,0)COLORWHITE,LINETHICK3; VARO1:=HHV(HIGH,9)-LLV(LOW,9);VARO2:=HHV(HIGH,9)-CLOSE;VARO3:=CLOSE-LLV(LOW,9);VARO4:=VARO2/VARO1*100-70;VARO5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;VARO6:=(2*CLOSE+HIGH+LOW)/4;VARO7:=SMA(VARO3/VARO1*100,3,1);VARO8:=LLV(LOW,34);VARO9:=SMA(VARO7,3,1)-SMA(VARO4,9,1);VARO11:=HHV(HIGH,34);VARO12:=EMA((VARO6-VARO8)/(VARO11-VARO8)*100,13);VARO13:=EMA(0.667*REF(VARO12,1)+0.333*VARO12,2);生命线:=EMA(VARO13,5),COLORYELLOW;太平洋XG:=IF(CROSS(VARO12,VARO13) AND VARO12>VARO13,25,0)COLORYELLOW;VAR0002:="KDJ.K#DAY"(9,3,3);VAR0003:="KDJ.D#DAY"(9,3,3);VAR0006:="KDJ.K#MONTH"(9,3,3);VAR0007:="KDJ.D#MONTH"(9,3,3);日金叉:=IF(CROSS(VAR0002,VAR0003),40,0)LINESTICK,COLORGREEN;VAR15H:=CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.011 OR CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));XG88:=IF(FILTER(VAR15H,28),35,0)LINETHICK1,COLORWHITE;VAR2G:=REF(LOW,1);VAR3G:=SMA(ABS(LOW-VAR2G),3,1)/SMA(MAX(LOW-VAR2G,0),3,1)*100;VAR4G:=EMA(IF(CLOSE*1.3,VAR3G*10,VAR3G/10),3);VAR5G:=LLV(LOW,30);VAR6G:=HHV(VAR4G,30);VAR7G:=IF(MA(CLOSE,58),1,0);VAR8G:=EMA(IF(LOW<=VAR5G,(VAR4G+VAR6G*2)/2,0),3)/618*VAR7G;VAR9G:=IF(VAR8G>100,100,VAR8G);底部吸筹指标:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00;先知:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, , COLORFF00FF;可能放量拉升:=IF(CROSS(底部吸筹指标,-24),1,0), , COLORFFFFFF;VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;VARK2:=REVERSE(VARK1);VARK3:=SMA(VARK1,3,1);波段王:=SMA(VARK3,3,1), , COLORRED,LINETHICK2;波段鬼:=SMA(波段王,2.5,1),COLORYELLOW,LINETHICK2;。

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

STICKLINE(100,90,0,5,0),COLOR666600;
{以下是主力进场;参数描述:N1:1,100,9;N2:1,100,5;N:3,13,21};
XIAO1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
XIAO2:=SMA(ABS(LOW-XIAO1),13,1)/SMA(MAX(LOW-XIAO1,0),10,1);
XIAO3:=EMA(XIAO2,10);
XIAO4:=LLV(LOW,33);
XIAO5:=EMA(IF(LOW<=XIAO4,XIAO3,0),3);
STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,3,0 ),COLOR000055;
STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,2.6,0 ),COLOR000077;
STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,2.1,0 ),COLOR000099;
STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,1.5,0 ),COLOR0000BB;
STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,0.9,0 ),COLOR0000DD;
STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,0.3,0 ),COLOR0000FF;
STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,3,0),COLOR005500;
STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,2.6,0),COLOR007700;
STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,2.1,0),COLOR009900;
STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,1.5,0),COLOR00BB00;
STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,0.9,0),COLOR00DD00;
STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,0.3,0),COLOR00FF00;
【私募进场】:IF(XIAO5>REF(XIAO5,1),XIAO5,0),COLORRED,NODRAW;
【私募洗盘】:IF(XIAO5<REF(XIAO5,1),XIAO5,0),COLORGREEN,NODRAW;
B1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70;
B2:=SMA(B1,9,1)+100;
B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1)+100;
B6:=B5-B2;
观望期:=IF(B6>60,B6-60,0);
T1:=STICKLINE(REF(观望期,1)<观望期,观望期,REF(观望期,1),9,0),COLORYELLOW;
T2:=STICKLINE(REF(观望期,1)>观望期,观望期,REF(观望期,1),9,0),COLORCYAN;{趋势背景}
TAI1:=MA(C,1)/MA(REF(C,13),8)*100;
TAI2:=MA(FORCAST(TAI1,21),3);
TAI3:=REF(TAI1,1);
TAI4:=REF(TAI1,2);
邰1:=LLV(LOW,8);
邰2:=HHV(HIGH,13);
#股市黑客#:= EMA((CLOSE-邰1)/(邰2-邰1)*100,5),COLORRED,LINETHICK3;{输出后是趋势背景}
※升跌临界※:= EMA(0.667*REF(#股市黑客#,1)+0.333*#股市黑客#,2),COLORGREEN,LINETHICK3;{输出后是趋势背景}
VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));
VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);{来自经典副B}
DEA:=EMA(DIFF,9),COLORFFFF00;
MACD:=(DIFF-DEA)*2;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA); 顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF); ¥①:IF(REF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04 AND 观望期=0 AND C>REF(C,1),1),44,0),LINETHICK3,COLORCYAN;{进}
¥②:IF(REF("KDJ.J",1)<0 AND "KDJ.J">0 AND TAI1>=TAI2 AND TAI3>TAI4,34,0),LINETHICK3,COLOR0000FF;{进}
¥③:IF(REF(#股市黑客#,1)<=13&&CROSS(#股市黑客#,※升跌临界※)&&REF(MA(C,55),1)>REF(MA(C,55),2)&&(VAR19 OR REF(VAR19,1)),23,0),COLORBLUE,LINETHICK3;
¥④:IF(底背离,57,0),LINETHICK3,COLORBROWN;
DRAWTEXT(底背离,54,'←MACD底背离'),COLORWHITE;
DRAWICON(REF(#股市黑客#,1)<=13&&CROSS(#股市黑客#,※升跌临界※)&&REF(MA(C,55),1)>REF(MA(C,55),2)&&(VAR19 OR REF(VAR19,1)),25,5); DRAWICON(REF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04 AND 观望期=0 AND C>REF(C,1),1),46,5);
DRAWICON(REF("KDJ.J",1)<0 AND "KDJ.J">0 AND TAI1>=TAI2 AND TAI3>TAI4,36,5),COLORYELLOW;。

相关文档
最新文档