抄底+反转通达信指标公式源码

合集下载

通达信指标公式源码 抄底王源码

通达信指标公式源码 抄底王源码

V1:=MA(C,3)=HHV(MA(C,3),7);V2:=MA(C,3)>MA(C,5);LC20:=REF(CLOSE,1);RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100; STICKLINE(CROSS(RSI20,11)*1,-10,20,2,0),COLORYELLOW;VAR3A:=3;VAR2A:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(S MA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0); 加仓:IF(FILTER(YXF=1,5),20,-10),STICK,LINETHICK3;A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV (H,55)-LLV(L,55))*100,5,1);FY:=EMA(A51,5);A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;VAR2:=TROUGHBARS(3,15,1)<10;VAR3:=PEAKBARS(3,15,1)<5;VAR4:=IF(VAR2=1,50,0);VAR5:=IF(VAR3=1,50,0);底部:=IF(VAR4=50,10,0);头部:=IF(VAR5=50,20,60);未来买入:IF(底部=10 AND REF(底部,1)=10 AND REF(底部,2)=0,50,0),COLOR0000CC,LINETHICK2;未来卖出:IF(头部=20 AND REF(头部,1)=20 AND REF(头部,2)=60,20,60),COLORGREEN,LINETHICK2;参考买入延迟线:底部,LINETHICK1 ,COLORMAGENTA;LT:=100;LU:=0;LV:=38.2;LA:=REF(CLOSE,1);LB:=((SMA(MAX((CLOSE - LA),0),5,1) / SMA(ABS((CLOSE - LA)),5,1)) * 100);LC:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);LE:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);LF:=SUM(IF(((LC > 0) AND (LC > LD)),LC,0),10);LG:=SUM(IF(((LD > 0) AND (LD > LC)),LD,0),10);LH:=((LF * 100) / LE);LI:=((LG * 100) / LE);LJ:=MA(((ABS((LI - LH)) / (LI + LH)) * 100),5);AV:=(LB + LJ);LK:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));LL:=(LB - LK);LM:=(AV + LL);LO:=((((2 * CLOSE) + HIGH) + LOW) / 4);LP:=LLV(LOW,34);LQ:=HHV(HIGH,34);LR:=EMA((((LO - LP) / (LQ - LP)) * 100),13);LS:=EMA(((0.667 * REF(LR,1)) + (0.333 * LR)),2);向导线:=LLV(LM,1);STICKLINE((向导线>225),95,90,4,1),COLORFFCC00;STICKLINE((向导线>235),100,95,4,1),COLORRED;STICKLINE(CROSS(235,向导线),100,90,4,1),COLOR00FF00;STICKLINE((LM<(0-1)),0,5,4,1),COLOR00FF00;STICKLINE((LM<(0-5)),5,10,4,1),COLORYELLOW;STICKLINE(CROSS(向导线,(0-3)),0,10,4,1),COLORRED;BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;乖离:=MA(BIAS,3);底一:IF(乖离<-12 AND 乖离>=-18,-4,0), COLORCYAN,LINETHICK1;STICKLINE(乖离<-12 AND 乖离>=-18,2,0,6,0) , COLORCYAN;底二:IF(乖离<-18,3,0),COLORFF35FF,LINETHICK1;STICKLINE(乖离<-18,3,0,6,0),COLORFF35FF;底三:IF(乖离<-6,5,0),COLORRED,LINETHICK1;STICKLINE(乖离<-6,5,3,2,1),COLORRED;底四:IF(乖离<-4.5,0,0),COLOR00FFFF,LINETHICK1;STICKLINE(乖离<-4.5,0,1,3,1),COLOR00FFFF;买:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));卖:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3));STICKLINE((买=1),(-10),0,1,0),COLOR0000FF;DRAWTEXT((买=1),(-12),'买'),COLOR0000FF;STICKLINE((卖=1),10,0,1,0),COLOR00FF00;DRAWTEXT((卖=1),19,'卖'),COLOR00FF00;VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*S MA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*S MA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,15,'大资金活动'),LINETHICK1,COLORFF00FF;STICKLINE(VAR11 AND COUNT(VAR11,30)=1,1,10,5,0),COLORFF00FF;VAR12:=(HIGH+LOW+CLOSE)/3;VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0); VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15);VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR18:=100-ABS(VAR17);VAR19:=IF(VAR18<90,VAR18,100);VAR1A:=IF(VARE>0,VARE,0);VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60;VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100;DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,15,'大笔出货'),LINETHICK1,COLORFFCC66; STICKLINE(VAR1C AND COUNT(VAR1C,30)=1,0,10,5,0),COLORFFCC66;P1:=5;P2:=4;VARA:=LLV(LOW,P1);VARB:=HHV(HIGH,P1);K: EMA((CLOSE-VARA)/(VARB-VARA)*100,P2),COLORLIMAGENTA; D: EMA(0.667*REF(K,1)+0.333*K,2),COLORWHITE;。

通达信指标公式源码 抄底和牵牛利器五里操盘

通达信指标公式源码 抄底和牵牛利器五里操盘

{五里操盘-副图}DRAWGBK(CURRBARSCOUNT=1, RGB(110,108,108),RGB(88,30,0),0,'',0); DIF:=(EMA(C,12)-EMA(C,26));DEA:=EMA(DIF,9);MACD:=2*(DIF-DEA);MJBT:=EXIST((CROSS(DIF,DEA) AND DIF>0) OR CROSS(DIF,0),5) ; MVOL5:=MA(V,5);MVOL10:=MA(V,10);MVOL20:=MA(V,20);量托:=MVOL5>=MVOL20 AND CROSS(MVOL10,MVOL20) ANDREF(MVOL10,1)<REF(MVOL20,1);VJBT:=EXIST(CROSS(MVOL5,MVOL10) OR 量托,5);MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA60:=MA(C,60);MA120:=MA(C,120);T1:=BARSLAST(REF(LONGCROSS(MA60,MA120,55),1));JJC:=CROSS(MA5,MA10) AND T1<30;SJBT:FILTER(MJBT AND JJC AND VJBT,5);DRAWBAND(0,RGB(0,0,0),SJBT*18,RGB(218,218,18));DRAWTEXT(SJBT,16,'牛三金'),COLOR0078FF;RSV:=(((C-LLV(L,60))/(HHV(H,60)-LLV(L,60)))*100);K:SMA(RSV,10,1),COLOR0000FF,LINETHICK1;D:SMA(SMA(RSV,10,1),3,1),COLORFFFFFF,LINETHICK1;J:SMA(K,10,1),COLOR00FF00,LINETHICK1;DBU:=(((C/COST(13))<=0.78)*17);STICKLINE(DBU,0,6,3,0),COLOR0067DF;BT01:=LONGCROSS(K,16.18,5) AND D<19.1;BT02:=LONGCROSS(K,D,8) AND D<16.18;FTBT:=FILTER(COUNT(BT01 OR BT02,3)=2,3);DRAWBAND(0,RGB(0,0,0),FTBT*15,RGB(218,18,218));DRAWTEXT(FTBT,16,'★反弹'),COLORFF00FF;BT03:=FILTER(CROSS(K,D) AND EXIST(DBU=17,3),3);DRAWBAND(0,RGB(0,0,0),BT03*18,RGB(218,18,18));DRAWTEXT(BT03,16,'★金底'),COLOR0000FF;ST01:=LONGCROSS(K,80,5) AND D>76;ST02:=LONGCROSS(D,K,5) AND D>70;ST:=ST01 OR ST02;DRAWBAND(100,RGB(18,18,218),100-ST*17,RGB(18,18,18)); DRAWTEXT(ST,80,'★顶'),COLOR00FF00;底线:20,COLORFF00FF,LINETHICK1,DOTLINE;分水线:50,COLORFFFFFF,LINETHICK1,DOTLINE;顶线:80,COLOR00FF00,LINETHICK1,DOTLINE;{RSI}LC:=REF(C,1);RSI5:=SMA(MAX(C-LC,0),5,1)/SMA(ABS(C-LC),5,1)*1000;DC:=RSI5-LLV(RSI5,10);AV:=(MA(DC,3)*5+DC*15)/20;DXRSI:=IF(AV>13,MA(AV,3),AV)/6;MADXRSI:=MA(DXRSI,5),COLORBBBBBB;DXBT:=CROSS(DXRSI,1) AND DXRSI<30;{BIAS}ABS34:=MA(-100*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),20);BS13:=-100*(HHV(H,13)-C)/(HHV(H,13)-LLV(L,13));EBS5:=EMA(-100*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),5);VBS13:=BS13+100;VABS34:=ABS34+100;VEBS5:=EBS5+100;底区:=(VABS34<12 AND VEBS5<8 AND (VBS13<7.2 OR REF(VBS13,1)<5) AND (VEBS5>REF(VEBS5,1)OR VBS13>REF(VBS13,1))) OR (VABS34<8 AND VEBS5<7 AND VBS13<15 AND VBS13>REF(VBS13,1))OR (VABS34<10 AND VEBS5<7 AND VBS13<1);低金:=(VABS34<15 AND REF(VABS34,1)<15 AND VEBS5<18 ANDVBS13>REF(VBS13,1) ANDCROSS(VBS13,VABS34) AND VBS13>VEBS5 AND (REF(VBS13,1)<5 OR REF(VBS13,2)<5 ) AND(VEBS5>=VABS34 OR REF( VBS13,1)<1 ));FZBT:=DXBT AND 低金;FZXG:=低金OR FZBT;VARF11:=(C-MA(C,55))/MA(C,55)*100<-30 AND(C-MA(C,89))/MA(C,89)*100<-27AND COUNT((C-MA(C,55))/MA(C,55)*100<-30 AND(C-MA(C,89))/MA(C,89)*100<-27,2)=1AND (O-REF(C,1))/REF(C,1)>-0.07 AND COUNT(C=O,6)=0,COLORCCCCCC; VARF21:=(C-DMA(EMA(C,8),SUM(V,9)/2.8/CAPITAL))/DMA(EMA(C,8),SUM(V, 9)/2.8/CAPITAL)*100,COLOR00AAAA;VARF31:=REF(VARF21,1)<-46 AND VARF21>REF(VARF21,1) ANDREF(VARF21,1)<REF(VARF21,2) AND VARF21-REF(VARF21,1)>2.2;{-42,1.8} JDBT1:=(VARF11 OR VARF31)*10,COLOR0000FF,LINETHICK2;JDBT2:=LONGCROSS(VARF21,-23,3);JDXG:=JDBT1 OR JDBT2;W118:=FILTER(FZXG OR JDXG,5);DRAWBAND(0,RGB(0,0,0),W118*17,RGB(218,218,218));DRAWTEXT(W118,18,'★谷底'),COLORFFFFFF;DRAWTEXT_FIX(1,0.0,0.003,0,'★原理1: 根据60KDJ判断买点!!! 【橙块底部关注区】+【金底】+【反弹】+【谷底】为抄底信号; 【牛三金】为牵牛信号!!!'),COLORBBBBBB; DRAWTEXT_FIX(1,0.0,0.083,0,'★原理2: 根据K线-MACD-量VOL三金叉判断买点!!! 当C>MA60时的三金叉为五里牛三金,是可靠的买入信号!!!'),COLOR0078FF;{五里操盘-主图}DRAWGBK(CURRBARSCOUNT=1, RGB(110,108,108),RGB(88,30,0),0,'',0); DRAWGBK(CURRBARSCOUNT=1, RGB(110,108,108),RGB(88,30,0),0,'',0); DRAWBAND(MA(CLOSE,5),RGB(123,23,123),MA(CLOSE,10),RGB(23,123,123)); DRAWBAND(MA(CLOSE,60),RGB(118,38,38),MA(CLOSE,120),RGB(38,88,38)); MA60:MA(CLOSE,60),COLOR0000FF,LINETHICK1,NODRAW;MA120:MA(CLOSE,120),COLOR00FF00,NODRAW;MA5:MA(CLOSE,5),COLORFF00FF;MA10:MA(CLOSE,10),COLORFFFF00;MA20:MA(C,20),COLOR0079FF,LINETHICK1;DRAWKLINE(H,O,L,C);DIF:=(EMA(C,12)-EMA(C,26));DEA:=EMA(DIF,9);MACD:=2*(DIF-DEA);MJBT:=EXIST((CROSS(DIF,DEA) AND DIF>0) OR CROSS(DIF,0),5) ;MVOL5:=MA(V,5);MVOL10:=MA(V,10);MVOL20:=MA(V,20);量托:=MVOL5>=MVOL20 AND CROSS(MVOL10,MVOL20) ANDREF(MVOL10,1)<REF(MVOL20,1);VJBT:=EXIST(CROSS(MVOL5,MVOL10) OR 量托,5);T1:=BARSLAST(REF(LONGCROSS(MA60,MA120,55),1)); JJC:=CROSS(MA5,MA10) AND T1<30;SJBT:FILTER(MJBT AND JJC AND VJBT,5);STICKLINE(SJBT,C,O,3,0),COLOR000088;STICKLINE(SJBT,C,O,1,0),COLOR0000AA;STICKLINE(SJBT,C,O,0.3,0),COLOR0000CC;STICKLINE(SJBT,C,O,0.0,0),COLOR0000FF;DRAWTEXT(SJBT,L*0.98,'★牛三金'),COLOR0078FF;RSV:=(((C-LLV(L,60))/(HHV(H,60)-LLV(L,60)))*100);K:=SMA(RSV,10,1),COLOR0000FF,LINETHICK1;D:=SMA(SMA(RSV,10,1),3,1),COLORFFFFFF,LINETHICK1; J:=SMA(K,10,1),COLOR00FF00,LINETHICK1;DBU:=(((C/COST(13))<=0.78)*17);BT01:=LONGCROSS(K,16.18,5) AND D<19.1;BT02:=LONGCROSS(K,D,8) AND D<16.18;FTBT:=FILTER(COUNT(BT01 OR BT02,3)=2,3); STICKLINE(FTBT,C,O,3,0),COLOR880088;STICKLINE(FTBT,C,O,1,0),COLORAA00AA;STICKLINE(FTBT,C,O,0.3,0),COLORCC00CC;STICKLINE(FTBT,C,O,0.0,0),COLORFF00FF;DRAWTEXT(FTBT,L*0.99,'★反弹'),COLORFF00FF;BT03:=FILTER(CROSS(K,D) AND EXIST(DBU=17,3),3); STICKLINE(BT03,C,O,3,0),COLOR000088;STICKLINE(BT03,C,O,1,0),COLOR0000AA;STICKLINE(BT03,C,O,0.3,0),COLOR0000CC;STICKLINE(BT03,C,O,0.0,0),COLOR0000FF;DRAWTEXT(BT03,L*0.99,'★金底'),COLOR0000FF;ST01:=LONGCROSS(K,80,5) AND D>76;ST02:=LONGCROSS(D,K,5) AND D>70;ST:=ST01 OR ST02;STICKLINE(ST,C,O,3,0),COLOR008800;STICKLINE(ST,C,O,1,0),COLOR00AA00;STICKLINE(ST,C,O,0.3,0),COLOR00CC00;STICKLINE(ST,C,O,0.0,0),COLOR00FF00;DRAWTEXT(ST,H*1.009,'★顶'),COLOR00FF00;LC:=REF(C,1);RSI5:=SMA(MAX(C-LC,0),5,1)/SMA(ABS(C-LC),5,1)*1000; DC:=RSI5-LLV(RSI5,10);AV:=(MA(DC,3)*5+DC*15)/20;DXRSI:=IF(AV>13,MA(AV,3),AV)/6;MADXRSI:=MA(DXRSI,5),COLORBBBBBB;DXBT:=CROSS(DXRSI,1) AND DXRSI<30;{BIAS}ABS34:=MA(-100*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),20);BS13:=-100*(HHV(H,13)-C)/(HHV(H,13)-LLV(L,13));EBS5:=EMA(-100*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),5);VBS13:=BS13+100;VABS34:=ABS34+100;VEBS5:=EBS5+100;底区:=(VABS34<12 AND VEBS5<8 AND (VBS13<7.2 OR REF(VBS13,1)<5) AND (VEBS5>REF(VEBS5,1)OR VBS13>REF(VBS13,1))) OR (VABS34<8 AND VEBS5<7 AND VBS13<15 AND VBS13>REF(VBS13,1))OR (VABS34<10 AND VEBS5<7 AND VBS13<1);低金:=(VABS34<15 AND REF(VABS34,1)<15 AND VEBS5<18 ANDVBS13>REF(VBS13,1) ANDCROSS(VBS13,VABS34) AND VBS13>VEBS5 AND (REF(VBS13,1)<5 ORREF(VBS13,2)<5 ) AND(VEBS5>=VABS34 OR REF( VBS13,1)<1 ));FZBT:=DXBT AND 低金;FZXG:=低金OR FZBT;VARF11:=(C-MA(C,55))/MA(C,55)*100<-30 AND(C-MA(C,89))/MA(C,89)*100<-27AND COUNT((C-MA(C,55))/MA(C,55)*100<-30 AND(C-MA(C,89))/MA(C,89)*100<-27,2)=1AND (O-REF(C,1))/REF(C,1)>-0.07 AND COUNT(C=O,6)=0,COLORCCCCCC; VARF21:=(C-DMA(EMA(C,8),SUM(V,9)/2.8/CAPITAL))/DMA(EMA(C,8),SUM(V, 9)/2.8/CAPITAL)*100,COLOR00AAAA;VARF31:=REF(VARF21,1)<-46 AND VARF21>REF(VARF21,1) ANDREF(VARF21,1)<REF(VARF21,2) AND VARF21-REF(VARF21,1)>2.2;{-42,1.8} JDBT1:=(VARF11 OR VARF31)*10,COLOR0000FF,LINETHICK2;JDBT2:=LONGCROSS(VARF21,-23,3);JDXG:=JDBT1 OR JDBT2;W118:=FILTER(FZXG OR JDXG,5);STICKLINE(W118,C,O,3,0),COLOR008888;STICKLINE(W118,C,O,1,0),COLOR00AAAA;STICKLINE(W118,C,O,0.3,0),COLOR00CCCC;STICKLINE(W118,C,O,0.0,0),COLOR00FFFF;DRAWTEXT(W118,L*0.99,'★谷底'),COLOR00FFFF;IF(MA60>=MA120,MA60,DRAWNULL),COLOR0000FF;IF(MA120>=MA60,MA120,DRAWNULL),COLORFF9900;IF(MA60>=MA120,MA120,DRAWNULL),COLOR00FFFF;IF(MA120>=MA60,MA60,DRAWNULL),COLOR00FF00;DRAWTEXT_FIX(1,0.0,0.003,0,'★原理1:【橙块底部关注区】+【金底】+【反弹】+【谷底】--为抄底信号; 【牛三金】--为牵牛信号!!!'),COLORBBBBBB;{五里操盘-选股}DIF:=(EMA(C,12)-EMA(C,26));DEA:=EMA(DIF,9);MACD:=2*(DIF-DEA);MJBT:=EXIST((CROSS(DIF,DEA) AND DIF>0) OR CROSS(DIF,0),5) ; MVOL5:=MA(V,5);MVOL10:=MA(V,10);MVOL20:=MA(V,20);量托:=MVOL5>=MVOL20 AND CROSS(MVOL10,MVOL20) ANDREF(MVOL10,1)<REF(MVOL20,1);VJBT:=EXIST(CROSS(MVOL5,MVOL10) OR 量托,5);MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA60:=MA(C,60);MA120:=MA(C,120);T1:=BARSLAST(REF(LONGCROSS(MA60,MA120,55),1));JJC:=CROSS(MA5,MA10) AND T1<30;SJBT:=FILTER(MJBT AND JJC AND VJBT,5);RSV:=(((C-LLV(L,60))/(HHV(H,60)-LLV(L,60)))*100);K:=SMA(RSV,10,1),COLOR0000FF,LINETHICK1;D:=SMA(SMA(RSV,10,1),3,1),COLORFFFFFF,LINETHICK1;J:=SMA(K,10,1),COLOR00FF00,LINETHICK1;DBU:=(((C/COST(13))<=0.78)*17);BT01:=LONGCROSS(K,16.18,5) AND D<19.1;BT02:=LONGCROSS(K,D,8) AND D<16.18;FTBT:=FILTER(COUNT(BT01 OR BT02,3)=2,3);BT03:=FILTER(CROSS(K,D) AND EXIST(DBU=17,3),3);XG01:=SJBT OR FTBT OR BT03;LC:=REF(C,1);RSI5:=SMA(MAX(C-LC,0),5,1)/SMA(ABS(C-LC),5,1)*1000;DC:=RSI5-LLV(RSI5,10);AV:=(MA(DC,3)*5+DC*15)/20;DXRSI:=IF(AV>13,MA(AV,3),AV)/6;MADXRSI:=MA(DXRSI,5),COLORBBBBBB;DXBT:=CROSS(DXRSI,1) AND DXRSI<30;ABS34:=MA(-100*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),20);BS13:=-100*(HHV(H,13)-C)/(HHV(H,13)-LLV(L,13));EBS5:=EMA(-100*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),5);VBS13:=BS13+100;VABS34:=ABS34+100;VEBS5:=EBS5+100;底区:=(VABS34<12 AND VEBS5<8 AND (VBS13<7.2 OR REF(VBS13,1)<5) AND (VEBS5>REF(VEBS5,1)OR VBS13>REF(VBS13,1))) OR (VABS34<8 AND VEBS5<7 AND VBS13<15AND VBS13>REF(VBS13,1))OR (VABS34<10 AND VEBS5<7 AND VBS13<1);低金:=(VABS34<15 AND REF(VABS34,1)<15 AND VEBS5<18 ANDVBS13>REF(VBS13,1) ANDCROSS(VBS13,VABS34) AND VBS13>VEBS5 AND (REF(VBS13,1)<5 OR REF(VBS13,2)<5 ) AND(VEBS5>=VABS34 OR REF( VBS13,1)<1 ));FZBT:=DXBT AND 低金;FZXG:=低金OR FZBT;VARF11:=(C-MA(C,55))/MA(C,55)*100<-30 AND(C-MA(C,89))/MA(C,89)*100<-27AND COUNT((C-MA(C,55))/MA(C,55)*100<-30 AND(C-MA(C,89))/MA(C,89)*100<-27,2)=1AND (O-REF(C,1))/REF(C,1)>-0.07 AND COUNT(C=O,6)=0,COLORCCCCCC; VARF21:=(C-DMA(EMA(C,8),SUM(V,9)/2.8/CAPITAL))/DMA(EMA(C,8),SUM(V, 9)/2.8/CAPITAL)*100,COLOR00AAAA;VARF31:=REF(VARF21,1)<-46 AND VARF21>REF(VARF21,1) ANDREF(VARF21,1)<REF(VARF21,2) AND VARF21-REF(VARF21,1)>2.2;{-42,1.8} JDBT1:=(VARF11 OR VARF31)*10,COLOR0000FF,LINETHICK2;JDBT2:=LONGCROSS(VARF21,-23,3);JDXG:=JDBT1 OR JDBT2;XG02:=FILTER(FZXG OR JDXG,5);XG:=XG01 OR XG02;{基本面部分}LTP:=FINANCE(7)<300000000 AND FINANCE(1)<500000000; {流通盘股小于3亿股,总盘小于5亿}MGSY:=FINANCE(33)>0.02 AND BARSCOUNT(C)>30;SYL:=C/FINANCE(33)<200 AND C/FINANCE(33)>5; {市盈率低于200} JZC:=FINANCE(34)>2;{ 每股净资产}{通达信去掉*、S、ST}S2:=IF(NAMELIKE('S'),0,1);S3:=IF(NAMELIKE('*'),0,1);GJFW:=DYNAINFO(7)>3 AND DYNAINFO(7)<40;{3元-40元价格的股} XGJ:=LTP AND MGSY AND SYL AND JZC AND S2 AND S3 AND GJFW;W18:EXIST(XG AND XGJ,3);。

自用抄底集合通达信指标公式源码

自用抄底集合通达信指标公式源码

自用抄底集合(通达信源码副图选股贴图)指标虽然不是万能,但好指标是有一定的参考价值的,此贵在出票不多准确率高,指标来自网络,非自创去除ST股:=IF(NAMELIKE('S'),0,1);去除停牌:=DYNAINFO(8)>0;去除星股:=IF(NAMELIKE('*'),0,1);去无用股:=去除ST股AND 去除停牌AND 去除星股;A8:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;B8:=SMA(A8,9,1);C8:=SMA(B8,9,1);D8:=CROSS(B8,C8);E8:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;F8:=COUNT(D8,21)>=2;G8:=B8<20;H8:=MA(CLOSE,10)>REF(MA(CLOSE,10),1);I8:=COUNT(E8<-8,20)>=1 AND E8<=0 AND COUNT(E8<=0,4)>=2;ZY4:=F8 AND G8 AND H8 AND I8 ;底1:=ZY4 AND COUNT(ZY4,10)=1;A6:=REF(CLOSE,1);B6:=SMA(MAX(CLOSE-A6,0),7,1)/SMA(ABS(CLOSE-A6),7,1)*100;C6:=SMA(MAX(CLOSE-A6,0),13,1)/SMA(ABS(CLOSE-A6),13,1)*100;D6:=BARSLAST(C6<20)<=3 AND CROSS(B6,C6);E6:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100<-12.5;F6:=LLV(LOW,5);G6:=HHV(HIGH,5);H6:=EMA((CLOSE-F6)/(G6-F6)*100,4);I6:=EMA(0.667*REF(H6,1)+0.333*H6,2);底2:=D6 AND E6 AND CROSS(H6,I6) AND H6<=25;A:=DMA(EMA(CLOSE,14),SUM(VOL,5)/3/CAPITAL);SW:=(CLOSE-A)/A*100;B:=SW<-38 ;A1:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);S:=(CLOSE-A1)/A1*100;J:=REF(S,1)<-37 AND S>REF(S,1) AND REF(S,1)<REF(S,2) AND (REF(S,2)-REF(S,1))>1;K:=(B OR J) AND VOL/CAPITAL*100<6 ;底3:=K AND COUNT(K,10)=1;A4:=(HIGH-LOW)/HIGH*100+(C-REF(C,1))/REF(C,1)*100;B4:=EMA(MA(A4,50),5);C4:=B4>LLV(B4,5)*1.01 AND REF(B4,1)<REF(LLV(B4,5),1)*1.01 AND LLV(B4,50)=LLV(B4,5);D4:=LLV(LOW,5)=LLV(LOW,50) AND LLV(LOW,5)<HHV(LOW,70)*0.5; 底4:=C4 AND D4;XG:底1 OR 底2 OR 底3 OR 底4 AND 去无用股;。

通达信资金抄底指标公式

通达信资金抄底指标公式

通达信资金抄底指标公式(实用版)目录1.通达信资金抄底指标公式概述2.通达信资金抄底指标公式的组成部分3.通达信资金抄底指标公式的计算方法4.通达信资金抄底指标公式的应用法则5.通达信资金抄底指标公式的示例正文一、通达信资金抄底指标公式概述通达信资金抄底指标公式是一种用于判断股票市场底部的技术指标。

通过分析股票市场的资金流入和流出情况,该指标可以帮助投资者发现市场底部并及时抄底,从而实现盈利。

二、通达信资金抄底指标公式的组成部分通达信资金抄底指标公式主要由以下几个部分组成:1.VAR1: (C - REF(C, 1)) / REF(C, 1)2.VAR2: (INDEXC - REF(INDEXC, 1)) / REF(INDEXC, 1)3.个股:EMA(SUM(VAR1, 20), 5)4.大盘:EMA(SUM(VAR2, 20), 5)5.领涨:(个股 - 大盘) > 06.VAR3: (C - LLV(L, 125)) / (HHV(H, 125) - LLV(L, 125)) * 1007.VAR4: SMA(VAR3, 72, 1)8.VAR5: SMA(VAR4, 34, 1)9.中线趋势:3 * VAR4 - 2 * VAR510.中线趋势升:(中线趋势 - REF(中线趋势,1)) > 011.均五升:(MA(C, 5) - REF(MA(C, 5), 1)) > 012.均十升:(MA(C, 10) - REF(MA(C, 10), 1)) > 013.STICKLINE 函数14.趋势:EMA(0.618 * REF(操作,1) + 0.382 * 操作,3)15.操作:EMA((2CHL) / 4, 13) - 5016.强弱界:017.运动:IF(操作 > 趋势 AND 均五升 AND 均十升 AND 中线趋势升,1, 0)18.买进:IF(运动 = 1 AND COUNT(运动,5) = 1, 8, 0)三、通达信资金抄底指标公式的计算方法通达信资金抄底指标公式的计算方法较为复杂,涉及多个变量的计算。

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

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

通达信主力资金抄底选股指标公式程序源码编程思路破译
编程思路破译
主力资金抄底赋值:((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);
注:
馆内各种公式为学习编程而保存,实战使用前一定要看其成功率回测数据和风险提示或者自己亲自测试近期成功率,决不能依据公式名称的描述和形容去投资,据此入市造成投资损失由投资者自己承担。

最强抄底通达信指标公式源码

最强抄底通达信指标公式源码

最强抄底通达信指标公式源码抄底是股市中一种常见的交易策略,通达信是一款广泛使用的股市分析软件。

以下是一些在通达信中常用的指标公式源码,用于抄底策略。

1.均线指标源码:```MA(CLOSE,N):=AVE(CLOSE,N);```该指标计算n周期内的收盘价平均值。

2.RSI指标源码:```RSI(CLOSE,N):=BEGINLC:=REF(CLOSE,1);ROC:=CLOSE-LC;UP:=SUM(MAX(ROC,0),N);DOWN:=ABS(SUM(MIN(ROC,0),N));RSI:=UP/(UP+DOWN)*100;RSI;END;```该指标计算n周期内的相对强弱指数。

3.MACD指标源码:```EMAFast:=EMA(CLOSE, 12);EMASlow:=EMA(CLOSE, 26);DIF:=EMAFast - EMASlow;DEA:=EMA(DIF,9);MACD:(DIF-DEA)*2;```该指标由两条移动平均线和一个差离值构成,用于衡量买卖力量。

4.KDJ指标源码:```RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,M1,1);D:=SMA(K,M2,1);J:=3*K-2*D;```该指标由三条曲线构成,用于衡量股价走势的超买超卖情况。

5.威廉指标源码:```WMS:=100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));```该指标用于衡量股价处于过买或过卖的程度。

这些是通达信中一些常见的指标公式源码,可用于抄底策略。

当然,抄底不只依赖于指标,还需要结合其他股市因素进行分析和判断。

通达信指标公式源码 绝佳抄底副图选股指标

通达信指标公式源码 绝佳抄底副图选股指标

_红柱:IF("MACD.MACD">REF("MACD.MACD",1),"MACD.MACD",DRAWNULL), STICK,COLORRED;绿柱:IF("MACD.MACD"<REF("MACD.MACD",1),"MACD.MACD",DRAWNULL), STICK,COLORYELLOW;_抄底:ABS((CROSS("MACD.DIF","MACD.DEA")&&"MACD.DEA"<=-0.07)*"MACD.DIF")*1.50,COLORLIMAGENTA;_DIF:"MACD.DIF",COLORWHITE;_DEA:"MACD.DEA",COLORYELLOW;__强度:IF(_DIF>_DEA,_DIF,DRAWNULL),COLORRED,LINETHICK2;_强度:IF(_DEA<_DIF,_DEA,DRAWNULL),COLORMAGENTA,LINETHICK2; DRAWTEXT(ABS(_抄底)>0,_抄底*1.20,' 抄底'),COLORYELLOW; DRAWICON(ABS(_抄底)>0,_抄底*1.10,4);DRAWICON(CROSS(_DIF,_DEA),_DEA,1);DRAWICON(CROSS(_DEA,_DIF),_DEA,2);DIFF:EMA(CLOSE,12) - EMA(CLOSE,26);DEA:EMA(DIFF,9);MACD:2*(DIFF-DEA),COLORSTICK;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));D1:=REF(C,C1+1)<C AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF);C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));D2:=REF(C,C2+1)<C AND REF("KDJ.K"(9,3,3),C2+1)>"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3));C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));D3:=REF(C,C3+1)<C AND REF("RSI.RSI1"(6,12,24),C3+1)>"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));MD底背:IF(B1>0,-0.1,0),COLORRED,POINTDOT;KDJ底背:IF(B2>0,-0.1,0),COLORFF00FF,POINTDOT;RSI底背:IF(B3>0,-0.1,0),COLORYELLOW,POINTDOT;MD顶背:IF(D1>0,0.1,0),COLOR00FF00,POINTDOT;KDJ顶背:IF(D2>0,0.1,0),COLORFFCC66,POINTDOT;RSI顶背:IF(D3>0,0.1,0),COLORWHITE,POINTDOT;STICKLINE(B1>0,-0.1,0,2,0),COLORRED;STICKLINE(B2>0,-0.1,0,2,0),COLORFF00FF;STICKLINE(B3>0,-0.1,0,2,0),COLORYELLOW;STICKLINE(D1>0,0.1,0,2,0),COLOR00FF00;STICKLINE(D2>0,0.1,0,2,0),COLORFFCC66;STICKLINE(D3>0,0.1,0,2,0),COLORWHITE;。

精品抄底通达信指标公式源码

精品抄底通达信指标公式源码

精品抄底通达信指标公式源码网上有个不错的公示,我修改了一下,感觉还不错,发出来给大家。

x_1:=6;x_2:=80;x_3:=ref(close,1);x_4:=sma(max(close-x_3,0),18,1)/sma(abs(close-x_3),13,1)*100;x_5:=sma(max(close-x_3,0),24,1)/sma(abs(close-x_3),20,1)*100;x_6:=barslast(x_5<48)<=3andcross(x_4,x_5);x_7:=(close-ma(close,48))/ma(close,20)*100x_10:=ema((close-x_8)/(x_9-x_8)*100,4);x_11:=ema(0.667*ref(x_10,1)+0.333*x_10,2);x_12:=1011131;x_13:=if(date<=x_12,x_7,0)orif(date<=x_12,x_2,0);x_14:=ref(close,1);x_15:=sma(max(close-x_14,0),7,1)/sma(abs(close-x_14),7,1)*100;x_16:=sma(max(close-x_14,0),13,1)/sma(abs(close-x_14),13,1)*100;x_17:=barslast(x_16<43)<=3andcross(x_15,x_16);x_18:=(close-ma(close,43))/ma(close,20)*100x_21:=ema((close-x_19)/(x_20-x_19)*100,4);x_22:=ema(0.667*ref(x_21,1)+0.333*x_21,2);x_23:=1011131;x_24:=if(date<=x_23,x_18,0)orif(date<=x_23,x_2,0);x_25:=0-(-1)*x_17andx_18andcross(x_21,x_22)andx_21<=25;x_26:=ref(close,1);x_27:=sma(max(close-x_26,0),7,1)/sma(abs(close-x_26),7,1)*100;x_28:=sma(max(close-x_26,0),13,1)/sma(abs(close-x_26),13,1)*100;x_29:=barslast(x_28<33)<=3andcross(x_27,x_28);x_30:=(close-ma(close,33))/ma(close,20)*100x_33:=ema((close-x_31)/(x_32-x_31)*100,4);x_34:=ema(0.667*ref(x_33,1)+0.333*x_33,2);x_35:=1011131;x_36:=if(date<=x_35,x_30,0)orif(date<=x_35,x_2,0);x_37:=0-(-1)*x_29andx_30andcross(x_33,x_34)andx_33<=25;x_38:=ref(close,1);x_39:=sma(max(close-x_38,0),7,1)/sma(abs(close-x_38),7,1)*100;x_40:=sma(max(close-x_38,0),13,1)/sma(abs(close-x_38),13,1)*100;x_41:=barslast(x_40<23)<=3andcross(x_39,x_40);x_42:=(close-ma(close,23))/ma(close,20)*100x_45:=ema((close-x_43)/(x_44-x_43)*100,4);x_46:=ema(0.667*ref(x_45,1)+0.333*x_45,2);x_47:=1011131;x_48:=if(date<=x_47,x_42,0)orif(date<=x_47,x_2,0);x_49:=0-(-1)*x_41andx_42andcross(x_45,x_46)andx_45<=25;x_50:=(ma(close,60)-low)/ma(close,20)*200;x_51:=(ma(close,60)-low)/ma(close,60)*200;x_52:=(ma(close,30)-low)/ma(close,60)*200;x_53:=ref(close,1);x_54:=sma(max(close-x_53,0),7,1)/sma(abs(close-x_53),7,1)*100;x_55:=filter(ref(x_54,1)<20andx_54>ref(x_54,1),5);x_56:=close/m a(close,40)<0.74;x_57:=5;x_58:=ema(close,x_57);x_59:=ema(x_58,x_57);x_60:=x_58-ref(x_58,1);x_61:=x_59-ref(x_59,1);x_62:=abs(x_58-x_59);x_63:=(high-low)/ref(close,1)>0.05;x_64:=(x_60+x_61)/2;x_65:=pow(x_62,1)*pow(x_64,3);x_66:=x_65/hhv(abs(x_65),x_57*3);x_67:=count(x_6 3,5)>1;x_68:=x_56andx_63andx_67;x_69:=cross(x_66,(-0.9));x_70:=filter(x_55andx_52>20orclose>ref(close,1)andref(x_68,1),10);x_71:=filter (ref(x_68,1)and(x_69orclose>ref(close,1))andmacd.macd>(-1.5),10);x_72:=count(x_71,13)>=1andx_70;x_73:=x_72;x_74:=x_37;x_75:=x_49;xg:if(x_73andx_74,x_73andx_74,0)orif(x_73andx_75,x_73andx_75,0);。

通达信神奇的抄底指标公式

通达信神奇的抄底指标公式

通达信神奇的抄底指标公式通达信神奇的抄底指标公式DIFF :=( EMA(CLOSE,12) - EMA(CLOSE,26))*100;DEA :=EMA(DIFF,9);MACD :=2*(DIFF-DEA);绿柱消失买入:STICKLINE(DIFF<0,0,DIFF,2,0),COLOR00FF00;红柱消失卖出:STICKLINE(DIFF>=0,0,DIFF,2,0),COLORRED;STICKLINE(DEA>=0,0,DEA,2,0),COLORBLUE;STICKLINE(DEA<0,0,DEA,2,0),COLORYELLOW;DRAWICON(CROSS(DIFF,DEA),DEA*1.1,1);DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2);强1:IF(DIFF>DEA,DIFF,DRAWNULL),COLORRED;强2:IF(DEA<DIFF,DEA,DRAWNULL),COLORMAGENTA;抄底:=ABS((CROSS("MACD.DIF","MACD.DEA")&&"MACD.DEA"<=-0.07)*"MACD.DIF")*1.09,COLORLIMAGENTA,LINETHICK2;DRAWTEXT(ABS(抄底)>0,抄底, 抄底),COLORFFFF00;DRAWICON(ABS(抄底)>0,抄底,9);DIFF :=( EMA(CLOSE,12) - EMA(CLOSE,26))*100;DEA :=EMA(DIFF,9);MACD :=2*(DIFF-DEA);绿柱消失买入:STICKLINE(DIFF<0,0,DIFF,2,0),COLOR00FF00;红柱消失卖出:STICKLINE(DIFF>=0,0,DIFF,2,0),COLORRED;STICKLINE(DEA>=0,0,DEA,2,0),COLORBLUE;STICKLINE(DEA<0,0,DEA,2,0),COLORYELLOW;DRAWICON(CROSS(DIFF,DEA),DEA*1.1,1);DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2);强1:IF(DIFF>DEA,DIFF,DRAWNULL),COLORRED;强2:IF(DEA<DIFF,DEA,DRAWNULL),COLORMAGENTA;抄底:=ABS((CROSS("MACD.DIF","MACD.DEA")&&"MACD.DEA"<=-0.07)*"MACD.DIF")*1.09,COLORLIMAGENTA,LINETHICK2;DRAWTEXT(ABS(抄底)>0,抄底, 抄底),COLORFFFF00;DRAWICON(ABS(抄底)>0,抄底,9);。

通达信指标公式源码 让子弹飞底部反转主图指标

通达信指标公式源码 让子弹飞底部反转主图指标
STICKLINE(反转AND C>O,C,O,2.0,0),COLOR000077;
STICKLINE(反转AND C>O,C,O,1.5,0),COLOR000099;
STICKLINE(反转AND C>O,C,O,0.9,0),COLOR0000CC;
STICKLINE(反转AND C>O,C,O,0.5,0),COLOR0000FF;
STICKLINE(反转AND C>0 AND ZT,O,C*1ห้องสมุดไป่ตู้02,0,0),COLORFFFFFF;
DRAWTEXT(反转,L*0.99,'【让子弹飞】'),COLORYELLOW;
P7:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
A:=CROSS(P7,P2);
ZT:=REF(C,1)*1.1-C<0.01 AND H=C;
反转:=A AND ZT ;
STICKLINE(反转AND C>O,C,O,3.2,0),COLOR000066;
DD:=DMA(CLOSE,CC);
上:(1+7/100)*DD,DOTLINE,COLORGREEN;
下:(1-7/100)*DD,DOTLINE,COLORGREEN;
中:(上+下)/2,DOTLINE,COLORGREEN;
P2:=(HHV(HIGH,55)-LLV(LOW,55))/EMA((CLOSE-LLV(LOW,55)),5);
STICKLINE(反转AND C>0,O,C,0,0),COLORFFFFFF;
STICKLINE(反转AND C>O AND ZT,C*1.001,H,3.2,0),COLOR000066;
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

源码来源于理想,经合拼整理,现再送给大家。

在此为源码作者表示感谢!
经过本次爆跌,绝大部分处于一个阶段的低点,是否可以抄那支,部分朋友达不到自行判断能力,而这个则有辅助作用,再结合其他指标加以分析则更可靠!
去除ST股:=IF(NAMELIKE('S'),0,1);
去除星股:=IF(NAMELIKE('*'),0,1);
量比:=DYNAINFO(17)>1.50;
换手:=(VOL/CAPITAL*100)>2.18;
开盘价:=C>REF(C,1)*1.0138;
去除条件:=去除ST股AND 去除星股AND 一字涨停AND 量比AND 换手;
CD0:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));
买入:=CROSS(CD0,-90) AND OPEN<MA(CLOSE,5) AND CLOSE>=1.099*REF(CLOSE,1) AND INDEXC>0.98*REF(INDEXC,1) AND
CLOSE<=1.47*LLV(CLOSE,58),COLORRED,LINETHICK1;
CD1:=CLOSE/MA(CLOSE,20)*100<78;
CD2:=CLOSE/MA(CLOSE,60)*100<74;
CD3:=HIGH>LOW*1.051;
CD4:=CD3 AND COUNT(CD3,5)>1;
CD5:=IF(CD4 AND (CD1 OR CD2),2,0);
CD6:=CLOSE/REF(CLOSE,25)<=1.1;
CD7:=SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,2)),7,1)*100 <15;
CD8:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
CD9:=SMA(CD8,2,1);
CD10:=SMA(CD9,2,1);
CD11:=IF(CD9>REF(CD9,1) AND REF(CD9,1)<REF(CD9,2) AND CD9<23,1.5,0);
抄底:(CD6 AND CD5 AND CD7 AND CD11 OR 买入) AND 去除条件;。

相关文档
最新文档