
以下是单阳不破全套指标公式实盘配资网站,包括主图、副图和选股公式,适用于通达信等股票分析软件:
一、主图公式
plaintext
{单阳不破主图}
r:=if(date+19000000<=20250814,1,drawnull);
阳涨幅:=7*r;
阳倍量:=1*r;
单阳收:=c*r;
单阳开:=o*r;
单阳:=单阳收*r>=ref(c,1)*(1+阳涨幅/100) and vol>ref(vol,1)*阳倍量;
drawtext(currbarscount<100 and 单阳,l*0.98,'阳'),color00ffff;
高不破价:=ref(c,barslast(单阳));
低不破价:=ref(l,barslast(单阳));
单阳不破:=currbarscount<100 and barslast(单阳)<11 and (llv(l,barslast(单阳))>低不破价 or llv(l,barslast(单阳))=低不破价);
stickline(单阳不破*r,低不破价-低不破价*0.0005,低不破价,4,0),colorgreen;
stickline(单阳不破*r,ref((c-l)/2+l,barslast(单阳)),ref((c-l)/2+l,barslast(单阳)),4,0);
stickline(单阳不破*r,高不破价,高不破价,4,0),colorred;
stickline(单阳*r,单阳开,单阳收,2,0),colorred;
zyg:=barslast(单阳);
a:=count(c>ref(c,zyg),zyg)=4 and count(v< ref(v,zyg),zyg)=4 and between(zyg,1,4);
drawtext(a*r,l*0.98,'单阳');
drawtext(a*r,l*0.94,'不破');
drawtext(barslast(单阳)=1 and 单阳不破,低不破价*0.98,'1'),colorgreen;
drawtext(barslast(单阳)=2 and 单阳不破,低不破价*0.98,'2'),colorgreen;
drawtext(barslast(单阳)=3 and 单阳不破,低不破价*0.98,'3'),colorgreen;
drawtext(barslast(单阳)=4 and 单阳不破,低不破价*0.98,'4'),colorgreen;
drawtext(barslast(单阳)=5 and 单阳不破,低不破价*0.98,'5'),colorgreen;
drawtext(barslast(单阳)=6 and 单阳不破,低不破价*0.98,'6'),colorgreen;
drawtext(barslast(单阳)=7 and 单阳不破,低不破价*0.98,'7'),colorgreen;
drawtext(barslast(单阳)=8 and 单阳不破,低不破价*0.98,'8'),colorgreen;
drawtext(barslast(单阳)=9 and 单阳不破,低不破价*0.98,'9'),colorgreen;
drawtext(barslast(单阳)=10 and 单阳不破,低不破价*0.98,'10'),coloryellow;
二、副图公式
plaintext
{单阳不破副图}
a13:=if(year>=2018 and month>=11 and day>=1,0,1);
aa:=(ma(c,1)+ma(c,3)+ma(c,5)+ma(c,7)+ma(c,9))/5;
bb:=(ma(c,2)+ma(c,4)+ma(c,6)+ma(c,8)+ma(c,10))/5;
cc:=ema(aa,2);
dd:=ema(bb,5);
a14:=max(ema(aa,2)-ema(bb,5),0)*1.2;
a15:=ema(a14,5);
ss:=ema(a15,2);
风险系数:(a15-ss)/10*a13,nodraw;
波浪系数:a15*a13,stick,colorlired;
a10:=波浪系数,linethick1 ;
b:ma(a10,3),coloryellow,linethick2;
b2:=ma(b,2)*2-b;
stickline(b>b2,1.5*b,b2,3,0),color0000ff;
stickline(b< b2,1.5*b,b2,3,0),colorblue;
stickline(a15>ref(a15,1) and a13,a15,0,2,0),coloryellow;
stickline(a15< ref(a15,1) and a13,0,a15,2,0),colorgreen;
stickline(a15< ref(a15,1) and a13,a15,ss,3.5,0),colorbrown;
0;
t:=a15>ref(a15,1) and a13;
drawicon(ref(not(t),1) and t,a15,25),colorgray;
三、选股公式
plaintext
{单阳不破选股}
a13:=if(year>=2018 and month>=11 and day>=1,0,1);
aa:=(ma(c,1)+ma(c,3)+ma(c,5)+ma(c,7)+ma(c,9))/5;
bb:=(ma(c,2)+ma(c,4)+ma(c,6)+ma(c,8)+ma(c,10))/5;
cc:=ema(aa,2);
dd:=ema(bb,5);
a14:=max(ema(aa,2)-ema(bb,5),0)*1.2;
a15:=ema(a14,5);
ss:=ema(a15,2);
风险系数:=(a15-ss)/10*a13;
波浪系数:=a15*a13;
a10:=波浪系数;
b:=ma(a10,3);
b2:=ma(b,2)*2-b;
t:=a15>ref(a15,1) and a13;
tt:=ref(not(t),1) and t;
阳涨幅:=7;
阳倍量:=1;
单阳收:=c;
单阳开:=o;
单阳:=单阳收>=ref(c,1)*(1+阳涨幅/100) and vol>ref(vol,1);
xg:单阳 and tt;
以上公式需根据具体软件版本和数据周期进行调整实盘配资网站,实际使用时建议结合市场行情和自身经验综合判断。
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报。天宇优配提示:文章来自网络,不代表本站观点。