请留意在一只股票上同时满足以下4个条件的情况:
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;
主力成本:ema(x,13),colorff00ff,linethick0;
短期底部:llv(high,30),linethick2,colorffcc00;
黄金线:(ema(c,15)),pointdot,linethick4,coloryellow;
生命线:(ma(c,25)),linethick2,colormagenta;
ff:=ema(close,3);
ma15:=ema(close,15);
drawtext(cross(ff,ma15),(low * 0.99),'买入'),color00ffff;
drawtext(cross(ma15,ff),(high * 1.02),'卖出'),color00ff00;
将此公式修改“买入”选股公式。
还有就是将下列4个公式设置为盘中预警,条件是在一只股票上同时满足以下4个条件
第一个公式:满足买入
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;
主力成本:ema(x,13),colorff00ff,linethick0;
短期底部:llv(high,30),linethick2,colorffcc00;
黄金线:(ema(c,15)),pointdot,linethick4,coloryellow;
生命线:(ma(c,25)),linethick2,colormagenta;
ff:=ema(close,3);
ma15:=ema(close,15);
drawtext(cross(ff,ma15),(low * 0.99),'买入'),color00ffff;
drawtext(cross(ma15,ff),(high * 1.02),'卖出'),color00ff00;
第二个公式:出现黄柱
maa5:ma(c,5),colorwhite;
maa10:ma(c,10),colorgreen;
maa30:ma(c,30),colormagenta,linethick2;
稳赢:if(maa10>maa30,maa10,maa30),coloryellow;
a3:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
a4:=sma(a3,3,1);
a5:=sma(a4,3,1);
a6:=3*a4-2*a5;
a7:=c-ref(c,1);
a8:=100*ema(ema(a7,6),6)/ema(ema(abs(a7),6),6);
买:=llv(a8,2)=llv(a8,7) and count(a8<0,2) and cross(a8,ma(a8,2));
drawtext(filter(买=1,5),low-0.05,'进'),coloryellow;
stickline(买,open,close,2,0),coloryellow;
第三个公式:出手就赢出现
var2:=ref(low,1);var3:=sma(abs(low-var2),3,1)/sma(max(low-var2,0),3,1)*100;var4:=ema(if(close*1.3,var3*10,var3/10),3);var5:=llv(low,30);var6:=hhv(var4,30);var7:=if(ma(close,58),1,0);var8:=ema(if(low<=var5,(var4+var6*2)/2,0),3)/618*var7;var9:=if(var8>100,100,var8);stickline(var9>-150,0,var9,3,0), , colorff00ff;底部吸筹指标: (close-ma(close,40))/ma(close,40)*100, , color00ff00;stickline(cross(底部吸筹指标,-24),100,0,6,0), , colorffffff;先知: (close-ma(close,5))/ma(close,5)*100, , colorff00ff;可能放量拉升: if(cross(底部吸筹指标,-24),1,0), , colorffffff;短线获利:stickline(ref("kdj.j",1)<0 and "kdj.j">0,60,0,2,0),color0000ff;vark1:=(close-llv(low,27))/(hhv(high,27) -llv(low,27))*100;vark2:=reverse(vark1);vark3:=sma(vark1,3,1);波段王:=sma (vark3,3,1), , colorred,linethick2;波段鬼:=sma(波段王,2.5,1),coloryellow,linethick2;趋势线: 3*sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1)-2*sma(sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1),3,1), ,colorff6666,linethick2;rsv9:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100; k1:=sma(rsv9,3,1);dk1:=k1-ref(k1,1),colorstick;出手就赢:if(dk1>7 and ref(dk1,1)<0 and (dk1-ref(dk1,1))>9,50,0), stick,coloryellow;drawicon(出手就赢>0,50 ,1);买点准备:if(趋势线<=10,0,10), colorff9933,linethick3;stickline( cross(趋势线,10),0,73,6,0), color3366ff,;drawtext(if(cross(趋势线,10),100,0),68,'抄底'),colorwhite ;drawtext(if(cross(10,趋势线),1,0), 10,'$备钱'),color33ffcc,;drawtext(ref("kdj.j",1)<0 and "kdj.j">0,50,'短买'),,,,colorred ,;drawtext(cross(底部吸筹指标,-24),80,'抄底'),colorwhite ,;
第四个公式:出现三星(主图)
ma5:ema(c,5);
ma13:ema(c,13);
ma21:ema(c,21);
向上:=count(ref(ema(c,3),1)<ref(ema(c,3),2),5)=5 and ema(c,3)>ref(ema(c,3),1);
drawtext(向上,l*0.993,'★'),color00ff00;
bdd:=c=llv(c,13);
n:=barslast(bdd);
低:=if(n,ref(c,n),ref(c,n));
启动:=c>低 and ref(c=低,1);
drawtext(启动,l,'★'),colorff00ff;
mtm:=c-ref(c,1);
dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
买:=if(llv(dx,2)=llv(dx,7) and count(dx<0,2) and cross(dx,ma(dx,2)),1,0);
drawtext(filter(买=1,5),low*0.975,'★'),coloryellow;
var2:=ref(ema(dma((((high + low) + (close * 2)) / 4.09),0.9),3),1);
drawtext(cross(close,var2),low*0.965,'★'),colorred;
tj:=if((c-ref(c,1))/ref(c,1)>0.025,1,0);
yl:=if(c>ref(o,barslast(tj =1)),ref(o,barslast(tj =1)),0);
ft:=barslast(yl);
ylx:=ref(yl,ft);
bt:=if(c<open and ref(c,1)>ref(open,1),ref(c,1),0);
xft:=barslast(bt);
xylx:=ref(bt,xft);
平台调下:=cross(xylx,c);
平台突破:=cross(c,ylx);
drawtext(平台突破 ,l* 0.986, '★'),colorffff00;
发个图
本文仅仅提供源码
组合选股源码
【买入】
ff:=ema(close,3);
ma15:=ema(close,15);
买入:cross(ff,ma15);
【四合一】
ff:=ema(close,3);
ma15:=ema(close,15);
买入:=cross(ff,ma15);
a7:=c-ref(c,1);
a8:=100*ema(ema(a7,6),6)/ema(ema(abs(a7),6),6);
买:=llv(a8,2)=llv(a8,7) and count(a8<0,2) and cross(a8,ma(a8,2));
rsv9:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k1:=sma(rsv9,3,1);
dk1:=k1-ref(k1,1);
出手就赢:=dk1>7 and ref(dk1,1)<0 and (dk1-ref(dk1,1))>9;
x1:=count(ref(ema(c,3),1)<ref(ema(c,3),2),5)=5 and ema(c,3)>ref(ema(c,3),1);
bdd:=c=llv(c,13);
n:=barslast(bdd);
低:=if(n,ref(c,n),ref(c,n));
x2:=c>低 and ref(c=低,1);
mtm:=c-ref(c,1);
dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
买1:=if(llv(dx,2)=llv(dx,7) and count(dx<0,2) and cross(dx,ma(dx,2)),1,0);
x3:=买1=1;
var2:=ref(ema(dma((((high + low) + (close * 2)) / 4.09),0.9),3),1);
x4:=cross(close,var2);
tj:=if((c-ref(c,1))/ref(c,1)>0.025,1,0);
yl:=if(c>ref(o,barslast(tj =1)),ref(o,barslast(tj =1)),0);
ft:=barslast(yl);
ylx:=ref(yl,ft);
x5:=cross(c,ylx);
xxx:=(x1 and x2 and x3) or (x1 and x2 and x4) or (x1 and x2 and x5) or (x1 and x3 and x4)
or (x1 and x3 and x5) or (x1 and x4 and x5) or (x3 and x5 and x2) or (x2 and x4 and x5) or (x3 and x4 and x5);
hc:买入 and 买 and 出手就赢 and xxx;
上一指标公式:股经叠彩线主图指标详解 通达信股经叠彩线
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文4组合请留意在一只股票上同时满足以下4个条件的情况指标详解 通达信组合公式仅供学习研究。