diff : =ema(close,12) - ema(close,26);
dea :=ema(diff,9);
macd :=2*(diff-dea),nodraw;
stickline(macd>=0 and macd>=ref(macd,1) and c>o,o,c,9,0),color0000ff;
stickline(macd>0 and macd<ref(macd,1) and c<o,o,c,9,0),colorff9900;
stickline(macd<0 and macd<ref(macd,1),o,c,9,0),color009900;
stickline(c>o and c=h and c>ref(c,1)*1.098,close,o ,9,0),coloryellow;//涨停//
stickline(c>o and c<h and h>ref(c,1)*1.098,(close+open)/2,open,9,0),coloryellow;//打开涨停//
//低开数字显示//
低开值:(ref(c,1)-l)/ref(c,1)*100,nodraw,coloryellow;
stickline(c>o and c>ref(c,1) and o<ref(c,1),open,ref(c,1),4,0),colorcyan; //低开显示//
stickline(c>o and c>ref(c,1) and o<ref(c,1),l,ref(c,1),4,0),colorcyan; //低开显示//
ma5:=ma(close,5),color999999;
ma10:=ma(close,10),colorff8800;
ma20:ma(close,20),color009900;
均线10:if(l>ma20 or (ma20>ma10 and ma10>=ref(ma10,1) and ma10/h<1.05 and l/ma10<1.05),ma10,drawnull),linethick1,colorred;
均线5:if( ma5>ma10 and ma10>=ref(ma10,1) ,ma5,drawnull),linethick1,color009999;
流通股:=shgzg,nodraw;
drawtext (流通股>ref(流通股,1) ,c>0,'股本增加');
a1:=ema(c,13),colorwhite,linethick1;
a1x:=(a1-ref(a1,1))/ref(a1,1)*100,nodraw;
jg:=bigbuymoney1-bigsellmoney1;
td:=count(jg,0);
myd:=min(td,60);
机构单:=ema(jg,myd)*myd/capital,colorred;
涨停:=if(ref(c,1)*1.1-c<0.01 ,1,0);
t:=barslast(barslastcount(涨停)>=1) ;
lc:=ref(close,1);
操作线:=sma(max(close-lc,0),2,1)/sma(abs(close-lc),2,1)*100;
pp2:=操作线<50 and ref(操作线,1)>50 ;
pp:=操作线<45 and ref(操作线,1)>45 ;
pp3:=操作线<20 and ref(操作线,1)>20;
hh:=count(c/o>1.05,13)>=1;
a:=sma(l,4,3) ;
drawicon(a and (ref(pp,1) or ref(pp3,1)) and hh and c>ma20 ,l*0.99,1);
//hj//
动力线:=ma(c,5),linethick3,color00ccff;
牛熊线:=ma(c,13),circledot,coloryellow;
生命线:=ma(c,34),circledot,colormagenta;
ma05:=ma(c,5);
ma10:=ma(c,10);
ma20:=ma(c,20);
ma30:=ma(c,30);
五日乖离率:=(c-ma05)/ma05*100;
bb05:=atan((ma05/ref(ma05,1)-1)*100)*180/3.1416;
速度5:=sma(ema((ma05-ref(ma05,1))/ref(ma05,1),3)*100,3,1);
加速度5:=ema((速度5-ref(速度5,1)),3),nodraw;
if(bb05>30 and ma05>ref(ma05,1), ma05,drawnull),linethick3,colorred;
bb10:=atan((ma10/ref(ma10,1)-1)*100)*180/3.1416;
if(bb05<0 and ma05<ref(ma05,1), ma05,drawnull),linethick3,colorgreen;
三拾日乖离率:=(c-ma30)/ma30*100,nodraw;
var1:=(ma20-ma30)>ref((ma20-ma30),1) and ma20>ref(ma20,1) and ma30>ref(ma30,1);
var2:=(ma30-ma20)<ref((ma30-ma20),1) and ma20<ref(ma20,1) and ma30<ref(ma30,1);
bb30:=atan((ma30/ref(ma30,1)-1)*100)*180/3.1416;
强势狙击:=filter(bb30>30 and bb10>45 and cross(bb05,60),10);
加仓:=filter(count(cross(bb05,30),5)>=1 and ma05>ref(ma05,1) and 三拾日乖离率>ref(三拾日乖离率,1) and ma10>ref(ma10,1)
and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1) ,10) ;
清仓:=filter(count(cross(30,bb05),5)>=1 and (c>ma30 or o>ma30) and ma05<ref(ma05,1) and 三拾日乖离率<ref(三拾日乖离率,1) and ma10<ref(ma10,1),10);
jc:=cross(0,五日乖离率) and 三拾日乖离率<ref(三拾日乖离率,1) and ma10>ref(ma10,1) ;
减仓:=filter(jc,10);
mr:=count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and ma05>ref(ma05,1) and (c/ref(c,1)-1)*100>5 and ref(c,1)<ma30;
买入:=filter(mr,10);
var21:=max(abs(high-amount/vol/100),abs(amount/vol/100-low));
var3:=abs((open+close)/2-amount/vol/100);
mv:=(var21+var3)/amount*vol*100*50;
压力:ma(ref(hhv(c,30),1),2),color9dffff;
支撑:ma(ref(llv(c,30),1),2),colorabff46;
drawtext(加仓 and h<压力 and h/c<1.01 ,low*0.98,'b2'),coloryellow;
ma18:=ma(close,18);
mtm:=c-ref(c,1);
dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
买:=llv(dx,2)=llv(dx,7) and count(dx<0,2) and cross(dx,ma(dx,2));
drawicon(filter(买=1,5) or 买入,low,'1'),coloryellow;
加1:=ma18>=ref(ma18,3) and cross(close,ma18);
drawicon(加1,low*0.99,'1'),colorcc66ff;
卖一:=hhv(dx,2)=hhv(dx,7) and count(dx>50,2) and cross(ma(dx,2),dx);
drawicon(减仓 or 清仓 or filter(卖一=1,1),high*1.02,'2'),colorcyan;
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;
ff1:=bb1 and cc1 and dd1 and ee1;
drawtext(ff1,low*0.99,'老鼠仓'),color4080ff;
xxs:=ma(low,5)*(1-5/100);
xxs1:=ma(high,5)*(1+5/100);
均线:=c,colorgreen;
aaaa:=close/ref(close,3)<=0.85 and cross(c,xxs) and c>ref(c,1),linethick0 ;
drawtext(aaaa,l*0.95,'下影买'),colorred;
dif:=ema(close,12)-ema(close,26);
dea:=ema(dif,9);
drawtext(ref(cross(dea,dif),1) and cross(dif,dea),l*0.97,'←天河回马抢'),colormagenta;
;
上一指标公式:狂风暴雨详解 同花顺狂风暴雨
下一指标公式:顾比复合平均X详解 同花顺复合
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文A03均线系统详解 同花顺系统A03仅供学习研究。