{主图操盘
这个短线公式不错,就是指示太杂了,请高手将之整理一下,就是想将
1.将均线彩色去掉。
2.将黄底,变成黄叉。
3.将蓝底,变成蓝叉。
公式有未来函数
——————————————————————————————————————————
以下是公式内容
——————————————————————————————————————————
}
m5:ma(close,5),colorwhite;
m10:ma(close,10),coloryellow;
m20:ma(close,20),colorred;
m60:ma(close,60),colorgreen;
var3:=llv(high,240);
var4:=100*(close-var3)/var3;
var5:=(close-llv(low,528))/(hhv(high,528)-llv(low,528))*100;
var6:=(close-llv(close,530))/(hhv(close,530)-llv(close,530))*100;
var7:=0;
var8:=sma(max(close-ref(close,1),0),34,1)/sma(abs(close-ref(close,1)),7,1)*100;
var9:=sma(max(close-ref(close,1),0),13,1)/sma(abs(close-ref(close,1)),13,1)*100;
vara:=barscount(close);
varb:=var8<20 and var9<23 and vara>35;
varc:=varb and count(varb,1)=1;
vard:=ema(close,21)-ema(close,8);
vare:=ema(vard,5);
varf:=troughbars(3,6,1)<4 and cross(vard,vare);
var10:=if(troughbars(3,16,1)=0 and high>low+0.04,4,0);
var11:=zig(3,6)>ref(zig(3,6),1) and ref(zig(3,6),1)<=ref(zig(3,6),2) and ref(zig(3,6),2)<=ref(zig(3,6),3);
var12:=zig(3,6)<ref(zig(3,6),1) and ref(zig(3,6),1)>=ref(zig(3,6),2) and ref(zig(3,6),2)>=ref(zig(3,6),3);
var13:=zig(3,22)>ref(zig(3,22),1) and ref(zig(3,22),1)<=ref(zig(3,22),2) and ref(zig(3,22),2)<=ref(zig(3,22),3);
var14:=zig(3,22)<ref(zig(3,22),1) and ref(zig(3,22),1)>=ref(zig(3,22),2) and ref(zig(3,22),2)>=ref(zig(3,22),3);
var15:=zig(3,51)>ref(zig(3,51),1) and ref(zig(3,51),1)<=ref(zig(3,51),2) and ref(zig(3,51),2)<=ref(zig(3,51),3);
var16:=zig(3,51)<ref(zig(3,51),1) and ref(zig(3,51),1)>=ref(zig(3,51),2) and ref(zig(3,51),2)>=ref(zig(3,51),3);
var17:=zig(3,72)>ref(zig(3,72),1) and ref(zig(3,72),1)<=ref(zig(3,72),2) and ref(zig(3,72),2)<=ref(zig(3,72),3);
var18:=zig(3,72)<ref(zig(3,72),1) and ref(zig(3,72),1)>=ref(zig(3,72),2) and ref(zig(3,72),2)>=ref(zig(3,72),3);
var19:=ema(close,2)-ema(close,150);
var1a:=ema(var19,100);
var1b:=2*(var19-var1a);
var1c:=pow(var1b,3)*0.1+pow(var1b,1);
var1d:=sqrt(sqrt(low*high*open*close));
var1e:=ema(var1d*0.97,3);
var1f:=(high+low+close)/3;
var20:=(var1f-ma(var1f,14))/(0.015*avedev(var1f,14));
var21:=cross(var1e,low);
买1:=var10;
买2:=(var11+var13+var15+var17);
卖1:=(var12+var14+var16+var18);
var22:=买1 and varf and varc and var21 and var4<0 and var5=0 and var6=0 and var20<(-110);
var1:=ma(close,5);
var2:=ma(close,10);
var3a:=ma(close,30);
var4a:=ma(close,60);
var5a:=ema(cost(85),7);
var6a:=ema(cost(15),7);
var7a:=sum(close*vol*100,4)/sum(vol*100,4);
var8a:=intpart(var7*100)/100;
var9a:=sum(close*vol*100,7)/sum(vol*100,7);
vara1:=intpart(var9*100)/100;
varb1:=sum(close*vol*100,28)/sum(vol*100,28);
varc1:=intpart(varb*100)/100;
vard1:=ema(close,5)-ema(close,10);
vare1:=ema(vard,9);
varf1:=(-100)*(hhv(close,5)-close)/(hhv(close,5)-llv(low,5))+100;
var10a:=(-100)*(hhv(close,10)-close)/(hhv(close,10)-llv(low,10))+100;
var11a:=(-100)*(hhv(close,20)-close)/(hhv(close,20)-llv(low,20))+100;
var12a:=(-100)*(hhv(close,30)-close)/(hhv(close,30)-llv(low,30))+100;
var13a:=ref(vare,1);
var14a:=vare;
var15a:=var14-var13;
var16a:=ref(vard,1);
var17a:=vard;
var18a:=var17-var16;
var19a:=open;
var1aa:=close;
买3:=if(var19<=var1 and var19<=var2 and var19<=var3 and var1a>=var1 and var1a>=varc and var15>0 and var18>0,0.5,0);
drawicon(买3>0,low-0.01,4);
买线:=ema(close,2);
卖线:=ema(slope(close,21)*20+close,42);
b1买:if(买1>0 or 买2>0,low-0.02,drawnull),crossdot,linethick3,colorred;
b2买:if(cross(买线,卖线),l-0.02,drawnull),crossdot,linethick3,colormagenta;
s1卖:if(卖1>0,high+0.02,drawnull),crossdot,linethick3,colorgreen;
s2卖:if(cross(卖线,买线),h+0.02,drawnull),crossdot,linethick3,colorgreen;
var01:=close>ref(close,1) and close>ref(close,2);
var02:=ref(var01,1) and close<=ref(close,1) and close>=ref(close,2);
var03:=ref(var02,1) and close>=ref(close,1) and close<=ref(close,2);
var04:=ref(var03,1) and close<=ref(close,1) and close>=ref(close,2);
var05:=ref(var04,1) and close>=ref(close,1) and close<=ref(close,2);
var06:=ref(var05,1) and close<=ref(close,1) and close>=ref(close,2);
var07:=ref(var06,1) and close>=ref(close,1) and close<=ref(close,2);
var08:=ref(var07,1) and close<=ref(close,1) and close>=ref(close,2);
var09:=ref(var08,1) and close>=ref(close,1) and close<=ref(close,2);
var0a:=ref(var09,1) and close<=ref(close,1) and close>=ref(close,2);
var0b:=ref(var0a,1) and close>=ref(close,1) and close<=ref(close,2);
var0c:=ref(var0b,1) and close<=ref(close,1) and close>=ref(close,2);
stickline(var01 or var02 or var03 or var04 or var05 or var06 or var07 or
var08 or var09 or var0a or var0b or var0c,close,ref(close,1),3,1),colorred;{红1}
var0d:=close<ref(close,1) and close<ref(close,2);
var0e:=ref(var0d,1) and close>=ref(close,1) and close<=ref(close,2);
var0f:=ref(var0e,1) and close<=ref(close,1) and close>=ref(close,2);
var010:=ref(var0f,1) and close>=ref(close,1) and close<=ref(close,2);
var011:=ref(var010,1) and close<=ref(close,1) and close>=ref(close,2);
var012:=ref(var011,1) and close>=ref(close,1) and close<=ref(close,2);
var013:=ref(var012,1) and close<=ref(close,1) and close>=ref(close,2);
var014:=ref(var013,1) and close>=ref(close,1) and close<=ref(close,2);
var015:=ref(var014,1) and close<=ref(close,1) and close>=ref(close,2);
var016:=ref(var015,1) and close>=ref(close,1) and close<=ref(close,2);
var017:=ref(var016,1) and close<=ref(close,1) and close>=ref(close,2);
var018:=ref(var017,1) and close>=ref(close,1) and close<=ref(close,2);
stickline(var0d or var0e or var0f or var010 or var011 or var012 or var013 or
var014 or var015 or var016 or var017 or var018,close,ref(close,1),3,0),colorffcc66;
var019:=ref(var0d or var0e or var0f or var010 or var011 or var012 or var013 or
var014 or var015 or var016 or var017 or var018,1) and var01;
stickline(var019,ref(close,1),ref(close,2),4,1),coloryellow;
var01a:=ref(var01 or var02 or var03 or var04 or var05 or var06 or var07 or
var08 or var09 or var0a or var0b or var0c,1) and var0d;
stickline(var01a,ref(close,1),ref(close,2),5,2),color00ff00{98fd};
stickline(var019,ref(close,1),ref(close,2),3,0),color00c8ff;
stickline(var019,ref(close,1),ref(close,2),2,0),color10ecff;
stickline(var019,ref(close,1),ref(close,2),2,0),color10ffff;
stickline(var01a,ref(close,1),ref(close,2),3,0),color00d900;
stickline(var01a,ref(close,1),ref(close,2),3,0),colorblue;
stickline(var01a,ref(close,1),ref(close,2),0,0),color090ff2;
pma:ma(c,5),colorwhite,linethick2;
if(pma>ref(pma,1),pma,drawnull),colorred,linethick2;
if(pma<ref(pma,1),pma,drawnull),colorgreen,linethick2;
x:=(3*c+l+o+h)/6;
多空线:(20*x+19*ref(x,1)+18*ref(x,2)+17*ref(x,3)+16*ref(x,4)+15*ref(x,5)+14*ref(x,6)
+13*ref(x,7)+12*ref(x,8)+11*ref(x,9)+10*ref(x,10)+9*ref(x,11)+8*ref(x,12)
+7*ref(x,13)+6*ref(x,14)+5*ref(x,15)+4*ref(x,16)+3*ref(x,17)+2*ref(x,18)+
ref(x,20))/210,colorff00ff,linethick2;
{用法:黄托底买进,蓝压顶卖出。}
dd:=多空线<ref(多空线,1);
if(dd,多空线,drawnull),color00ffff,linethick2;
a:=(pma>多空线);
if(a,多空线,drawnull),color33ff33,pointdot,linethick4;
上一指标公式:三个精品副图OBV+MACD动能彩量OBV+KDJ 通达信精品通达信
下一指标公式:[大智慧L2]dx量能饱合度 通达信大智慧合度
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文主图操盘 通达信操盘仅供学习研究。