【股票指标公式下载】-【通达信】长庄超级牛(长庄大牛、中长牛股)

合集下载

通达信最牛实战指标,胜率高达90﹪,绝无未来!

通达信最牛实战指标,胜率高达90﹪,绝无未来!

通达信最牛实战指标,胜率高达90﹪,绝无未来!不论是做短线还是中长线,投资者在运用趋势测试工具时,都既要注意选择和自己投资计划能保持动态匹配的一种来认定主趋势,又要参考其他趋势测试工具的表现,然后再进行操作。

最关键的一点是,当短线趋势与中长期趋势相违背时,一定要服从中长期趋势测试工具的指示。

唯有如此,才能提高你的胜率。

今天笔者打算继续分享一些选股公式给大家,觉得有用的话可以给我留言,我会继续总结好用的公式给大家。

1、次日涨停W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));W4 AND COUNT(W4,5)=1;2、黄转紫选股DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;紫柱:MACD<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2);3、低位金叉选股DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;低位金叉:CROSS(DIFF,DEA) AND DIFF<-0.1;4、二次金叉选股DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;5、绝地反弹VAR1:=REF(LOW,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),13,1)*100;VAR3:=EMA(IF(CLOSE*1.2,VAR2*13,VAR2/13),13);VAR4:=LLV(LOW,34);VAR5:=HHV(VAR3,34);VAR6:=IF(LLV(LOW,55),1,0);VAR7:=EMA(IF(LOW<=VAR4,(VAR3VAR5*2)/2,0),3)/618*VAR6;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);启动:=IF(XL3,0,VAR7*3),COLORRED;XG:启动>25;BACKSET( (REF(CLOSE,1)<REF(OPEN,1) ANDCLOSE>OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002),2);A2:=FILTER(A1<=V3,10);ND CAPITAL<300000000REF(V,1) = LLV(V,4) AND V >=REF(V,1)HHV(V,3)=REF(V,1) AND HHV(V,5)=REF(V,1) AND HHV(V,21)=REF(V,1)AND V >=REF(V,1)01>0 AND T02>0;6、三线粘合M:=1;M5:=MA(CLOSE,5);M10:=MA(CLOSE,10);M20:=MA(CLOSE,20);K1:=MAX(MAX(M5,M10),MAX(M10,M20));K2:=MIN(MIN(M5,M10),MIN(M10,M20));A:=MAX(M5,MAX(M10,M20))/MIN(M5,MIN(M10,M20))<1 0.03*M;A1:=(K1/K2-1)<0.005;A2:=(K1/K2-1)<0.005;A3:=V>REF(V,1)*1.5 AND V>MA(V,5);XG:A AND A1 AND A2 AND A3 AND C>O AND V> REF(V,1) AND CAPITAL<=300000000;7、三条线粘合N1:=5;N2:=10;N3:=20;M:=1;MA1:=MA(C,N1);MA2:=MA(C,N2);MA3:=MA(C,N3);A3:=V>REF(V,1)*1.5 AND V>MA(V,5);MAX(MA1,MAX(MA2,MA3))/MIN(MA1,MIN(MA2,MA3))<1 0.01*MAND C>O AND V> REF(V,1) AND FINANCE(7)<=300000000 AND A3 AND CAPITAL<=300000000;8、均线粘合M:=1;M5:=MA(CLOSE,5);M10:=MA(CLOSE,10);M20:=MA(CLOSE,20);K1:=MAX(MAX(M5,M10),MAX(M10,M20));K2:=MIN(MIN(M5,M10),MIN(M10,M20));A:=MAX(M5,MAX(M10,M20))/MIN(M5,MIN(M10,M20))<1 0.01*M;A1:=(K1/K2-1)<0.005;A2:=(K1/K2-1)<0.005;A3:=V>REF(V,1)*1.5 AND V>MA(V,5);XG:A AND A1 AND A2 AND A3 ;9、金叉选股指标快线:=EMA(EMA(EMA(EMA(CLOSE,2),2),2),2);慢线:=EMA(REF(快线,1),2);A3:=V>REF(V,1)*1.5 AND V>MA(V,5);XG:CROSS(快线,慢线) AND C>O ANDV>=MA(V,21) AND V> REF(V,1) AND CAPITAL<=300000000 ;10、角度MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);V0:CROSS(MA5,MA10) AND CROSS(MA10,MA20) ANDCROSS(MA5,MA20) ;IF(角度MA3>45 AND 角度MA5>40 AND 角度MA10>10AND 角度MA20>20 AND MA(C,135)>REF(MA(C,135),1),1,0),COLOR00FF0011、强势股{SJXXG四均线选股}MA3:=MA(C,3);MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);V0:=MA(C,3)>REF(MA(C,3),1) AND MA(C,5)>REF(MA(C,5),1) AND C>MA(C,3)AND MA(C,3)>MA(C,5) ; {均线C,MA3,MA5多头排列并向上;} 角度MA3:=ATAN((MA3/REF(MA3,1)-1)*100)*180/3.1416;角度MA5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;角度MA10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;角度MA20:=ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416;选股MA20:IF(角度MA3>45 AND 角度MA5>45 AND 角度MA10>60 AND 角度MA20>45 AND MA(C,250)>REF(MA(C,250),1),1,0),COLOR00FF00;{设计思路:1.3日均线角度大于45度;2:5日均线角度大于45度;3:10日均线角度大于60度;4.20日均线角度大于45度;5.MA250向上;};12、短线之王VAR1:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));CROSS(VAR1,-87) 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);13、枪挑小梁王W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));枪挑小梁王:W4 AND COUNT(W4,5)=1;14、财务突破选股年认同价:=MA(C,240);价格中枢:=(SUM(年认同价,0)/(BARSSINCE(年认同价>0) 239));箱顶:=价格中枢*1.2;箱底:=价格中枢*0.8;毛利润率:=FINANCE(21)/FINANCE(20);成长价值:=年认同价*(1 毛利润率);收益价值:=年认同价 FINANCE(33);回调认同:=EMA(EXPMA(C,20),13);多头:=(回调认同>REF(回调认同,1))AND(成长价值>REF(成长价值,1))AND(收益价值>REF(收益价值,1))AND(DYNAINFO(7)>0);回调条件:=COUNT(C<回调认同,5)>=3;回调突破:=(REF(C,1)<=REF(回调认同,1))AND(C>回调认同)AND(回调条件)AND 多头;成长条件:=COUNT(C<成长价值,5)>=3;成长突破:=(REF(C,1)<=REF(成长价值,1))AND(C>成长价值)AND(成长条件)AND 多头;收益条件:=COUNT(C<收益价值,5)>=3;收益突破:=(REF(C,1)<=REF(收益价值,1))AND(C>收益价值)AND(收益条件)AND 多头;箱底条件:=COUNT(C<箱底,5)>=3;箱底突破:=(REF(C,1)<=REF(箱底,1))AND(C>箱底)AND(箱底条件)AND 多头;价格条件:=COUNT(C<价格中枢,5)>=3;价格突破:=(REF(C,1)<=REF(价格中枢,1))AND(C>价格中枢)AND(价格条件)AND 多头;箱顶条件:=COUNT(C<箱顶,5)>=3;箱顶突破:=(REF(C,1)<=REF(箱顶,1))AND(C>箱顶)AND(箱顶条件)AND 多头;突破买点:(回调突破成长突破收益突破箱底突破价格突破箱顶突破);15、横盘是银VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=EMA(CLOSE,12)-EMA(CLOSE,26);VAR5:=EMA(VAR4,9);VAR6:=2*(VAR4-VAR5);COUNT(CROSS(VAR2,VAR3),2)>=1 AND COUNT(CROSS(VAR6,0),5)>=1 AND MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) ANDCLOSE>MA(CLOSE,5);{“短线是银”的使用说明:此组合选择比较简单,初学者易于掌握,短线有一定可操作性与准确性。

通达信精确找牛指标公式

通达信精确找牛指标公式

N:=7;M:=8;N8:=22;P1:=2.8;P2:=3.2;P3:=3.5;V AR01:=EMA(EMA(CLOSE,9),9);控盘:=(V AR01-REF(V AR01,1))/REF(V AR01,1)*10000;STICKLINE(控盘<0,控盘,0,2,0),COLORWHITE;AA1:=CROSS(控盘,0);轻度控盘:STICKLINE(控盘<0 AND 0.9*控盘>REF(控盘,1),控盘,0,2,0),COLOR0099FF;轻度出货:STICKLINE(控盘<0 AND 1.1*控盘<REF(控盘,1),控盘,0,3,0),COLORFF6633;无庄控盘:=IF(控盘<0,控盘,0),COLORGREEN,LINETHICK2;开始控盘:=IF(AA1,5,0),LINETHICK1,COLORYELLOW;{STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,2,0),COLORRED;}有庄控盘:=IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORYELLOW,LINETHICK2;V1:=AMOUNT/VOL/100;V2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;V3:=SUM(AMOUNT,7)/V1/100;V4:=DMA(V2,VOL/V3);V5:=(CLOSE-V4)/V4*100;V6:=MA(V5,20)+STD(V5,20);BIAS21:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;STICKLINE(REF(BIAS21,1)>=5 AND CROSS(V6,V5) AND REF("KDJ.J"(34,3,3),1)>80 AND REF("KDJ.J"(9,3,3),1)>80,100,5,1,0),COLORWHITE;DDIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));DDEA:=EMA(DDIFF,9);MACD:=500*(DDIFF-DDEA);STICKLINE(MACD<0,MACD,0,3,0),COLORBLUE;STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,4,0 ),COLOR006600; STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,4 ,0 ),COLOR0000AA; STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,3.3 ,0 ),COLOR0011BB; STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,2.2,0 ),COLOR0022CC;0,COLORWHITE;V AR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*1000+(CLOSE-MA(CLOSE,24))/MA(CLOS E,24)*1000+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*1000)/3;持币区域:V AR1,COLORGREEN,LINETHICK3;持股区域:IF(V AR1>0,V AR1,0),COLORFF00FF,LINETHICK3;短顶:V AR1>9 AND FILTER(V AR1<REF(V AR1,1),5),COLORGREEN;大顶:V AR1>20 AND FILTER(V AR1<REF(V AR1,1),5),COLOR00FF00;V AR2:=HHV(V AR1>20,10);危险: V AR2 ANDCROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+20*STD(CLOSE,20));注意止损:V AR2 AND FILTER(V AR1< REF(V AR1,1),6)AND CROSS(MA(CLOSE,5),MA(CLOSE,2));短底:=V AR1<-9 AND V AR1> REF(V AR1,1),COLORRED;大底:V AR1<-20 AND FILTER(V AR1> REF(V AR1,1),5),COLORYELLOW;买入准备:=V AR1<-9 AND V AR1>REF(V AR1,1),COLORWHITE;DRAWTEXT(V AR1>9 AND FILTER(V AR1<REF(V AR1,1),5),V AR1+20,'高'),COLORWHITE;DRAWTEXT(V AR1>20 AND FILTER(V AR1<REF(V AR1,1),5),V AR1+30,'顶'),COLORFFFF00; DRAWTEXT(V AR2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),V AR1+45,'危险'),COLOR00FFFF;DRAWTEXT(V AR2 AND FILTER(V AR1< REF(V AR1,1),6) AND CROSS(MA(CLOSE,5),MA(CLOSE,2)),V AR1+40,'注意止损'),COLORFF00FF; DRAWTEXT(V AR1<-20 AND FILTER(V AR1> REF(V AR1,1),5),V AR1-5,''); 主力追踪:=3*SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1)-2*SMA(SMA((C-LLV(L,13))/(H HV(H,13)-LLV(L,13))*100,5,1),3,1)COLORCY AN,LINETHICK2;主力拉高出逃:IF(主力追踪>=90,70,100),COLORWHITE;V AR100:4*SMA((CLOSE-LLV(LOW,N8))/(HHV(HIGH,N8)-LLV(LOW,N8))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N8))/(HHV(HIGH,N8)-LLV(LOW,N8))*100,5,1),3.2,1),COL ORWHITE,LINETHICK2;V ARO5:=LLV(LOW,27);V ARO6:=HHV(HIGH,34);V ARO7:=EMA((CLOSE-V ARO5)/(V ARO6-V ARO5)*4,4)*25;IF(V AR100>REF(V AR100,1),V AR100,DRAWNULL),COLORRED,LINETHICK4;IF(V AR100<REF(V AR100,1),V AR100,DRAWNULL),COLORGREEN,LINETHICK2;V AR010: =(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;B:=SMA(V AR010,N,1);V AR020:=SMA(B,M,1);V AR1F:=((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)))*(100);V AR21:=SMA(V AR1F,3,1);CCD:=SMA(V AR21,3,1),COLOR0000FF,LINETHICK2;CCC:=SMA(CCD,3,1),COLORYELLOW,LINETHICK2;FALCON:=IF(CROSS(CCD,CCC) AND (CCD<30),20,0),COLOR0000FF,LINETHICK2;黑马:IF(CROSS(B,V AR020) AND B<65 AND CLOSE>OPEN AND FALCON AND (C/REF(C,1))>0.5,50,0)STICK,LINETHICK3,COLORYELLOW;V AR001:=1; V AR002:=LLV(LOW,10); V AR003:=HHV(HIGH,25);警戒线:= P1*V AR001;减仓线:= P2*V AR001;卖出线:= P3*V AR001;动力线:= EMA((CLOSE-V AR002)/(V AR003-V AR002)*4,4)*V AR001;DRAWTEXT(CROSS(动力线,警戒线),120,'警惕'),COLORWHITE;DRAWTEXT(CROSS(动力线,卖出线),180,'出局'); DRA WTEXT(CROSS(动力线,减仓线),150,'◤逢高减磅')COLORGREEN;MACD1:=2*(DDIFF-DDEA)*300,COLORRED,LINETHICK1; MACD2:=MA(MACD1,3); MACDL:=HHV(MACD2,13);STICKLINE(MACDL<MACD1,MACD1,MACD2,3,0),COLORYELLOW;LCAA:=REF(CLOSE,1);RSIA:=((SMA(MAX((CLOSE - LCAA),0),3,1) / SMA(ABS((CLOSE - LCAA)),3,1)) * 100);LC6:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC6,0),6,1)/SMA(ABS(CLOSE-LC6),6,1)*100;DRAWTEXT(CROSS(84,RSI) , HIGH*6,'◤逃顶')COLORGREEN; DIFF:=EMA(CLOSE,12) -EMA(CLOSE,26);DEA:=EMA(DIFF,8);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B12:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA); DRAWTEXT((H-C)/REF(C,1)>0.03 AND H=HHV(H,21),H*5,'◤快跑')COLORCY AN;个股:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR1010FF;短线反弹:IF(CROSS(个股,9),50,0),STICK,LINETHICK3,COLORRED;DRAWTEXT(CROSS(个股,9),50,'反弹'),COLORYELLOW;。

通达信超级主力建仓和仓位副图指标公式

通达信超级主力建仓和仓位副图指标公式

通达信超级主力建仓和仓位副图指标公式大机构仓位:100*(1-WINNER(CLOSE)),COLORRED,LINETHICK3;VAR211:=1/WINNER(CLOSE);VAR311:=MA(CLOSE,13);VAR4:=100-ABS((CLOSE-VAR311)/VAR311*100);VAR5:=LLV(LOW,120);VAR6:=HHV(HIGH,120);VAR7:=(VAR6-VAR5)/100;VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);VARA:=3*VAR8-2*SMA(VAR8,10,1);VARB:=3*VAR9-2*SMA(VAR9,10,1);VARC:=100-VARB;基金私募仓位: (100-VARA),COLORYELLOW,LINETHICK2;VARE1:=REF(LOW,1)*0.9;VARF1:=LOW*0.9;VAR101:=(VARF1*VOL+VARE1*(CAPITAL-VOL))/CAPITAL;VAR111:=EMA(VAR101,30);VAR121:=CLOSE-REF(CLOSE,1);VAR131:=MAX(VAR121,0);VAR141:=ABS(VAR121);VAR151:=SMA(VAR131,7,1)/SMA(VAR141,7,1)*100;VAR161:=SMA(VAR131,13,1)/SMA(VAR141,13,1)*100;VAR171:=BARSCOUNT(CLOSE);VAR181:=SMA(MAX(VAR121,0),6,1)/SMA(ABS(VAR121),6,1)* 100;VAR191:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;VAR1A1:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR1B1:=SMA((SMA(VAR1A1,4,1)-50)*2,3,1);VAR1C1:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;VAR1D:=SMA(VAR1C1,4,1);VAR1E:=SMA(VAR1D,3,1);VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;VAR20:=VAR181<=25 AND VAR191<-95 AND VAR1F>20 AND VAR1B1<-30 AND VAR1E<30 AND VAR111-CLOSE>=-0.25 AND VAR151<22 AND VAR161<28 AND VAR171>50;VAR21:=(HIGH+LOW+CLOSE)/3;VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70));VAR24:=IF(VAR22>=150 AND VAR22<200 AND VAR23>=150 AND VAR23<200,10,0);VAR25:=IF(VAR22<=-150 AND VAR22>-200 AND VAR23<=-150 AND VAR23>-200,-10,VAR24);STICKLINE(VAR20,0,80,2,0),LINETHICK2,COLORBLUE;DRAWTEXT(CROSS(VAR20,0.5) AND COUNT(VAR20=1,10)=1,90,'超级主力建仓!') , COLORRED;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*SMA(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*SMA(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,70,'大资金进场'),LINETHICK1,COLORLIMAGENTA;STICKLINE(VAR11 AND COUNT(VAR11,30)=1,1,60,5,0),COLORLIMAGENTA,LINETHICK4;V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V71:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V91:=EMA(V8,13)-EMA(V8,34);VA:=EMA(V91,3);VB:=(V91-VA)/2;V111:=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);V121:=(EMA(V111,3)-REF(EMA(V111,3),1))/REF(EMA(V111,3),1)*100;准备现金: STICKLINE(EMA(V111,3)<=13,0,15,5,0),COLORLIRED;AA:=(EMA(V111,3)<=13) AND FILTER((EMA(V111,3)<=13),15);DRAWTEXT (AA,-10,'准备现金'),COLORLIRED;买入股票: STICKLINE(EMA(V111,3)<=13 AND V121>13,0,50,5,0),LINETHICK3,COLORRED;BB:= (EMA(V111,3)<=13 AND V121>13) AND FILTER((EMA(V111,3)<=13 AND V121>13),10);DRAWTEXT (BB,60,'主力进'),COLORWHITE;卖临界: STICKLINE(EMA(V111,3)>60 AND EMA(V111,3)>REF(EMA(V111,3),1),100,95,15,1),COLORGREEN;CC:=(EMA(V111,3)>=90 AND V121) AND FILTER((EMA(V111,3)>=90 AND V121),10);DD:=(EMA(V111,3)>=120 AND V121) AND FILTER((EMA(V111,3)>=120 AND V121),10);STICKLINE(IF(VB>=0,VB,0) AND EMA(V111,3)<13,0,15,5,0),COLORLIRED;STICKLINE(IF(VB<=0,VB,0) AND EMA(V111,3)>90,0,10,10,0),COLORGREEN;STICKLINE( IF(V4>=0,V4,1) AND EMA(V111,3)<13,0,15,5,0),COLORLIRED;STICKLINE(IF(V4<=0,V4,1) AND EMA(V111,3)>90,0,10,10,0),COLORLIBLUE,LINETHICK1;DRAWTEXT (CC,20,'主力减仓'),COLORLIBLUE;V10:=PEAKBARS(3,15,1)<10;V12:=IF(V10=1,50,0);头部:= IF(V12=50,100,0);卖:IF(IF(V12=50,100,0)>REF(IF(V12=50,100,0),1),40,0),COLO RGREEN,LINETHICK3;DRAWTEXT(卖,50,'主力清仓 '),COLORGREEN;V92:=TROUGHBARS(3,15,1)<10; V11:=IF(V92=1,50,0);底部:= IF(V11=50,50,0);买:IF( 底部>REF(底部,1),40,0),COLORRED,LINETHICK4;DRAWTEXT(买,50,'主力抄底 '),COLORRED;V7:=TROUGHBARS(3,15,1)<10; V9:=IF(V7=1,50,0);AA1:=(O+H+L+C)/4;BB1:=MA(AA1,3);CC1:=SUM(IF(AA>REF(AA,1),AA*VOL,0),4)/SUM(IF(AA<REF( AA,1),AA*VOL,0),4);DD1:=REF(100-(100/(1+CC)),1);A1:=HHV(AA,10);A2:=LLV(AA,30);A3:=A1-A2;A4:=EMA((AA-A2)/A3,1)*100;B1:=HHV(AA,16);B2:=LLV(AA,90);B3:=B1-B2;B4:=EMA((AA-B2)/B3,1)*100;C1:=HHV(AA,30);C2:=LLV(AA,240);C3:=C1-C2;C4:=EMA((AA-C2)/C3,1)*100;中线趋势:B4,COLORMAGENTA,LINETHICK2;STICKLINE(A4>90 AND B4>70,86,94,6,0),COLORYELLOW;DRAWTEXT((A4>90 AND B4>70)=1, 85,'拉'),COLORYELLOW;D:=CROSS(ZIG(3,50/5)*1,MA(ZIG(3,50/5)*1,2))*1,COLORRED;W:=CROSS(MA(ZIG(3,50/5)*1,2),ZIG(3,50/5)*1)*1,COLORBLU E;VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;VAR2:=LLV(LOW,34);VAR3:=HHV(HIGH,34);多: EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13),COLORRED,LINETHICK2;空: EMA(多,3),COLORGREEN,LINETHICK1;DRAWTEXT(W=1,多*-0.1,'▼下跌确立' ),COLORGREEN;DRAWTEXT(D=1,多*-0.31,'▲上涨确立'),COLORRED;爆发线: 80,COLORRED;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,60,'大资金出货'),LINETHICK1,COLORFFCC66;STICKLINE(VAR1C AND COUNT(VAR1C,30)=1,0,50,5,0),COLORFFCC66,LINETHICK3;。

通达信 庄家专用指标公式

通达信 庄家专用指标公式

通达信庄家专用指标公式通达信的庄家专用指标公式是一类用于判断股票庄家操盘意图的指标公式。

下面是几个常用的庄家专用指标公式以及其解释说明:1. 操盘提前量(ADTM)操盘提前量是股价波动的先行指标,用于衡量庄家操盘的力度,公式如下:ADTM = (H+L)/2 - C其中,H为当日最高价,L为当日最低价,C为当日收盘价。

当ADTM值大于0时,表示庄家有较大的操盘意图,股价可能上涨;当ADTM值小于0时,表示庄家有较大的出货意图,股价可能下跌。

2. 庄家操盘力度指数(ARD)庄家操盘力度指数是用于衡量庄家操盘的力度和意图,公式如下:ARD = (V1 - V2)/(V1 + V2)其中,V1为买盘成交量,V2为卖盘成交量。

当ARD值接近1时,表示庄家力度较大,股价可能上涨;当ARD值接近-1时,表示庄家力度较大,股价可能下跌。

3. 操盘热度指数(BSI)操盘热度指数是用于衡量庄家操盘的热度和氛围,公式如下:BSI = (ADV - DDV)/(ADV + DDV)其中,ADV为上涨成交量之和,DDV为下跌成交量之和。

当BSI值接近1时,表示操盘热度较高,股价可能上涨;当BSI值接近-1时,表示操盘热度较高,股价可能下跌。

4. 主力资金流向指标(CMF)主力资金流向指标是用于观察庄家资金流动情况,公式如下:CMF = SUM((H+L)/2 - C)(H-L))/(SUM(H-L)V)其中,H为当日最高价,L为当日最低价,C为当日收盘价,V为交易量。

CMF值越高,表示主力资金流入越大,股价可能上涨;CMF值越低,表示主力资金流出越大,股价可能下跌。

注意:以上公式仅为示例,具体应用时还需结合其他指标和实时市场情况进行综合分析。

5. 动力指标(DMI)动力指标用于判断庄家的动力和动能,公式如下:高点动力线(ADX)= (高点动力线+低点动力线)/2 * 100低点动力线(DI)= (高点动力线-低点动力线)/(高点动力线+低点动力线)* 100当高点动力线上升,低点动力线下降且高点动力线大于25,表示庄家操盘力度较大,股价可能上涨。

通达信选股公式(庄家专用不外传)

通达信选股公式(庄家专用不外传)

通达信选股公式(庄家专用不外传)本文介绍了三种股票选股公式和策略,包括MACD、KDJ、RSI底背离、老鼠仓和抄底高手。

MACD、KDJ、RSI底背离公式如下:DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);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 ANDREF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) ANDCROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.R SI2"(6,12,24)),1));B3:=REF(C,A3+1)>C ANDREF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));底背离条件为B1>0 OR B2>0 OR B3>0.老鼠仓公式如下:AA1:=AMOUNT/VOL;BB1:=L< AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100.1.2;DD1:=L< MA(C,5)*0.921;EE1:=VOL< MA(V,5)*1.5;老鼠仓条件为BB1 AND CC1 AND DD1 AND EE1.抄底高手公式如下:VAR1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100+M<0;VAR2:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+N<0;VAR3:=VAR1 AND VAR2;VAR4:=VAR1 AND VAR2 AND COUNT(VAR3,2)=1 AND DATE> AND (CLOSE>OPEN OR CLOSE<OPEN) AND (OPEN<CLOSE);其中M、N、D为参数,VAR4为抄底高手条件。

【炒股必下载的公式】通达信超赢主图指标公式

【炒股必下载的公式】通达信超赢主图指标公式

通达信超赢主图指标公式JJ:=(CLOSE+HIGH+LOW)/3;A:=EMA(JJ,10);B:=REF(A,1);M3:=EMA(CLOSE,3);M8:=EMA(CLOSE,8);DRAWBAND(M3,RGB(140,70,30),M8,RGB(140,70,30));STICKLINE(A>B,A,B,5,0),COLORBLUE;STICKLINE(A<B,A,B,5,0),COLORGREEN;M13:EMA(M8,13),LINETHICK2,COLORWHITE;M55:EMA(M8,55),LINETHICK2,COLORYELLOW;VAR1:=EMA(M13,55),LINETHICK4;M81:EMA(M55,81), COLORRED,LINETHICK4;VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;VAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);VAR4:=REF(CLOSE,1);VAR5:=SMA(MAX(CLOSE-VAR4,0),7,1)/SMA(ABS(CLOSE-VAR4),7,1)*100;VAR6:=CROSS(79,VAR5);VAR7:=FILTER(VAR6,4);A7:=(2*C+H+L)/4;VAR10:=LLV(LOW,34);VAR11:=HHV(HIGH,34);SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);JRH:=HHV(C,2);JRL:=LLV(C,2);MA3:=MA(CLOSE,3);YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;VAR1Q:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));VAR2Q:=(REF(VAR1Q,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR3Q:=(REF(VAR2Q,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR4Q:=(REF(VAR3Q,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR5Q:=(REF(VAR4Q,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR6Q:=(REF(VAR5Q,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR7Q:=(REF(VAR6Q,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR8Q:=(REF(VAR7Q,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR9Q:=(REF(VAR8Q,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARAQ:=(REF(VAR9Q,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VARBQ:=(REF(VARAQ,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARCQ:=(REF(VARBQ,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VARDQ:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));VAREQ:=(REF(VARDQ,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARFQ:=(REF(VAREQ,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR10Q:=(REF(VARFQ,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR11Q:=(REF(VAR10Q,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR12Q:=(REF(VAR11Q,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR13Q:=(REF(VAR12Q,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR14Q:=(REF(VAR13Q,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR15Q:=(REF(VAR14Q,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR16Q:=(REF(VAR15Q,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR17Q:=(REF(VAR16Q,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR18Q:=(REF(VAR17Q,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR19Q:=((REF(VARDQ OR VAREQ OR VARFQ OR VAR10Q OR VAR11Q ORVAR12Q OR VAR13Q OR VAR14Q OR VAR15Q OR VAR16Q OR VAR17Q OR VAR18Q,1)) AND VAR1Q);VAR1AQ:=((REF(VAR1Q OR VAR2Q OR VAR3Q OR VAR4Q OR VAR5Q OR VAR6Q OR VAR7Q OR VAR8Q OR VAR9Q OR VARAQ OR VARBQ OR VARCQ,1)) AND VARDQ); 红色持股:=VAR1Q OR VAR2Q OR VAR3Q OR VAR4Q OR VAR5Q OR VAR6Q OR VAR7Q OR VAR8Q OR VAR9Q OR VARAQ OR VARBQ OR VARCQ,COLOR0000FF,NODRAW;离场:=IF(红色持股,JRL,DRAWNULL);明离场价:=离场,COLORFF99FF,NODRAW;今离场价:=REF(离场,1)COLOR0000FF,NODRAW;青色观望:=VARDQ OR VAREQ OR VARFQ OR VAR10Q OR VAR11Q OR VAR12Q OR VAR13Q OR VAR14Q OR VAR15Q OR VAR16Q OR VAR17Q OR VAR18Q,COLORFFFF00,NODRAW;进:=IF(青色观望,JRH,DRAWNULL);明进场价:=进,COLOR33AACC,NODRAW;今进场价:=REF(明进场价,1),COLORFF0000,NODRAW;黄色低买:=VAR19Q,COLOR33AACC,NODRAW;洋红离场:=VAR1AQ,COLORMAGENTA,NODRAW;急跌关注:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORWHITE,NODRAW; 上市日期年:=REF(YEAR,BARSCOUNT(CLOSE)-1),NODRAW,COLOR0000FF;月:=REF(MONTH,BARSCOUNT(CLOSE)-1),NODRAW,COLORFF00FF;日:=REF(DAY,BARSCOUNT(CLOSE)-1),NODRAW,COLOR00FFFF;STICKLINE(C>=O,L,H,0.3,0),COLOR0000CC;STICKLINE(C<O,L,H,0.3,0),COLOR999900;STICKLINE(1,C,O,3.5,0),COLOR858500;STICKLINE(C>=O,C,O,3.5,0),COLOR0000E5;STICKLINE(红色持股,CLOSE,O,2.8,0),COLOR000055;STICKLINE(红色持股,CLOSE,O,2,0),COLOR000088;STICKLINE(红色持股,CLOSE,O,1.5,0),COLOR0000AA;STICKLINE(红色持股,CLOSE,O,1,0),COLOR0000CC;STICKLINE(红色持股,CLOSE,O,0.5,0),COLOR0000EE;STICKLINE(青色观望,CLOSE,O,2.8,0),COLOR454500;STICKLINE(青色观望,CLOSE,O,2,0),COLOR555500;STICKLINE(青色观望,CLOSE,O,1.5,0),COLOR656500;STICKLINE(青色观望,CLOSE,O,1,0),COLOR757500;STICKLINE(青色观望,CLOSE,O,0.5,0),COLOR858500;CO:=(C-O);STICKLINE(急跌关注,O,C-CO/2,2.8,0),COLOR555555;STICKLINE(急跌关注,O,C-CO/2,2,0),COLOR888888;STICKLINE(急跌关注,O,C-CO/2,1.5,0),COLORAAAAAA;STICKLINE(急跌关注,O,C-CO/2,1,0),COLORCCCCCC;STICKLINE(急跌关注,O,C-CO/2,0.5,0),COLOREEEEEE;STICKLINE(黄色低买,O,O+CO/3,2.8,0),COLOR335555;STICKLINE(黄色低买,O,O+CO/3,2,0),COLOR338888;STICKLINE(黄色低买,O,O+CO/3,1.5,0),COLOR33AAAA; STICKLINE(黄色低买,O,O+CO/3,1,0),COLOR33CCCC;STICKLINE(黄色低买,O,O+CO/3,0,0),COLOR33EEEE;STICKLINE(洋红离场,O,O+CO/3,2.8,0),COLOR550055;STICKLINE(洋红离场,O,O+CO/3,2,0),COLOR880088;STICKLINE(洋红离场,O,O+CO/3,1.5,0),COLORAA00AA; STICKLINE(洋红离场,O,O+CO/3,1,0),COLORCC00CC;STICKLINE(洋红离场,O,O+CO/3,0.5,0),COLOREE00EE; DRAWICON( CROSS(M55,M81),M81*0.95,1),COLORYELLOW;{抄底};。

不败大牛通达信指标公式源码

不败大牛通达信指标公式源码

不败大牛通达信指标公式源码```python'''说明:公式:1.开盘涨幅=(开盘价-前一天收盘价)/前一天收盘价2.涨跌振幅=(当天最高价-当天最低价)/当天最低价3.超过触发价=当天最高价>触发价4.触发价以上所占涨幅=(当天最高价-触发价)/触发价5.触发价以上首次回撤=(当天最高价-当天最低价)/当天最高价6.过去N天涨幅排名=(过去N天涨幅较高的数量/N)*1007.过去N天触发排名=(过去N天超过触发价的数量/N)*1008.选股得分=开盘涨幅*涨跌振幅*触发价以上所占涨幅*触发价以上首次回撤*过去N天涨幅排名*过去N天触发排名*100'''import pandas as pdimport numpy as npdef calc_index(df, n=20, trigger_price=100):#计算开盘涨幅df['开盘涨幅'] = (df['开盘价'] - df['前一天收盘价']) / df['前一天收盘价']#计算涨跌振幅df['涨跌振幅'] = (df['最高价'] - df['最低价']) / df['最低价'] #判断超过触发价df['超过触发价'] = np.where(df['最高价'] > trigger_price, 1, 0)#计算触发价以上所占涨幅df['触发价以上所占涨幅'] = np.where(df['最高价'] >trigger_price, (df['最高价'] - trigger_price) / trigger_price, 0) #计算触发价以上首次回撤df['触发价以上首次回撤'] = (df['最高价'] - df['最低价']) /df['最高价']#计算过去N天涨幅排名df['过去N天涨幅排名'] = df['开盘涨幅'].rolling(n).apply(lambda x: (x > x[-1]).sum( / n * 100,raw=True)#计算过去N天触发排名df['过去N天触发排名'] = df['超过触发价'].rolling(n).apply(lambda x: (x > x[-1]).sum( / n * 100,raw=True)#计算选股得分df['选股得分'] = df['开盘涨幅'] * df['涨跌振幅'] * df['触发价以上所占涨幅'] * df['触发价以上首次回撤'] * df['过去N天涨幅排名'] * df['过去N天触发排名'] * 100return df#示例# 假设有一段时间的股票数据存储在DataFrame df中,包括'日期'、'开盘价'、'前一天收盘价'、'最高价'、'最低价'等列df = pd.DataFrame'日期':['2024-01-01','2024-01-02','2024-01-03'],'开盘价':[100,110,120],'前一天收盘价':[90,100,110],'最高价':[120,130,140],'最低价':[80,90,100]})df = calc_index(df, n=20, trigger_price=100)print(df)```注意:这段代码中的计算是基于示例数据进行的,实际使用时需要根据具体的股票数据进行调整。

通达信牛暴涨主图指标公式通达信指标公式源码

通达信牛暴涨主图指标公式通达信指标公式源码

通达信牛暴涨主图指标公式Z1:=STRCAT(HYBLOCK,' ');Z2:=STRCAT(Z1,DYBLOCK);Z3:=STRCAT(Z2,' ');DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;ZK1:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTL INE,COLORBLUE;ZD1:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINET HICK2,COLORRED;ZD2:EMA(ZD1,25),LINETHICK2;DRAWBAND(ZD1,RGB(55,0,0),ZD2,RGB(0,91,0));DRAWKLINE(H,O,L,C);STICKLINE(ZD1>LOW ANDZD1<HIGH,ZD1,MIN(MIN(OPEN,CLOSE),ZD1),2,0),COLORYELLOW; STICKLINE(ZD1>MIN(C,O) ANDZD1<MAX(C,O),ZD1,MIN(OPEN,CLOSE),2,0),COLORYELLOW;STICKLINE(ZD1>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;STICKLINE(ZD1>HIGH,HIGH,LOW,0,0),COLORYELLOW;VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6 );回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));XG:=ZD1>HIGH AND 回调买AND L<=ZD1;DRAWTEXT(XG,L,'▲买入'),COLORRED;JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN (OPEN,CLOSE)-LOW)));QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ -MIN(CLOSE,OPEN))));QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,( HIGH-MAX(OPEN,CLOSE))));QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX (CLOSE,OPEN)-JJ)));DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA, LINETHICK;V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);V5:=SMA(V2*120/FROMOPEN*5,2,1);V10:=SMA(V5,5,1);V20:=SMA(V10,5,1);DY:=CURRBARSCOUNT=1 AND C<REF(C,1);DY2:=REF(V2,1)-DY;XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<ZK1;{DRAWTEXT(XG2,L,'▲抓牛'),COLORYELLOW;}DRAWTEXT(XG2 AND L<ZD1,L,'↖牛暴涨'),COLORRED;超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;TESTSKIP(NOT(超B OR 大B OR 中B OR 小B OR 超S OR 大S OR 中S OR 小S)!=0);净流入:=(超B+大B+中B+小B)+(超S+大S+中S+小S);大宗净流入:=(超B+大B)+(超S+大S);超大单:=(超B)+(超S);大单:=(大B)+(大S);中单:=(中B)+(中S);小单:=(小B)+(小S);大宗进:=(超B)+(大B);大宗出:=(超S)+(大S);非大宗进:=(中B)+(小B);非大宗出:=(中S)+(小S);资金流向:=(超B+大B+中B+小B)+(超S+大S+中S+小S);近5日流向:=SUM(资金流向,5);近10日流向:=SUM(资金流向,10);主力资金线:=(L2_AMO(0,0)+L2_AMO(1,0)-L2_AMO(0,1)-L2_AMO(1,1))/100.0,LINETHI CK2;主力买力度:=LARGEINTRDVOL*100/VOL;主力卖力度:=LARGEOUTTRDVOL*100/VOL;AAB:=CONST(MAX(ABS(超大单),MAX(ABS(大单),MAX(ABS(中单),ABS(小单))))),NODRAW;DRAWRECTREL(5,CONST(830-(ABS(超大单)*500/AAB))/2,35,460,IF(CONST(超大单)>0,RGB(255,0,255),RGB(0,255,255)));DRAWRECTREL(40,CONST(830-(ABS(大单)*500/AAB))/2,70,460,IF(CONST(大单)>0,RGB(255,0,255),RGB(0,255,255)));DRAWRECTREL(75,CONST(830-(ABS(中单)*500/AAB))/2,105,460,IF(CONST(中单)>0,RGB(255,0,255),RGB(0,255,255)));DRAWRECTREL(110,CONST(830-(ABS(小单)*500/AAB))/2,140,460,IF(CONST(小单)>0,RGB(255,0,255),RGB(0,255,255)));DRAWTEXT_FIX(CURRBARSCOUNT=1,0.007,0.46,0,'超户大户中户散户'),COLORWHITE;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.007,0.4,0,INTPART(超大单)),COLORWHITE;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.042,0.4,0,INTPART(大单)),COLORWHITE;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.076,0.4,0,INTPART(中单)),COLORWHITE;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.112,0.4,0,INTPART(小单)),COLORWHITE;TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);筹码突破:=C>TYX3AND(C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),COLORRED;A111:=COST(85);A222:=COST(15);A333:=A111-A222;A444:=(A111+A222)/2;单峰密集:=A333/A444*100<30,LINETHICK0;{A5:=A3/A4*100<30;}B1:=HHV(HIGH,250);B2:=LLV(LOW,250);B3:=B1-B2;B4:=(A444-B2);低位:=A444<(B3*04+B2),LINETHICK0;低位单峰密集:=单峰密集AND 低位;B5:=C/REF(C,1)>1.04; {AND V/REF(V,1)>2;{ AND H=C;}主力持仓%:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3);主力持仓大于75%:=主力持仓%>=75 {AND 主力持仓%<=91} AND C>0 AND CLOSE>OPEN AND C=H;敢死吗:=主力持仓大于75% AND 低位单峰密集AND B4 ANDWINNER(C)>=0.91 AND B5,COLORGREEN,LINETHICK3;{DRAWTEXT(FILTER(敢死吗=1,5),L,'----敢死吗'),COLORGREEN;} DRAWICON(FILTER(敢死吗=1,5),L*0.995,25);DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA1:=EMA(DIF1,9);AAA1:=(DIF1-DEA1)*2*60;AAA上:=IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL);AAA下:=IF(AAA1<REF(AAA1,1),AAA1,DRAWNULL);买:=13;入:=AAA1-REF(AAA1,1);正大:=CROSS(入,买);DIF2:=EMA(DCLOSE,10)-EMA(DCLOSE,72);DEA2:=EMA(DIF2,17);AAA:=(DIF2-DEA2)*2*60;入2:=AAA-REF(AAA,1);牛股:=CROSS(入2,13);正大牛股:=正大AND 牛股;DRAWICON(正大牛股,L*0.99,1);VAR1:=(CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; VAR3:=SMA(VAR2,3,1);天:=100+(-ABS(VAR1)),COLORRED;下:=SMA(VAR3,2,1);无:=ABS(VAR1),COLORGREEN;敌:=50,COLORFFAA00,LINETHICK3;LC:=REF(CLOSE,1);操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100; 卖:=CROSS(90,操作线);DRAWICON(卖,H*1.01,8);绝底线:=5;买阴线1:操作线<5 AND ZD1>ZD2 AND L<ZD1;DRAWICON(买阴线1,L*0.98,7);买阴线2:操作线<5 AND ZD1<ZD2 AND L<ZD1;DRAWICON(买阴线2,L*0.995,7);DRAWTEXT_FIX(1,0.20,0.88,0,HYBLOCK),COLORGREEN; DRAWTEXT_FIX(1,0.20,0.94,0,EXTERNSTR(0,3))COLORFF88FF;。

最强超超长线买点通达信指标公式源码

最强超超长线买点通达信指标公式源码

最强超超长线买点通达信指标公式源码通达信是一款非常受欢迎的股票交易软件,其中包含了大量的技术指标供投资者使用。

以下是一个超超长线买点指标的源码,用于在通达信上实现。

```c通达信指标名称:超超长线买点参数:E,M,N变量:L1(0),L2(0),L3(0),L4(0),L5(0),L6(0),L7(0),KX(0),HY(0),PD(0),P2(0 ),P1(0),Y1(0),YG(0),SM(0),X2(0);变量:X1(0),X0(0),H9(0),H8(0),H7(0),H6(0),H5(0),H4(0),H3(0),H2(0),H1(0 ),HT(0),HS(0),HZ(0),H(0),M1(0),GZ(0);HT=HHV(HIGH,N);HS=LLV(LOW,N);HZ=HHV(CLOSE,N);H=L/HT;M1=IIF(H>REF(H,1),1,-1);H1=IIF(H>M1ANDM1=-1,PDI(E)>MDI(E),IIF(H<M1ANDM1=-1,RSI(E)>70,IIF(H>M1ANDM1=1,PDI(E)<MDI(E),IIF(H<M1ANDM1=1,RSI(E) <30,0))));H2=IIF(H=1,H1,0);H3=HHV(H2,M);H4=IIF(BARSINCE(H2>-1)<N*2,H3,PREV);H5=IIF(CROSS(H2,H4),H4,PREV);H6=IIF(H2=H5,0,TMA(H4,LENGTH(H4)*2));H7=REF(H6,1);H8=REF(H7,1);H9=REF(H8,1);GZ=C;H80=EMA(KX,GZ);H81=EMA(X0,GZ);L1=CLOSE-HHVBARS(CLOSE,HZ)/HZ*(H-HZ);L2=EMA(L1,M);L3=REF(L2,1);L4=HHVBARS(L2,H3);HY=L4>N;PD=IIF(SM<HTANDSMA(HY,M1)>0.9,SMA(HY,E)ANDMA(ADTM(,Z)>L,N); X0=HHVBARS(PD,E)*(H>L1);X1=EMA(X0,E);X2=EMA(X1,E*M);P1=HHVBARS(PD,E*N);P2=HHVBARS(PD,E)*L2/H3;Y1=REF(P1,1);YG=HHVBARS(H3,M)*M1;//创建指标线Plot(X2>ADTM(, " 超超长线买点", colorLime);```上述代码中,“超超长线买点”是一个基于EMA计算的指标,其中包含了三个参数E、M和N,以及一些中间变量。

通达信自用趋势顶底抄底极牛指标公式

通达信自用趋势顶底抄底极牛指标公式

通达信自用趋势顶底抄底极牛指标公式80,COLOR996699;20,COLORGREEN;底:10,COLORCC6633,LINETHICK2;90,COLOR9966FF,LINETHICK2;50,COLORWHITE,DOTLINE;A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);HC60跌幅:1-(C/HHV(C,60)),NODRAW;长期线:A+100,COLOR9900FF;短期线:B+100,COLOR888888;中期线:D+100,COLORYELLOW,LINETHICK2;见顶:=((REF(中期线,1)>85 AND REF(短期线,1)>85 AND REF(长期线,1)>65) AND CROSS(长期线,短期线));顶部区域:(中期线<REF(中期线,1) AND REF(中期线,1)>80) AND (REF(短期线,1)>95 OR REF(短期线,2)>95 ) AND 长期线>60 AND 短期线<83.5AND 短期线<中期线 AND 短期线<长期线+4,COLORRED;顶部:=FILTER(顶部区域,4);STICKLINE( 见顶OR 顶部,99,103,20,1 ),COLORRED,LINETHICK2;底部区域:(长期线<12 AND 中期线<8 AND (短期线<7.2 OR REF(短期线,1)<5) AND (中期线>REF(中期线,1) OR 短期线>REF(短期线,1)))OR (长期线<8 AND 中期线<7 AND 短期线<15 AND 短期线>REF(短期线,1)) OR (长期线<10 AND 中期线<7 AND 短期线<1) ,COLORGREEN;STICKLINE( 底部区域,-4,0,22,0 ),COLORGREEN;低位金叉:50*(长期线<15 AND REF(长期线,1)<15 AND 中期线<18 AND 短期线>REF(短期线,1) AND CROSS(短期线,长期线) AND 短期线>中期线AND (REF(短期线,1)<5 OR REF(短期线,2)<5 ) AND (中期线>=长期线 OR REF( 短期线,1)<1 )),COLORRED;短期超跌底部:(中期线<10 AND CROSS(短期线,中期线)),COLORYELLOW,NODRAW;DRAWICON(短期超跌底部,中期线,5);低吸:HC60跌幅>0.20 AND 短期线<10 AND 中期线<10 AND ABS(C-O)/O<0.01,COLORWHITE,NODRAW;STICKLINE(低吸,0,22,1,0),COLORWHITE;DRAWTEXT(低吸,28,'低吸'),COLORWHITE;。

通达信]珍藏自用抓牛股超好指标{源码,副图,附图}

通达信]珍藏自用抓牛股超好指标{源码,副图,附图}

通达信]珍藏自用抓牛股超好指标{源码,副图,附图}kdj和macd指标的日,周,月周期的完美结合,抓牛股必不可少!指标用法很简单,仔细看看附图就能明白!强势股需日,周,月周期共振。

经典的才是最好的!淘指标淘到最后你自己就能明白相信不少人都懂的......源码:{MACD}RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:SMA(RSV,3,1),LINETHICK2,COLORWHITE;D:SMA(K,3,1),LINETHICK2,COLOR00DDDD;J:3*K-2*D,LINETHICK2,COLOR800080;DIF:EMA(CLOSE,12)-EMA(CLOSE,26),LINETHICK0,COLOR0099FF;DEA :EMA(DIF,9),LINETHICK0,COLORD89837;MACD:2*(DIF-DEA),COLORFF9999,LINETHICK0;YLZC:=IF(CLOSE=INDEXC,(INDEXC+INDEXH+INDEXL+INDE XO)/4,AMOUNT/(VOL+0.01)/100);阻价:=IF(CLOSE=INDEXC,YLZC+INDEXC-INDEXL,YLZC+(CLOSE-LOW));支价:=IF(CLOSE=INDEXC,INDEXL+INDEXC-YLZC,LOW+(CLOSE-YLZC));今压:REF(阻价,1),LINETHICK0,COLORAA11BB;今撑:REF(支价,1),LINETHICK0,COLOR009900;明压:阻价,LINETHICK0;明撑:支价,LINETHICK0;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;买卖:=IF(JJ>=100,100,IF(JJ<=0,0,JJ));明天买:IF(买卖=100,0-10,0),COLOR00CCCC;明天卖:IF(买卖=0,90,100),COLOR00FF00;KX:=250;KH:=HHV(K,KX);DH:=HHV(D,KX);JH:=HHV(J,KX);KL:=LLV(K,KX);DL:=LLV(D,KX);JL:=LLV(J,KX);HKMAX:=MAX(KH,MAX(DH,JH));LKMIN:=MIN(KL,MIN(DL,JL));KHLB:=(HKMAX+LKMIN)/2;KHLC:=HKMAX-LKMIN;MHF:=HHV(DIF,KX);MHD:=HHV(DEA,KX);MHM:=HHV(MACD,KX);MLF:=LLV(DIF,KX);MLD:=LLV(DEA,KX);MLM:=LLV(MACD,KX);HMAX:=MAX(MHF,MAX(MHD,MHM));LMIN:=MIN(MLF,MIN(MLD,MLM));FHLB:=(HMAX-LMIN)/100;FHLC:=HMAX-LMIN;SH:=(0-FHLB)*(KHLC/FHLC)+KHLB;DIFA:=(DIF-FHLB)*(KHLC/FHLC)+KHLB;DEAA:=(DEA-FHLB)*(KHLC/FHLC)+KHLB;MACDA:=(MACD-FHLB)*(KHLC/FHLC)+KHLB;CDA:=MACD<REF(MACD,1) AND MACD>0;CDB:=MACD>=REF(MACD,1) AND MACD>0;CDC:=MACD>REF(MACD,1) AND MACD<0;CDD:=MACD<=REF(MACD,1) AND MACD<0;STICKLINE(CDA,SH,MACDA,2,0),COLOR00AAFF;{黄色段}STICKLINE(CDB,SH,MACDA,2,0),COLOR0000AA; {红色段}STICKLINE(CDC,SH,MACDA,2,0),COLORAA00BB;{向上粉红}TYP:=(HIGH+LOW+CLOSE)/3;STICKLINE(DIF>REF(DIF,1),20,20,2,0),COLORRED;STICKLINE(DIF<REF(DIF,1),20,20,2,0),COLORGREEN;STICKLINE(K>=REF(K,1) OR K>D AND DIF>REF(DIF,1),80,80,2,1),COLORRED;STICKLINE(K<REF(K,1),80,80,2,1),COLORGREEN;MACD金叉:=CROSS(MACD,DIF) AND MACD>=(0-0.05) AND MACD<=0.02;DRAWTEXT(MACD金叉,MACDA*0.82,'▲MACD金叉'),COLOR00FFFF;XX:=EMA(MA(LOW,3)*0.96,30);DIF金叉:=IF(CROSS(DIF,DEA) AND XX-REF(XX,1)>0 AND MACD>=REF(MACD,1) AND DIF<=0,1,0);DRAWTEXT(DIF金叉=1,DIFA*1.68,'DIF金叉'),COLORCDFFBB;低位金叉:=CROSS(DIF,DEA) AND DIF<-0.1;DRAWTEXT(低位金叉,DEAA*0.99,'▲DIF低位金叉'),COLOR0099DD;DIFDEA:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(DIFDEA=2,21)=1;DRAWTEXT(二次金叉,DEAA*0.99-8,'▲DIF 二次金叉'),COLORFF00FF;A1:=BARSLAST(REF(CROSS(DIF,DEA),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA);DRAWTEXT(底背离,DEAA*0.99-16,'▲DIF底背离'),COLOR0099FF;A2:=BARSLAST(REF(CROSS(DEA,DIF),1));顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIF,A2+1)>DIF AND CROSS(DEA,DIF);DRAWTEXT(FILTER(顶背离,5),DEAA*1.02,'▲DIF顶背离'),COLORDDAAAA;MD1:=MA(CLOSE,80)-MA(CLOSE,13)/3;MD2:=MA((CLOSE-MD1)/MD1,3);买点1:=CROSS(MD2,0) AND LOW/REF(HIGH,1)<1.012 AND J<75 AND J>REF(J,1);MA12:=MA(CLOSE,12);佳点:=IF(FILTER(MACD>=REF(MACD,5) AND OPEN<=REF(CLOSE,1) AND XX-REF(XX,1)>0 AND MACD<=0 AND MA12-REF(MA12,1)>=0,3) AND J<80 AND J>REF(J,1) AND D>REF(D,1) AND (DIF>=REF(DIF,1) OR DEA>=REF(DEA,1)),1,0);DRAWTEXT(佳点=1,MACDA*0.98,'★佳点'),COLOR0099FF;DX0:=EMA(CLOSE,2)-EMA(OPEN,5);DX1:=IF(CROSS(DX0,MACD) AND LOW<=XX AND MACD<=(0-0.11) AND (J<20 OR K<20),1,0);DRAWTEXT(FILTER(DX1,3),0,'★短10%'),COLOR00CC00;{短线} MA10:=MA(CLOSE,10);SS:=EMA(MA(HIGH,3)*1.05,30);LQS:=IF(FILTER(0.7*(CROSS(DIF,DEA) AND CLOSE<SS AND XX-REF(XX,1)>0 AND CROSS(MACD,0) AND MACD>=0 ANDDIF>0 AND MA10-REF(MA10,1)>0 AND VOL>REF(VOL,1))>=0.7 AND (CLOSE<SS AND XX-REF(XX,1)>0),5) AND J<80,1,0);DRAWTEXT(LQS=1,MACDA*0.98,'★量价齐上'),COLORCDFFDD;{量价齐上}最佳点:=IF(COUNT(MD2>REF(MD2,1),3)=3 AND COUNT(MD2<0,10)=10 AND REF(MD2,3)=LLV(MD2,10) AND J<80 AND J>REF(J,1),1,0);DRAWTEXT(最佳点=1,J,'★最佳点'),COLORFF00CC;买点2:=REF(MD2,2)=LLV(MD2,20) AND REF(MD2,2)<0.071 AND REF(MD2,2)<REF(MD2,1) ANDNOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1) AND J<75 AND J>REF(J,1);DRAWTEXT(买点1 OR 买点2,D-1,'买'),COLORFF00CC;{预涨}YZ:=(INTPART(SMA(RSV,3,1))+INTPART(SMA(K,3,1)))/2;预涨:=CROSS(YZ,50) AND J<95 AND DIF>REF(DIF,1) AND LOW<REF(CLOSE,1);DRAWTEXT(预涨,D*0.6,'★预涨'),COLORA52A2A;【/thread-1584013-1-1.html】。

通达信超级主力建仓和仓位副图指标公式

通达信超级主力建仓和仓位副图指标公式

通达信超级主力建仓和仓位副图指标公式大机构仓位:100*(1-WINNER(CLOSE)),COLORRED,LINETHICK3;VAR211:=1/WINNER(CLOSE);VAR311:=MA(CLOSE,13);VAR4:=100-ABS((CLOSE-VAR311)/VAR311*100);VAR5:=LLV(LOW,120);VAR6:=HHV(HIGH,120);VAR7:=(VAR6-VAR5)/100;VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);VARA:=3*VAR8-2*SMA(VAR8,10,1);VARB:=3*VAR9-2*SMA(VAR9,10,1);VARC:=100-VARB;基金私募仓位: (100-VARA),COLORYELLOW,LINETHICK2;VARE1:=REF(LOW,1)*0.9;VARF1:=LOW*0.9;VAR101:=(VARF1*VOL+VARE1*(CAPITAL-VOL))/CAPITAL;VAR111:=EMA(VAR101,30);VAR121:=CLOSE-REF(CLOSE,1);VAR131:=MAX(VAR121,0);VAR141:=ABS(VAR121);VAR151:=SMA(VAR131,7,1)/SMA(VAR141,7,1)*100;VAR161:=SMA(VAR131,13,1)/SMA(VAR141,13,1)*100;VAR171:=BARSCOUNT(CLOSE);VAR181:=SMA(MAX(VAR121,0),6,1)/SMA(ABS(VAR121),6,1)* 100;VAR191:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;VAR1A1:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR1B1:=SMA((SMA(VAR1A1,4,1)-50)*2,3,1);VAR1C1:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;VAR1D:=SMA(VAR1C1,4,1);VAR1E:=SMA(VAR1D,3,1);VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;VAR20:=VAR181<=25 AND VAR191<-95 AND VAR1F>20 AND VAR1B1<-30 AND VAR1E<30 AND VAR111-CLOSE>=-0.25 AND VAR151<22 AND VAR161<28 AND VAR171>50;VAR21:=(HIGH+LOW+CLOSE)/3;VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70));VAR24:=IF(VAR22>=150 AND VAR22<200 AND VAR23>=150 AND VAR23<200,10,0);VAR25:=IF(VAR22<=-150 AND VAR22>-200 AND VAR23<=-150 AND VAR23>-200,-10,VAR24);STICKLINE(VAR20,0,80,2,0),LINETHICK2,COLORBLUE;DRAWTEXT(CROSS(VAR20,0.5) AND COUNT(VAR20=1,10)=1,90,'超级主力建仓!') , COLORRED;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*SMA(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*SMA(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,70,'大资金进场'),LINETHICK1,COLORLIMAGENTA;STICKLINE(VAR11 AND COUNT(VAR11,30)=1,1,60,5,0),COLORLIMAGENTA,LINETHICK4;V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V71:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V91:=EMA(V8,13)-EMA(V8,34);VA:=EMA(V91,3);VB:=(V91-VA)/2;V111:=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);V121:=(EMA(V111,3)-REF(EMA(V111,3),1))/REF(EMA(V111,3),1)*100;准备现金: STICKLINE(EMA(V111,3)<=13,0,15,5,0),COLORLIRED;AA:=(EMA(V111,3)<=13) AND FILTER((EMA(V111,3)<=13),15);DRAWTEXT (AA,-10,'准备现金'),COLORLIRED;买入股票: STICKLINE(EMA(V111,3)<=13 AND V121>13,0,50,5,0),LINETHICK3,COLORRED;BB:= (EMA(V111,3)<=13 AND V121>13) AND FILTER((EMA(V111,3)<=13 AND V121>13),10);DRAWTEXT (BB,60,'主力进'),COLORWHITE;卖临界: STICKLINE(EMA(V111,3)>60 AND EMA(V111,3)>REF(EMA(V111,3),1),100,95,15,1),COLORGREEN;CC:=(EMA(V111,3)>=90 AND V121) AND FILTER((EMA(V111,3)>=90 AND V121),10);DD:=(EMA(V111,3)>=120 AND V121) AND FILTER((EMA(V111,3)>=120 AND V121),10);STICKLINE(IF(VB>=0,VB,0) AND EMA(V111,3)<13,0,15,5,0),COLORLIRED;STICKLINE(IF(VB<=0,VB,0) AND EMA(V111,3)>90,0,10,10,0),COLORGREEN;STICKLINE( IF(V4>=0,V4,1) AND EMA(V111,3)<13,0,15,5,0),COLORLIRED;STICKLINE(IF(V4<=0,V4,1) AND EMA(V111,3)>90,0,10,10,0),COLORLIBLUE,LINETHICK1;DRAWTEXT (CC,20,'主力减仓'),COLORLIBLUE;V10:=PEAKBARS(3,15,1)<10;V12:=IF(V10=1,50,0);头部:= IF(V12=50,100,0);卖:IF(IF(V12=50,100,0)>REF(IF(V12=50,100,0),1),40,0),COLO RGREEN,LINETHICK3;DRAWTEXT(卖,50,'主力清仓 '),COLORGREEN;V92:=TROUGHBARS(3,15,1)<10; V11:=IF(V92=1,50,0);底部:= IF(V11=50,50,0);买:IF( 底部>REF(底部,1),40,0),COLORRED,LINETHICK4;DRAWTEXT(买,50,'主力抄底 '),COLORRED;V7:=TROUGHBARS(3,15,1)<10; V9:=IF(V7=1,50,0);AA1:=(O+H+L+C)/4;BB1:=MA(AA1,3);CC1:=SUM(IF(AA>REF(AA,1),AA*VOL,0),4)/SUM(IF(AA<REF( AA,1),AA*VOL,0),4);DD1:=REF(100-(100/(1+CC)),1);A1:=HHV(AA,10);A2:=LLV(AA,30);A3:=A1-A2;A4:=EMA((AA-A2)/A3,1)*100;B1:=HHV(AA,16);B2:=LLV(AA,90);B3:=B1-B2;B4:=EMA((AA-B2)/B3,1)*100;C1:=HHV(AA,30);C2:=LLV(AA,240);C3:=C1-C2;C4:=EMA((AA-C2)/C3,1)*100;中线趋势:B4,COLORMAGENTA,LINETHICK2;STICKLINE(A4>90 AND B4>70,86,94,6,0),COLORYELLOW;DRAWTEXT((A4>90 AND B4>70)=1, 85,'拉'),COLORYELLOW;D:=CROSS(ZIG(3,50/5)*1,MA(ZIG(3,50/5)*1,2))*1,COLORRED;W:=CROSS(MA(ZIG(3,50/5)*1,2),ZIG(3,50/5)*1)*1,COLORBLU E;VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;VAR2:=LLV(LOW,34);VAR3:=HHV(HIGH,34);多: EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13),COLORRED,LINETHICK2;空: EMA(多,3),COLORGREEN,LINETHICK1;DRAWTEXT(W=1,多*-0.1,'▼下跌确立' ),COLORGREEN;DRAWTEXT(D=1,多*-0.31,'▲上涨确立'),COLORRED;爆发线: 80,COLORRED;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,60,'大资金出货'),LINETHICK1,COLORFFCC66;STICKLINE(VAR1C AND COUNT(VAR1C,30)=1,0,50,5,0),COLORFFCC66,LINETHICK3;。

牛市的突破指标随时可突破最高点的选股公式(通达信)

牛市的突破指标随时可突破最高点的选股公式(通达信)
已经突破前期高点回调在前期高点边上的公式
M5:=MA(CLOSE,5);
M10:=MA(CLOSE,10);
M20:=MA(CLOSE,20);
M30:=MA(CLOSE,30);
SR1:=REF(HIGH,20)=HHV(HIGH,2*20+1);
SR2:=FILTER(SR1,20);
SR3:=BACKSET(SR2,20+1);
HD:=FILTER(SR3,20);
前高:=REF(H,BARSLAST(HD));
突破:=CROSS(CMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
选股:EXIST(突破,5) AND C>前高 AND C<前高*1.06
请注意甄别内容中的联系方式诱导购买等信息谨防诈骗
牛市的突破指标随时可突破最高点的选股公式(通达信)
牛市的突破指标 随时可突破最高点的选股公式(通达信)
A:EMA(CLOSE,13),COLORGREEN;
A1:EMA(CLOSE,55),COLORYELLOW;
A22:EMA(CLOSE,120),COLORMAGENTA;
AND MACD>=0 AND MACD>REF(MACD,1) AND DIF>DEA AND DIF<0.50
AND M5>M20 AND DYNAINFO(7)>M20 ANDDYNAINFO(7)<30;
AAAA:=FILTER(CLOSE>REF(HHV(HIGH,100),1)
AND REF(C,1)<REF(HHV(HIGH,100),1),5)

通达信超好的抓牛主图指标公式【主力成本、短期底部、红牛、牛窝、老鼠仓、大胆搏、加仓、逃顶】

通达信超好的抓牛主图指标公式【主力成本、短期底部、红牛、牛窝、老鼠仓、大胆搏、加仓、逃顶】

通达信超好的抓牛主图指标公式【主力成本、短期底部、红牛、牛窝、老鼠仓、大胆搏、加仓、逃顶】A:=(3*C+L+O+H)/6;X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8* REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+ REF(A,20))/210;S2:=SMA(C,3,1);S6:=SMA(C,5,1);DK:=2*(S2-S6);主力成本:EMA(X,13),COLORFF00FF,LINETHICK0;短期底部:LLV(HIGH,30),LINETHICK2,COLORFFCC00;IF(MA(C,3),MA(C,3),DRAWNULL),COLORYELLOW,LINETHICK2;IF(MA(C,9),MA(C,9),DRAWNULL),COLORMAGENTA,LINETHICK2;IF(MA(C,23.5),MA(C,23.5),DRAWNULL),COLORWHITE;DRAWKLINE(HIGH,OPEN,LOW,CLOSE);MA5:=MA(C,5);MA10:=MA(C,10);MA30:=MA(C,30);FA:=BARSLAST(CROSS(MA10,MA5)) AND CROSS(MA5,MA10);FB:=FA AND MA5>MA30 AND MA10>MA30 AND MA10>REF(MA10,1);DRAWTEXT(FB,L-0.58,'★红牛'),COLORRED;V1:=EMA(CLOSE,5);V2:=EMA(EMA(CLOSE,90)*1.01,10);DRAWTEXT(CROSS(V1,V2),V1+0.05,'牛起步'),COLOR00FF00;VAR1:=LLV(LOW,21);VAR2:=HHV(HIGH,21);AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5);AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13);AB:=CROSS(AK1,AK);DRAWTEXT((AB = 1),(LOW * 0.99),'○牛窝'),COLORYELLOW;AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;老鼠仓:=BB1 AND CC1 AND DD1 AND EE1,LINETHICK0,COLOR0099FF; DRAWTEXT(老鼠仓,L*0.99,'老鼠仓'),COLOR0099FF;VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,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)*(0.93),'★大胆搏'),COLOR00FFFF; DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.99000001),'★加仓'),COLOR00FFFF; A1AA:=9;A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.05),'小心变盘'),COLORFFFFFF;VAR6:=REF(C,1);VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;DRAWTEXT(CROSS(82,VAR7),H*1.01,'▼逃顶'),COLORYELLOW;。

【股票指标公式下载】-【通达信】综合副图(跟庄买卖、MACD、准备买入、财神)

【股票指标公式下载】-【通达信】综合副图(跟庄买卖、MACD、准备买入、财神)

【通达信】综合副图(跟庄买卖、MACD、准备买入、财神)-指标公式源码P:=13;S:=5;M:=1;DIFF:EMA(C,S)-EMA(C,P);DEA:EMA(DIFF,M),COLORRED;MACD:2*(DIFF-DEA),COLORSTICK;P1:=P;S1:=S;DIFF1:EMA(C,S1)-EMA(C,P1);DEA1:EMA(DIFF,M),COLORRED;MACD1:=2*(DIFF1-DEA1),COLORSTICK;MACD2:=DEA;STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2*50,3,0 ),COLOR00AAFF; STICKLINE(MACD2<=REF(MACD2,1)ANDMACD2>0,0,MACD2*50,1.8,0 ),COLOR00BBFF;STICKLINE(MACD2<=REF(MACD2,1)ANDMACD2>0,0,MACD2*50,1.3,0 ),COLOR00CCFF;STICKLINE(MACD2<=REF(MACD2,1)ANDMACD2>0,0,MACD2*50,1.2,0 ),COLOR00DDFF;STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2*50,1,0 ),COLOR00EEFF; STICKLINE(MACD2<=REF(MACD2,1)ANDMACD2>0,0,MACD2*50,0.5,0 ),COLOR00FFFF;STICKLINE(MACD2>REF(MACD2,1)ANDMACD2>0,0,MACD2*50,3.4,0 ),COLOR0000AA;STICKLINE(MACD2>REF(MACD2,1)ANDMACD2>0,0,MACD2*50,3.2,0),COLOR0011BB;STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2*50,3,0),COLOR0022CC; STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2*50,2,0),COLOR0033DD; STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2*50,1,0),COLOR0044EE; STICKLINE(MACD2>REF(MACD2,1)ANDMACD2>0,0,MACD2*50,0.5,0),COLOR0055FF;STICKLINE(MACD2>REF(MACD2,1)ANDMACD2<=0,0,MACD2*50,3.4,0),COLORAA00BB;STICKLINE(MACD2>REF(MACD2,1)ANDMACD2<=0,0,MACD2*50,3.2,0),COLORBB11BB;STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2*50,3,0),COLORCC22BB; STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2*50,2,0 ),COLORDD33BB; STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2*50,1,0),COLOREE44BB; STICKLINE(MACD2>REF(MACD2,1)ANDMACD2<=0,0,MACD2*50,0.5,0 ),COLORFF55BB;STICKLINE(MACD2<=REF(MACD2,1)ANDMACD2<=0,0,MACD2*50,3,0 ),COLORFF7700;STICKLINE(MACD2<=REF(MACD2,1)ANDMACD2<=0,0,MACD2*50,1.5 ,0 ),COLORFF8811;STICKLINE(MACD2<=REF(MACD2,1)ANDMACD2<=0,0,MACD2*50,1.2,0 ),COLORFFAA22;STICKLINE(MACD2<=REF(MACD2,1)ANDMACD2<=0,0,MACD2*50,1.0 ,0 ),COLORFFBB33;STICKLINE(MACD2<=REF(MACD2,1)ANDMACD2<=0,0,MACD2*50,0.8 ,0 ),COLORFFDD44;STICKLINE(MACD2<=REF(MACD2,1)ANDMACD2<=0,0,MACD2*50,0.5 ,0 ),COLORFFFF55;VARA:=REF(LOW,1);VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100;VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3);VARD:=LLV(LOW,30);VARE:=HHV(VARC,30);VARF:=IF(MA(CLOSE,58),1,0);VARG:=EMA(IF(LOW<=VARD,(VARC+VARE*2)/2,0),3)/618*VARF;VARH:=IF(VARG>28,28,VARG);吸筹:STICKLINE(VARH>-120,0,VARH,6,1),COLOR0FFFFF;备钱:IF(吸筹,1,0),COLOR0FFFFF;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);买入时机: IF(CROSS(J,3),65,0),COLORFF00FF,LINETHICK3;DRAWTEXT(买入时机,70.1,' 跟庄'),COLOR00FF00;VA:=(2*C+H+L)/4;VB:=LLV(L,5);VC:=HHV(H,5);红线上穿买:EMA((VA-VB)/(VC-VB)*100,5),COLORRED;红线下穿卖:EMA(红线上穿买,3),COLORFFFF00;趋势:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SM A(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),CO LOR00FFFF;秘密买点: IF(趋势<=3,20,0),COLOR00FF00,LINETHICK3;机构建仓: IF(趋势<5,40,0),COLORFFFFFF,LINETHICK3;N:=5;VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1) ,COLORYELLOW,LINETHICK0;VAR2:8,COLORGREEN,LINETHICK0;上升在即: IF(CROSS(VAR1,VAR2),80,0),STICK,COLOR0000CC,LINETHICK2;专吸庄血: IF(VAR1<=8,25,0),STICK,COLORWHITE,LINETHICK2;DRAWTEXT(CROSS(VAR1,VAR2) ,80,'准备买入'),COLOR00FFFF;J1:=REVERSE(J);AA:=REF(MA(C,1),10)>REF(MA(C,60),10);买点:CROSS(J,J1) AND AA;STICKLINE(买点,0,-30,-12,0),COLOR0000FF;STICKLINE(买点,-20,-30,-10,0),COLORWHITE;STICKLINE(买点,-20,-30,-6,0),COLORYELLOW;DRAWTEXT(买点,-35,'财神'),COLORFF00FF;【通达信】综合副图(跟庄买卖、MACD、准备买入、财神)-指标公式效果图(文档来源:若水财经社区)。

最牛最准指标公式通达信公式指标源码.docx

最牛最准指标公式通达信公式指标源码.docx

木指标是木人使用多年的指标,由多种指标修改整编而成,为初级指标爱好者的首选。

朋友 们喜欢的话下载后,可以根据自己的需要可再任意组合成''二合一〃或''三合一〃等,如不喜欢 有未来的,可以不把这段源码安装进出。

源码里已分好段落,按需复制安装。

''公共均线〃 已设置成向上和向下转折时自动变色。

用法说明: 该指标为【五合一】日K 线主图,由一下组成:1 •离进场参考线;2•解盘;3、4.BS 提示(无 未来和有未来);5•财务和板块显示。

一、 该图近四天的K 线间有一条红绿线,也就是离场进场线,红线上持股,绿线下持币。

二、 解盘文字为当前K 线走势情况,作参考!三、 该图买卖BS 指标无未来和有未来结合使用:1、 该图淡红\B 、淡绿/S 无未来,也就是''右侧交易〃,虽滞后但稳妥!2、 该图红tB 、绿! S 有未来:含红绿波段,当出现提示可在第二天确认后再操作! 波段用法:红色K 线持股!青色K 线持币!四、 财务和板块行业提示:财务显示:市盈率、市净率和每股收益,以供参考。

有未来的其实并不可怕,你就当作参考就是。

{共用均线}MA5:MA(CLOSE <5)Z COLORWHITE;IF(MA5<REF(MA5,1)<MA5,DRAWNULL),COLORLIGRAY; MA10:MA(CLOSE,10),COLORYELLOW;IF(MA10vREF(MA10,l),MAIO,DRAWNULL),COLOR99FFCC;{MA20:MA(CLOSE,20)Z COLOR3366FF;IF(MA20<REF(MA20Z 1),MA20,DRAWNULL);}MA30:MA(CLOSE,30),COLORMAGENTA;IF(MA30<REF(MA30,1)Z MA30,DRAWNULL),COLORCC99FF;:-6»29g: 5.59I 关注区\4( WX*: 1.84 M*>: 16.74• tfi 如度走"在豪愉仗卖.・■ ・ 七於05 ______________________用咖HfK 紈冬孤0.00MA60:MA(CLOSE,60),COLORGREEN;IF(MA60<REF(MA60,1),MA60Z DRAWNULL)Z COLOR99 FFOO;MA180:MA(CLOSE,180),COLORFF9933;IF(MA180<REF(MA180Z1),MA180Z DRAWNULL),CO LORFFFF33;{1 •离进场线}JRH:=HHV(C,2);JRL:=LLV(C,2);MA3: = MA(C,3);YTSL:=(3 *C+L+O+H)/6;Z1D:=C>=REF(C,1);Z1X:=C<=REF(C Z1);Z2D:=C>=REF(C z2);Z2X:=C< = REF(C z2);X1D2:=Z1X AND Z2D;D1X2:=Z1D AND Z2X;R1:=Z1D AND Z2D;R2: = REF(R1,1) ANDX1D2;R3: = REF(R2,1) AND D1X2;R4: = REF(R3Z1) AND X1D2;R5:=REF(R4,1) AND D1X2;R6: = REF(R5Z1) AND X1D2;R7: = REF(R6,1) AND D1X2;R8: = REF(R7,1) ANDX1D2;R9: = REF(R8,1) AND D1X2;RA: = REF(R9,1) ANDX1D2;RB: = REF(RA,1) AND D1X2;RC:=REF(RB,1) ANDX1D2;RD:=Z1X AND Z2X;RE:=REF(RD,1) AND D1X2;RF:=REF(RE,1) ANDX1D2;R1O:=REF(RF,1) AND D1X2;Rll:=REF(R10,l) ANDX1D2;R12:=REF(R11,1) AND D1X2;R13:=REF(R12,1) AND X1D2;R14:=REF(R13Z1) AND D1X2;R15:=REF(R14Z1) ANDX1D2;R16:=REF(R15Z1) AND D1X2;R17:=REF(R16,1) ANDX1D2;R18:=REF(R17,1) AND D1X2;R19:=((REF(RD OR RE OR RF OR RIO OR Rll OR R12 OR R13 OR R14 OR R15 OR R16 ORR17 OR R18,l)) AND Rl);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 Z1)) AND RD);红色持股:二R1 OR R2 OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC,COLOROOOOFF,NODRAW;离场:=IF(红色持股,JRL,DRAWNULL);明离场价:二离场,COLORFF99FF,NODRAW;今离场价:REF(离场,1)COLORGREEN,NODRAW;青色观望:二RD OR RE OR RF OR RIO OR RU OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,COLORFFFFOO Z NODRAW;进:=IF(青色观望,JRH,DRAWNULL);明进场价:二进,COLOR33AACC,NODRAW;今进场价:REF(明进场价,1),COLORRED,NODRAW;短买:R19,COLORLIRED,NODRAW;STICKLINE(ISU\STBAR AND (红色持股OR REF(红色持股,1)=1),今离场价,今离场价,30,1),COLOROOOOFF;STICKLINE(ISLASTBAR AND (青色观望OR REF(青色观望」)=1),今进场价,今进场价,30,1),COLOROOFFOO;{2 •解盘}QLIFE:=(EMA(CLOSE,60)+EMA(CLOSE,90))/2,POINTDOT,COLORGREEN 丄INETHICK4; TT:=240/FROMOPEN;比:=TT;J12:=(HIGH ・((HIGH ・ LOW) / 3));J23:=(LOW + ((HIGH ・ LOW) / 3));AAA:=CONST(HHV(H,90));BBB:=CONST(LLV(L Z100));DRAWKLINE(HQ 丄,C);口{早晨之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPENJ)<REF(CLOSE,2) AND ABS(REF(OPEN Z1)-REF(CLOSE,1))/REF(CLOSE Z1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE z2)),l z O));丁2{黄昏之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.03 AND REF(OPEN,1)> REF(CLOSE,2) AND ABS(REF(OPEN Z1)-REF(CLOSE,1))/REF(CLOSE Z1)<0.02AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2)),l z O));T3{长十字}:=CONST(IF((CLOSE=OPEN AND HIGH/LOW >1.03)z l,0));丁4{垂死十字}:=CONST(IF((CLOSE=OPEN AND CLOSE=LOW AND CLOSE!二HIGH)」,。

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