均线绝杀主图附测试图公式
ma1: ma(close,p1);
ma2: ma(close,p2);
ma3: ma(close,p3);
drawtextabs(1,15,'板块:'+bkname),color0099ff{color5e5e5e};
drawtext(cross(zig(3,8),ref(zig(3,8),1)),low*0.978,'∧') ,linethick2,colorred;
drawtext(cross(ref(zig(3,10),1),zig(3,10)),high*1.02,'∨'),linethick2,color00ff00;
i1:=0;
flag1:=0;
while i1<barslast(dispstatus=1)-barslast(dispstatus=2)
do
if ref(h,i1)<ref(l,i1+1) and ref(l,i1+1)>hhv(h,i1+1)
then begin flag1:=1;
s1:=i1;
i1:=barslast(dispstatus=1);
end
else i1:=i1+1;
stickline(flag1,ref(l,s1+1),hhv(h,s1+1),(s1+1)*20,0),color5e5e5e,align1,layer7;
drawtext(flag1,ref(l,s1+1),numtostrn(ref(h,s1+1),2)+'-'+numtostrn(hhv(h,s1+1),2)),align2,colorgreen;
x:=barslast(dispstatus=1)+1;
ah:=hhvall(hhv(h,x));
al:=llvall(llv(l,x));
nnl:=dispstatus=2;
hh:=hhv(h,5)*0.95;
drawtextrel(5,100,'△止损=买入价*0.95;'),color00ff00,linethick1;;
drawtextrel(5,140,'△止盈(五日内最高价*0.95)='+numtostrn(hh,2)+'元'),color0000ff,linethick1;
drawtextrel(5,180,'△五日内最高价='+numtostrn(hhv(h,5),2)+'元'),color0099ff,linethick1;
drawtextabs(5,120,'海底捞月:股价低位,三线复合金叉,一阳带量上穿'),color5e5e5e;
drawtextabs(5,150,'平台射价:股价跳空过平台,留有射价缺口,三线小口径向上发散'),colorwhite;
drawtextabs(5,180,'金山倒灌:均线金叉,价托即将形成时,股价跳空高开而形成带缺口的假阴线'),color0066ff;
ty:=c;
a1:=ref(ty,10)=hhv(ty,2*10+1); b1:=filter(a1,10); c1:=backset(b1,10+1); hd:=filter(c1,10);
a2:=ref(ty,10)=llv(ty,2*10+1); b2:=filter(a2,10); c2:=backset(b2,10+1); ld:=filter(c2,10);
a:=ref(c,barslast(hd)); b:=ref(l,barslast(ld));
t1:=barslast(hd)<barslast(ld) and not(hd) ;
t2:=barslast(hd)>barslast(ld) and not(ld);
顶:if(t1,a,a),coloryellow,pointdot;
底:if(t2,b,b),colorgreen,pointdot;
zdf:=(c-ref(c,1))/ref(c,1)*100;
stickline(zdf>9.8,o,c,6,0),colorred;
stickline(zdf<-9.8,o,c,6,0),colorblue;
{粉进黄出}
vara:=((amount)/(vol))/(100);
varb:=((3)*(high)+low+open+(2)*(close))/(7);
varc:=((sum(amount,7))/(vara))/(100);
vard:=dma(varb,(vol)/(varc));
vare:=((close-vard)/(vard))*(100);
varf:=((close-llv(low,34))/(hhv(high,34)-llv(low,34)))*(100);
varj:=ma(vare,20)+std(vare,20);
bias18:=((close-ma(close,18))/(ma(close,18)))*(100);
aa:=sma(varf,3,1);
ss:=(ref(bias18,1)>=5) and cross(varj,vare) and (aa>79);
var1:=(zig(3,10)<ref(zig(3,10),1)) and (ref(zig(3,10),1)>ref(zig(3,10),2));
var2:=(zig(3,10)>ref(zig(3,10),1)) and (ref(zig(3,10),1)<ref(zig(3,10),2));
stickline(var1,close,open,8,0),linethick1,color00ffff;
stickline(var1,close,open,3,0),linethick1,color00ffff;
stickline(var1,high,low,1,0),linethick1,color00ffff;
stickline(var2,close,open,8,0),linethick1,colorff00ff;
stickline(var2,close,open,3,0),linethick1,colorff00ff;
stickline(var2,high,low,1,0),linethick1,colorff00ff;
s:=(ma(vol,5))/(ma(vol,60));
a:=ma(s,5);
bias:=((close-ma(close,5))/(ma(close,5)))*(100);
f:=ma(s,121);
rsv:=((close-llv(low,45))/(hhv(high,45)-llv(low,45)))*(100);
k:=sma(rsv,15,1);
d:=sma(k,15,1);
j:=(3)*(k)-(2)*(d);
lc1:=ref(close,1);
mid:=ma(close,26);
upper:=mid+(2)*(std(close,26));
lower:=mid-(2)*(std(close,26));
均价:=(3*c+h+l+o)/6;
var1:=(8*均价+7*ref(均价,1)+6*ref(均价,2)+5*ref(均价,3)+
4*ref(均价,4)+3*ref(均价,5)+2*ref(均价,6)+ref(均价,8))/36;
var2:=(llv(var1,2)+llv(var1,4)+llv(var1,6))/3;
sz1:=ref(var1,1)=ref(var2,1) and var1>var2 and close>var1;
sz2:=var1>var2 and var1>ref(var1,1) and var2>ref(var2,1)
and h/var1<1.1 and l>var2 and close>var1;
sz3:=var1>var2 and var1>ref(var1,1) and var2>=ref(var2,1) and h/var1>1.1;
sz4:=var1>var2 and var1>ref(var1,1) and var2>ref(var2,1)
and close>var2 and close<var1;
sz5:=(var1>var2 and var2>ref(var2,1) and var1<>ref(var1,1)
and close<var2) or (var1>var2 and var1<ref(var1,1)
and var2<ref(var2,1) and close<var2);;
sz6:=ref(var1,1)>ref(var2,1) and var1=var2 and close<var2;
xd1:=var1=var2 and close<var2 or (var1<ref(var1,1) and var2<ref(var2,1)
and ref(var1,1)=ref(var2,1) and close<var2);
xd2:=var1=var2 and close>var1;
sat:=(amount/c)/(hhv(amount,20)/hhv(c,20));
量能饱和度:=if(sat>1,1,sat)*100;
if barstatus=2 and sz1 then begin
drawtextabs(1520,480,'调整结束,短线介入'),color0066ff;
end
else
if barstatus=2 and sz2 then begin
drawtextabs(1520,480,'上升通道,走势良好'),color0066ff;
end
else
if barstatus=2 and sz3 then begin
drawtextabs(1520,480,'股价偏离,注意调整'),color0066ff;
end
else
if barstatus=2 and sz4 then begin
drawtextabs(1520,480,'上升通道,调整洗盘'),colorff9966;
end
else
if barstatus=2 and sz5 then begin
drawtextabs(1520,480,'转向特征,注意离场'),colorff9966;
end
else
if barstatus=2 and sz6 then begin
drawtextabs(1520,480,'通道改变,坚决离场'),colorff9966;
end
else
if barstatus=2 and xd1 then begin
drawtextabs(1520,480,'下跌通道,只宜观望'),colorff9966;
end
else
if barstatus=2 and xd2 then begin
drawtextabs(1520,480,'短期底部,准备进入'),coloryellow;
end;
...........
上一指标公式:精心改编自短线是银里面的经典老鸭头公式下载
下一指标公式:源自经典底部吸筹指标的波段鬼超好波段公式下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文均线绝杀主图附测试图公式下载仅供学习研究。