当前位置:首页 > 通达信公式 > 正文

通达信很不错的指标足够能赚钱

2017-09-12未知 编 辑:翔博软件

C01:=(H+L+C)/3;
 C11:=HHV(C01,16*15);C21:=LLV(C01,16*15);C31:=C11-C21;
 C41:=EMA((C01-C21)/C31,11)*230+190;
茂荣趋势线:C41,COLORBLUE,LINETHICK2;


 C02:=(H+L+C)/3;
 C12:=HHV(C02,16*15);C22:=LLV(C02,16*15);C32:=C12-C22;
 C42:=EMA((C02-C22)/C32,12)*200+200;
茂荣分界线:C42,COLORMAGENTA,LINETHICK2;

V3:=100-(100-3*SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))
 *168,48,2)+3*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
 *168,48,2),15,1))+300;
茂荣操作线:=V3;

C04:=(INDEXH+INDEXL+INDEXC)/3;
 C14:=HHV(C04,16*15);C24:=LLV(C04,16*15);C34:=C14-C24;
 C44:=EMA((C04-C24)/C34,11)*230+190;
大盘趋势线:C44,COLOR00FF00,LINETHICK2;

C03:=(H+L+C)/3;
 A13:=HHV(C03,5);A23:=LLV(C03,5);A33:=A13-A23;
 A43:=EMA((C03-A23)/A33,2)*200+200;
 B13:=HHV(C03,4*10);B23:=LLV(C03,4*10);B33:=B13-B23;
 B43:=EMA((C03-B23)/B33,6)*200+200;
茂荣中期价位:B43,COLOR6699FF;
短价:=A43;

VAR1M:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*200;
 VAR2M:=SMA(VAR1M,2,1);
 VAR3M:=SMA(VAR2M,3,1);
 VAR4M:=SMA(VAR3M,3,1);
波: VAR3M+200,LINETHICK2,COLORRED;
段: VAR4M+200,LINETHICK2,COLORYELLOW;
 VAR5M:=CROSS(VAR2M,VAR3M) AND VAR3M<45;
 STICKLINE(VAR5M,200,VAR3M+5+200,1,1),LINETHICK2,COLORRED;
 VAR6M:=CROSS(VAR3M,VAR4M) AND VAR3M<45;
 VAR7M:=VAR6M AND VOL>REF(VOL,3)*2 AND VOL>REF(MA(VOL,12),1)*2;
 STICKLINE(VAR6M,200,VAR3M+5+200,1,1),LINETHICK2,COLORWHITE;
 DRAWTEXT(VAR6M AND COUNT(VAR6M,10)=1,VAR3M+15+200,'抄底'),LINETHICK1,COLORWHITE;
 STICKLINE(VAR7M,200,VAR3M+5+225,1,1),LINETHICK4,COLORRED;
 DRAWTEXT(VAR7M AND COUNT(VAR7M,10)=1,VAR3M+5+230,'放量'),LINETHICK1,COLORRED;
 VAR8M:=CROSS(VAR2M,VAR3M) AND VAR3M>155 AND VAR3M>VAR4M AND 段>355;
 STICKLINE(VAR8M AND COUNT(VAR8M,5)=1,VAR3M-5+200,100+300,1,1),LINETHICK2,COLORGREEN;
 VAR9M:=CROSS(VAR4M,VAR3M) AND VAR3M>155;
 STICKLINE(VAR9M,VAR3M-5+200,100+300,1,1),LINETHICK2,COLORYELLOW;
 DRAWTEXT(VAR9M AND COUNT(VAR9M,10)=1,VAR3M-15+250,'逃顶'),LINETHICK1,COLORYELLOW;

VARE:=MA(WINNER(CLOSE),36)*100;
 STICKLINE(CROSS(VARE,2.5)*(60),60,0,24,0),COLORYELLOW;
 STICKLINE(CROSS(VARE,2.5)*(60),60,0,8,0),COLORRED;
中短期底部:=(CROSS(VARE,2.5)*(60));
 DRAWTEXT(中短期底部 ,80,'★中短期底部庄家吸筹'),COLORRED; 
 DRAWTEXT(中短期底部 ,65,'★越跌越买耐心持股'),COLORRED;

VAREY:=MA(WINNER(CLOSE),144)*80;
买入飞弹:=CROSS(VAREY,2.5)*(60);
趋势线1:=(MA(CLOSE,36)-MA(CLOSE,480))/MA(CLOSE,480)*100;
 REF(VAREY,0.1)<REF(VAREY,14) AND 茂荣趋势线<250 AND 趋势线1<-5 OR 茂荣趋势线<220;


获利筹码:EMA(WINNER(C)*70,5),COLORRED; 
动态底部:EMA(IF(L<= LLV(L,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(L,1),0),30,1),0),3)*10;
 STICKLINE(动态底部>0,0,动态底部,7,0),COLORYELLOW;
 SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100);
 STICKLINE(((CLOSE > 0) AND DAY=2),20,121,40,1),COLORFFFFFF;
 STICKLINE(((SAT <= 5) AND DAY=2),21,(20 + SAT),35,0),COLORFFFFFF;
 STICKLINE((((SAT > 5) AND (SAT <= 20)) AND DAY=2),21,(20 + SAT),35,0),COLORCCFF88;
 STICKLINE((((SAT > 20) AND (SAT <= 40)) AND DAY=2),21,(20 + SAT),35,0),COLORFF00FF;
 STICKLINE(((SAT > 40) AND DAY=2),21,(20 + SAT),35,0),COLOR0000FF;
亏损筹码:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5),COLORF0FF00;
 STICKLINE(亏损筹码>0,0,亏损筹码,5,0),COLOR66FF00;
 STICKLINE(亏损筹码>0,0,亏损筹码*0.9,5,0),COLOR66EE00;
 STICKLINE(亏损筹码>0,0,亏损筹码*0.85,5,0),COLOR66DD00;
 STICKLINE(亏损筹码>0,0,亏损筹码*0.8,5,0),COLOR66CC00;
 STICKLINE(亏损筹码>0,0,亏损筹码*0.75,5,0),COLOR66BB00;

主力控筹:IF(获利筹码>亏损筹码,获利筹码*2,获利筹码),COLORRED;
 STICKLINE(主力控筹>0,0,主力控筹,5,0),COLORFFFFFF;

STICKLINE(获利筹码>0,0,获利筹码,5,0),COLORFFFFFF;
 STICKLINE(获利筹码>0,0,获利筹码*0.9,5,0),COLOREEEEFF;
 STICKLINE(获利筹码>0,0,获利筹码*0.85,5,0),COLORDDDDFF;
 STICKLINE(获利筹码>0,0,获利筹码*0.8,5,0),COLORCCCCFF;
 STICKLINE(获利筹码>0,0,获利筹码*0.75,5,0),COLORBBBBFF;
 STICKLINE(获利筹码>0,0,获利筹码*0.7,5,0),COLORAAAAFF;
 STICKLINE(获利筹码>0,0,获利筹码*0.65,5,0),COLOR9999FF;
 STICKLINE(获利筹码>0,0,获利筹码*0.6,5,0),COLOR8888FF;
 STICKLINE(获利筹码>0,0,获利筹码*0.55,5,0),COLOR7777FF;
 STICKLINE(获利筹码>0,0,获利筹码*0.5,5,0),COLOR6666FF;
 STICKLINE(获利筹码>0,0,获利筹码*0.45,5,0),COLOR5555FF;
 STICKLINE(获利筹码>0,0,获利筹码*0.4,5,0),COLOR4444FF;
 STICKLINE(获利筹码>0,0,获利筹码*0.35,5,0),COLOR3333FF;
 STICKLINE(获利筹码>0,0,获利筹码*0.3,5,0),COLOR2222FF;
 STICKLINE(获利筹码>0,0,获利筹码*0.25,5,0),COLOR1111FF;

VARZE:=REF(LOW,1)*0.9;
 VARZF:=LOW*0.9;
 VARZ10:=(VARZF*VOL+VARZE*(CAPITAL-VOL))/CAPITAL;
 VARZ11:=EMA(VARZ10,30);
 VARZ12:=CLOSE-REF(CLOSE,1);
 VARZ13:=MAX(VARZ12,0);
 VARZ14:=ABS(VARZ12);
 VARZ15:=SMA(VARZ13,7,1)/SMA(VARZ14,7,1)*100;
 VARZ16:=SMA(VARZ13,13,1)/SMA(VARZ14,13,1)*100;
 VARZ17:=BARSCOUNT(CLOSE);
 VARZ18:=SMA(MAX(VARZ12,0),6,1)/SMA(ABS(VARZ12),6,1)*100;
 VARZ19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
 VARZ1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
 VARZ1B:=SMA((SMA(VARZ1A,4,1)-50)*2,3,1);
 VARZ1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
 VARZ1D:=SMA(VARZ1C,4,1);
 VARZ1E:=SMA(VARZ1D,3,1);
 VARZ1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
 VARZ20:=VARZ18<=25 AND VARZ19<-95 AND VARZ1F>20 AND VARZ1B<-30 AND VARZ1E<30 AND VARZ11-CLOSE>=-0.25 AND VARZ15<22 AND 
 VARZ16<28 AND VARZ17>50;STICKLINE(VARZ20,0,100,10,0),COLOR436010,LINETHICK2;
 DRAWTEXT(VARZ20 AND COUNT(VARZ20,30)=1,85,'百万导弹!'),COLORFFFFFF; 
 VAR1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
 VAR2:=2*ABS(VAR1);
 VAR3:=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);
 VAR4:=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);
 VAR5:=(HIGH+LOW+CLOSE)/3;
 VAR6:=(VAR5-MA(VAR5,14))/(0.015*AVEDEV(VAR5,14));
 VAR7:=(VAR5-MA(VAR5,70))/(0.015*AVEDEV(VAR5,70));
 VAR8:=IF(VAR6>=150 AND VAR6<200 AND VAR7>=150 AND VAR7<200,10,0);
 VAR9:=IF(VAR6<=-150 AND VAR6>-200 AND VAR7<=-150 AND VAR7>-200,-10,VAR8);
 VARA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
 VARB:=100-ABS(VARA);
预警系统: IF(VAR7>=200 AND VAR6>=150,15,IF(VAR7<=-200 AND VAR6<=-150,-15,VAR9))+140,COLOR00FF00;
 VAR23:=IF(VAR1>0,VAR1,0)>50 AND 预警系统>150 AND IF(VARB<90,VARB,100)=100;
 VAR25:=IF(VAR1<0,VAR2,0)>38 AND 预警系统<130;
 DRAWTEXT(VAR23 AND COUNT(VAR23,30)=1,160,'上涨过急 '),COLORFFFFFF;
 DRAWTEXT(VAR25 AND COUNT(VAR25,30)=1,135,'不必杀跌!'),COLORFFFFFF;

VAR100:=(短价<205 AND 茂荣中期价位<210 AND 茂荣操作线>茂荣分界线 AND 茂荣分界线<茂荣趋势线 AND 茂荣分界线<270 AND 大盘趋势线<250);
筹码进场:IF(VAR100>REF(VAR100,1),10,0),COLORBLUE;
 VAR101:=(短价<205 AND 茂荣中期价位<210 AND 茂荣操作线>茂荣分界线 AND 茂荣分界线<茂荣趋势线 AND 茂荣分界线<230 AND 茂荣趋势线<250 AND 大盘趋势线<240);
筹码加仓:IF(VAR101>REF(VAR101,1),10,0),COLORFF00FF;
 VAR102:=(短价<205 AND 茂荣中期价位<210 AND 茂荣趋势线<215 AND 大盘趋势线<230);
筹码抄底:IF(VAR102>REF(VAR102,1),10,0),COLORRED;

 VAR103:=(短价>395 AND 茂荣中期价位>390 AND 茂荣操作线<茂荣分界线 AND 茂荣分界线>茂荣趋势线 AND 茂荣操作线>300 AND 茂荣分界线>370);
筹码出场:IF(VAR103>REF(VAR103,1),10,0),COLORYELLOW;
 VAR104:=(短价>395 AND 茂荣中期价位>390 AND 茂荣趋势线>380);
筹码清仓:IF(VAR104>REF(VAR104,1),10,0),COLORCYAN;
 VAR105:=(短价>395 AND 茂荣中期价位>390 AND 茂荣趋势线>380 AND 茂荣分界线>390);
筹码逃顶:IF(VAR105>REF(VAR105,1),10,0),COLOR00FF00;

{DRAWTEXTREL(12,835,' 茂荣解盘:'),COLORFFFF00,LINETHICK2;
 IF BARSTATUS=2 AND 茂荣分界线<230 AND 茂荣操作线>茂荣分界线 THEN 
 DRAWTEXTREL(150,840,'该股进入底部区域,注意成交量变化和各个指标信号买入。 '),COLORYELLOW,LINETHICK1; 
 IF BARSTATUS=2 AND 茂荣分界线>370 AND 茂荣操作线<茂荣分界线 THEN 
 DRAWTEXTREL(150,840,'该股进入顶部区域,注意成交量变化和各个指标信号卖出。 '),COLORRED,LINETHICK1;
 IF BARSTATUS=2 AND 茂荣分界线<370 AND 茂荣分界线>230 AND 茂荣分界线<茂荣趋势线 THEN 
 DRAWTEXTREL(150,840,'该股进入下降区域,注意股价是否冲顶逃离。 '),COLOR00FF00,LINETHICK1; 
 IF BARSTATUS=2 AND 茂荣分界线<370 AND 茂荣分界线>230 AND 茂荣分界线>茂荣趋势线 THEN 
 DRAWTEXTREL(150,840,'该股进入上升区域,注意股价是否回调买入。 '),COLORFF00FF,LINETHICK1;}

VAR200:=(CROSS(茂荣分界线,茂荣趋势线) AND 茂荣趋势线<250);
茂荣持股:IF(VAR200 >REF(VAR200 ,1),180,170),COLORRED;
 STICKLINE(VAR200 ,170,200,10,0),COLORRED;
 DRAWTEXT(茂荣持股=180,190,'茂荣持股待涨'),COLORRED;
 VAR201:=(CROSS(茂荣趋势线,茂荣分界线) AND 茂荣趋势线>350);
茂荣持币:IF(VAR201 >REF(VAR201 ,1),410,438),COLOR00FF00;
 STICKLINE(VAR201 ,438,400,10,0),COLOR00FF00;
 DRAWTEXT(茂荣持币=410,425,'茂荣持币观望'),COLOR00FF00;

趋势线:=(CLOSE-MA(CLOSE,480))/MA(CLOSE,480)*100;
 AA:=((REF(趋势线,1)<REF(趋势线,2) AND 趋势线<-10) AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-10,趋势线),1) AND CROSS(趋势线,-10)) OR 趋势线=-10;
 AAA:=IF(FILTER(AA,48),5,0);
 DRAWTEXT(AAA AND VAR100,118,'茂荣买入'),COLORYELLOW;
 STICKLINE(AAA AND VAR100,0,100,10,0),COLORYELLOW;
 CC:=((REF(趋势线,1)<REF(趋势线,2) AND 趋势线<-15 AND 趋势线>-10) AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-15,趋势线),1) AND CROSS(趋势线,-15));
 CCC:=IF(FILTER(CC,48),5,0);
 DRAWTEXT(CC AND CCC,118,'茂荣买入'),COLOR00FF00;
 STICKLINE(CC AND CCC,0,100,10,0),COLOR00FF00;
 YMRMR1:=AAA AND VAR100;
茂荣买入黄:IF(YMRMR1>REF(YMRMR1,1),100,0),COLORYELLOW;
 YMRMR2:=CC AND CCC;
茂荣买入绿:IF(YMRMR2>REF(YMRMR2,1),100,0),COLOR00FF00;
 {DRAWTEXTREL(2,905,' 《茂荣看价操作》'),COLORFFFF00;
 DRAWTEXTREL(280,905,' 茂荣预测今日价位1'),COLORFFFFFF;
 DRAWTEXTREL(660,905,' 价位2'),COLORFFFFFF;
 DRAWTEXTREL(10,955,'所属板块:'+BKNAME),COLORBLUE;}

分界线:300,POINTDOT,LINETHICK2,COLORBLUE;

-40,LINETHICK5,COLORBLUE;
 -3,LINETHICK3,COLORFF00FF;
 200,LINETHICK2,COLOR436010;
 400,LINETHICK2,COLOR436010;
 MA1:=MA(CLOSE,20);
 MA2:=MA(CLOSE,120);

STICKLINE(MA1>MA2,435,438,10,0),COLORRED;
 STICKLINE(MA1<MA2,435,438,10,0),COLOR00FF00;
 STICKLINE(MA1>MA2,-100,-70,10,0),COLORRED;
 STICKLINE(MA1<MA2,-100,-70,10,0),COLOR00FF00;
 STICKLINE(茂荣趋势线>380,165,170,10,0),COLORRED;
 STICKLINE(茂荣趋势线<220,165,170,10,0),COLOR00FF00;

STICKLINE(茂荣趋势线>220 AND 茂荣趋势线<380,165,170,10,0),COLORYELLOW;
 STICKLINE(茂荣趋势线>0,-100,-96,10,0),COLORFF00FF;

大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标