茂荣趋势线预警系统解盘公式[大智慧公式]
该指标综合了多项技术指标,主要用于股票短期走势的分析和判断。根据指标的数值变化,可以对股票的买入和卖出做出合理的决策。
具体操作建议如下:
1. 当预警系统的数值大于150,且筹码进场的数值大于上一期数值时,可以适量买入股票;
2. 当茂荣分界线低于230,且茂荣趋势线低于250时,应谨慎买入或暂停操作;
3. 当筹码加仓的数值大于上一期数值,且股票的短期走势过急时,应适当减持;
4. 建议根据不同股票的实际情况,灵活使用该指标。
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((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))
*168,48,2)+3*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,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;cxh1m:=(C-LLV(L,8))/(HHV(H,8)-LLV(L,8))*200;
cxh2m:=SMA(cxh1m,2,1);
cxh3m:=SMA(cxh2m,3,1);
cxh4m:=SMA(cxh3m,3,1);
波: cxh3m+200,linethick2,COLORRED;
段: cxh4m+200,linethick2,COLORYELLOW;
cxh5m:=CROSS(cxh2m,cxh3m) AND cxh3m<45;
STICKLINE(cxh5m,200,cxh3m+5+200,1,1),linethick2,COLORRED;
cxh6m:=CROSS(cxh3m,cxh4m) AND cxh3m<45;
cxh7m:=cxh6m AND V>REF(V,3)*2 AND V>REF(MA(V,12),1)*2;
STICKLINE(cxh6m,200,cxh3m+5+200,1,1),linethick2,COLORWHITE;
DRAWTEXT(cxh6m AND COUNT(cxh6m,10)=1,cxh3m+15+200,'抄底'),linethick1,COLORWHITE;
STICKLINE(cxh7m,200,cxh3m+5+225,1,1),linethick4,COLORRED;
DRAWTEXT(cxh7m AND COUNT(cxh7m,10)=1,cxh3m+5+230,'放量'),linethick1,COLORRED;
cxh8m:=CROSS(cxh2m,cxh3m) AND cxh3m>155 AND cxh3m>cxh4m AND 段>355;
STICKLINE(cxh8m AND COUNT(cxh8m,5)=1,cxh3m-5+200,100+300,1,1),linethick2,COLORGREEN;{http://www.cxh99.com}
cxh9m:=CROSS(cxh4m,cxh3m) AND cxh3m>155;
STICKLINE(cxh9m,cxh3m-5+200,100+300,1,1),linethick2,COLORYELLOW;
DRAWTEXT(cxh9m AND COUNT(cxh9m,10)=1,cxh3m-15+250,'逃顶'),linethick1,COLORYELLOW;cxhE:=MA(WINNER(C),36)*100;
STICKLINE(CROSS(cxhE,2.5)*(60),60,0,24,0),coloryellow;
STICKLINE(CROSS(cxhE,2.5)*(60),60,0,8,0),colorred;
中短期底部:=(CROSS(cxhE,2.5)*(60));
drawtext(中短期底部 ,80,'中短期底部庄家吸筹'),Colorred;
drawtext(中短期底部 ,65,'越跌越买耐心持股'),Colorred;cxhEy:=MA(WINNER(C),144)*80;
买入飞弹:=CROSS(cxhEy,2.5)*(60);
趋势线1:=(MA(C,36)-MA(C,480))/MA(C,480)*100;
DRAWGBK(((ref(cxhEy,0.1)<ref(cxhEy,14)) and 茂荣趋势线<250 and 趋势线1<-5 or 茂荣趋势线<220),STRIP(RGB(0,0,0),RGB(0,0,95),100));获利筹码:EMA(WINNER(C)*70,5),Colorred;
动态底部:EMA(IF(L<= LLV(l,30),SMA(ABS(LOW-REF(LOW,1)),30,1)/SMA(MAX(LOW-REF(l,1),0),30,1),0),3)*10;
STICKLINE(动态底部>0,0,动态底部,7,0),coloryellow;
SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(CLOSE,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(CLOSE,20))*100);
STICKLINE(((C > 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;cxhzE:=REF(L,1)*0.9;
cxhzF:=L*0.9;
cxhz10:=(cxhzF*V+cxhzE*(CAPITAL-V))/CAPITAL;
cxhz11:=EMA(cxhz10,30);
cxhz12:=C-REF(C,1);
cxhz13:=MAX(cxhz12,0);
cxhz14:=ABS(cxhz12);
cxhz15:=SMA(cxhz13,7,1)/SMA(cxhz14,7,1)*100;
cxhz16:=SMA(cxhz13,13,1)/SMA(cxhz14,13,1)*100;
cxhz17:=BARSCOUNT(C);
cxhz18:=SMA(MAX(cxhz12,0),6,1)/SMA(ABS(cxhz12),6,1)*100;
cxhz19:=(-200)*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+100;
cxhz1A:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;
cxhz1B:=SMA((SMA(cxhz1A,4,1)-50)*2,3,1);
cxhz1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
cxhz1D:=SMA(cxhz1C,4,1);
cxhz1E:=SMA(cxhz1D,3,1);
cxhz1F:=(HHV(H,30)-C)/C*100;
cxhz20:=cxhz18<=25 AND cxhz19<-95 AND cxhz1F>20 AND cxhz1B<-30 AND cxhz1E<30 AND cxhz11-C>=-0.25 AND cxhz15<22 AND
cxhz16<28 AND cxhz17>50;STICKLINE(cxhz20,0,100,10,0),color436010,linethick2;
DRAWTEXT(cxhz20 AND COUNT(cxhz20,30)=1,85,'百万导弹!'),COLORFFFFFF;cxh1:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
cxh2:=2*ABS(cxh1);
cxh3:=100-3*SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1)+2*SMA(SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);
cxh4:=100-3*SMA((O-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1)+2*SMA(SMA((O-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);
cxh5:=(H+L+C)/3;
cxh6:=(cxh5-MA(cxh5,14))/(0.015*AVEDEV(cxh5,14));
cxh7:=(cxh5-MA(cxh5,70))/(0.015*AVEDEV(cxh5,70));
cxh8:=IF(cxh6>=150 AND cxh6<200 AND cxh7>=150 AND cxh7<200,10,0);
cxh9:=IF(cxh6<=-150 AND cxh6>-200 AND cxh7<=-150 AND cxh7>-200,-10,cxh8);
cxhA:=(C-MA(C,13))/MA(C,13)*100;
cxhB:=100-ABS(cxhA);
预警系统: IF(cxh7>=200 AND cxh6>=150,15,IF(cxh7<=-200 AND cxh6<=-150,-15,cxh9))+140,COLOR00FF00;
cxh23:=IF(cxh1>0,cxh1,0)>50 AND 预警系统>150 AND IF(cxhB<90,cxhB,100)=100;
cxh25:=IF(cxh1<0,cxh2,0)>38 AND 预警系统<130;
DRAWTEXT(cxh23 AND COUNT(cxh23,30)=1,160,'上涨过急 '),COLORFFFFFF;
DRAWTEXT(cxh25 AND COUNT(cxh25,30)=1,135,'不必杀跌!'),COLORFFFFFF;cxh100:=(短价<205 and 茂荣中期价位<210 and 茂荣操作线>茂荣分界线 and 茂荣分界线<茂荣趋势线 and 茂荣分界线<270 and 大盘趋势线<250);
筹码进场:IF(cxh100>REF(cxh100,1),10,0),COLORBLUE;
cxh101:=(短价<205 and 茂荣中期价位<210 and 茂荣操作线>茂荣分界线 and 茂荣分界线<茂荣趋势线 and 茂荣分界线<230 and 茂荣趋势线<250 and 大盘趋势线<240);
筹码加仓:IF(cxh101>REF(cxh101,1),10,0),colorff00ff;
cxh102:=(短价<205 and 茂荣中期价位<210 and 茂荣趋势线<215 and 大盘趋势线&{程序化交易 www.cxh99.com }
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容