我也传一个自己喜欢的主图
宝露:forcast(c,13),precis2,colorff00ff,linethick0;
宝露l:=llv(宝露,21);
宝露h:=hhv(宝露,21);
k4:ema(hhv(h,3),3),pointdot,precis2,colorffffff,linethick2;
xs:=datatype;
多:ema(c,3),precis2,coloryellow,linethick0;
空:ema(c,5),precis2,colorff00ff,linethick0;
均衡:ema(空,5),precis2,colorwhite;
趋势:llv(ma(h,13),1),precis2,colorgreen,linethick2;
中轨:hhv(ma(h,13),13),precis2,colorred,linethick3;
中趋:(中轨/趋势-1)*1000,precis0,colorffffff,linethick0;
宝多比:多/宝露-ref(多/宝露,1),precis3,colorffffff,linethick0;
趋势比:(趋势/ref(hhv(趋势,3),1)-1)*1000,precis0,colorffffff,linethick0;
趋势度:slope(趋势,13)*100,precis0,colorffffff,linethick0;
距:(多/中轨-1)*100,precis0,colorffffff,linethick0;
全红:last(趋势=中轨),precis0,colorffffff,linethick0;
全绿:last(中轨>趋势 and 趋势>均衡),precis0,colorffffff,linethick0;
varf1:=count(cross(多,均衡),2)=1;
varf2:=count(cross(空,均衡),2)=1;
主升a:=filter(varf1 and varf2,2) and 趋势比>99;
主升:cross(趋势,中轨) and count(中轨>趋势,22)>=20,precis0,colorffffff,linethick0;
vf1:=ma(c,60)-ma(c,5)/3.2;
vara:=(c-ref(o,29))/ref(o,29)*100;
varb:=ema(0.667*ref(vara,1)+0.333*vara,5);
var1:=(h+l+o+2*c)/5;
var2:=ref(var1,1);
var3:=sma(max(var1-var2,0),10,1)/sma(abs(var1-var2),10,1)*100;
s:=ma(vol,5)/ma(vol,60);
a:=ma(s,5);
bias:=(c-ma(c,5))/ma(c,5)*100;
f:=ma(s,121);
{kdj}
rsv:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
{rsi}
rsi:=sma(max(c-ref(c,1),0),6,1)/sma(abs(c-ref(c,1)),6,1)*100;
rsi12:=sma(max(c-ref(c,1),0),12,1)/sma(abs(c-ref(c,1)),12,1)*100;
rsi24:=sma(max(c-ref(c,1),0),24,1)/sma(abs(c-ref(c,1)),24,1)*100;
警戒线:=hhv(if(all(多>空 and 空>均衡 and 中轨=趋势,5) and c>o and c=hhv(c,34),min(c,o),llv(趋势,21)),13);
{变色线}
partline(警戒线,警戒线=ref(警戒线,1) and ref(中轨=趋势,3)),layer0,color0000ff,linethick2;
partline(宝露l,宝露l=ref(宝露l,1) and 宝露l<=llv(宝露l,3)),layer0,color00ff00,linethick2;
partline(宝露h,宝露h=ref(宝露h,1) and 宝露h>=hhv(宝露h,3)),layer0,colorff00ff,linethick2;
partline(宝露,宝露>=ref(宝露,1),rgb(0,255,0),宝露<ref(宝露,1),rgb(50,150,50)),layer0,precis2,linethick2;
{买入条件}
买1:between(趋势比,-15,0) and 中趋=llv(中趋,7) and 中趋<50,precis0,colorffffff,linethick0;
买2:count(var3<20,5)>=1 and count(var1=llv(var1,10),10)>=1 and c>=o*1.038 and v>ma(v,5)*1.2 and 趋势比>99,precis0,colorffffff,linethick0;
关注:(j<11 and bias>-11 and cross(s,f) and (s-f)>0.010),precis0,colorffffff,linethick0;
真底a1:=c<ref(llv(多,13),1) and 多<ref(llv(空,13),1) and 空<ref(llv(均衡,13),1) and 均衡<趋势 and 趋势<中轨;
真底a2:=c<多 and 多<空 and 空<均衡 and 均衡<趋势 and 趋势<中轨;
真底2:=llv(l,21)=llv(l,63) and count(多>均衡,13)>=3 and count(多>ref(多,1) and 空>ref(空,1),13)>=3;
真底3:=all(中轨>趋势,21) and 趋势/中轨>ref(趋势/中轨,1) and 趋势比>98 and 全绿>=30;
真底4:=if(count(多>趋势,13)>=1,真底a2,真底a1);
真底:真底2 and 真底3 and 真底4,precis0,colorffffff,linethick0;
突破1:=多=hhv(多,7) and 宝露=hhv(宝露,7) and 中轨=hhv(中轨,7);
突破2:=突破1 and cross((c-o)*0.33+o,ref(hhv(c,13),1));
突破3:=突破2 and ref(hhv(max(c,o),5)/llv(min(c,o),5),1)<1.1 and c/ref(c,1)>1.06;
突破:突破1 and c=hhv(c,34) and cross(多,宝露),precis0,colorffffff,linethick0;
短底a1:=ref(sum(if(多>llv(多,21),1,0),21),1)>=5;
短底a:=趋势/中轨>ref(趋势/中轨,1) and 中轨<ref(中轨,1) and hhv(中轨/趋势,13)>hhv(趋势/均衡,13) and llv(l,13)=llv(l,21) and count(多<ref(多,1),5)>=3 and d<50 and c<max(ref(c,1),o);
短底b:=cross(ref(llv(多,13),1),多) and count(多<均衡,7)=7 and count(多>空,7)>=1;
短底c:=cross(ref(llv(多,13),1),l) and count(多>均衡,7)>=1;
短底:短底a1 and 短底a and (短底b or 短底c),precis0,colorffffff,linethick0;
diff:=ema(c,12)-ema(c,26);
dea:=ema(diff,9);
宣1:=h/llv(l,5)>1.3 and h/c>1.02 and c>o and ref(c>ref(c,1),1) and ref(c>ref(c,1),2);
宣2:=barslast(dea<0)<13;
宣:count(宣1 and 宣2,13)>=1 and cross(宝露,k4),precis0,linethick0;
{卖出条件}
注意:=全红>7 and cross(多,ref(多,1)) and cross(c,hhv(多,7));
短1:=sma(max(c-ref(c,1),0),6,1)/sma(abs(c-ref(c,1)),6,1)*100;
短空:=ref(hhv(短1,3),1)>82 and cross(ref(短1,1),短1) and hhv(全红,13)>13;
顶:=hhv(rsi,2)>84 and cross(ref(rsi,1),rsi) and hhv(rsi,7)<ref(hhv(rsi,7),7) and hhv(全红,13)>13;
沽空:=count(顶,13)>=1 and c<hhv(c,13) and cross(多,宝露);
见1:=count(all(多>空 and 空>均衡 and 均衡>中轨 and 中轨=趋势,7),7)>=1;
见2:=见1 and 中轨>min(多,空,均衡,趋势) and h>l;
见好就收:=见2 and h>=hhv(h,7) and 趋势度>20 and (c-o)*0.33+o<ref(hhv(c,13),1);
真空:=count(all(多>空 and 空>均衡 and 中轨=趋势,7),13)>=1 and 趋势度>10 and cross(中轨,宝露);
主短量:="主力量价.短量";
净量:="主力量价.净量";
主量:="主力量价.volume";
共1a:=c>(宝露-多)*0.33+多 or c>=hhv(max(c,o),5) or all(c>min(o,ref(c,1)),3);
共1:=共1a and hhv(距,13)>15 and count(宝露>多 and 多>均衡 and 均衡>中轨,7)>=5 and 全红>5;
共2:=距>=15 and 主短量>20 and (c/llv(c,7)>1.5 or 全红>7);
共:=共1 or 共2;
逃a1:=主短量>20 and 净量=1;
逃a2:=逃a1 and 距>=14.5 and max(o,c)=hhv(max(o,c),21);
逃a3:=逃a2 and ref(多>宝露,1) and j<ref(j,1) and v>=hhv(主量,7);
逃a6:=cross(c,hhv(多,7)) and ref(多<hhv(多,7),1);
逃a7:=cross(宝露,多) or 逃a6;
逃a:=if(count(逃a3,13)=0 and count(共1=中轨,13)>=1,逃a7,逃a3);
逃b1:=逃a2 and v>=hhv(主量,5) and all(多<宝露,3) and 全红>7;
逃b2:=逃a2 and c>max(多,宝露) and 距>=15 and all(多<宝露,3) and 全红>30;
逃b:=逃b1 or 逃b2;
逃c:=逃a2 and v>=hhv("主力量价.volume",13) and v>=hhv(v,21);
逃d:=逃a2 and 多>宝露 and j<ref(j,1) and 全红>21;
逃:逃a or 逃b or 逃c or 逃d,precis0,colorff00ff,linethick0;
{买入信号}
drawtext(主升,llv(趋势,3),'主升'),align1,colorff00ff,linethick3;
drawtext(if(c<vf1 and vol/240>ma(vol,5)/240 and c>=ref(c,1)*1.08 and c<ma(c,13)*1.3,1,0),l,'☆'),align1,colorred;
drawtext(关注 and c>o,min(l,多,空,均衡,趋势),'关注'),align1,colorgreen;
drawtext(关注 and c<o,hhv(h,5),'关注'),align1,color0000ff;
drawtext(filter(真底,2),c,'底--→'),align2,colorffffff;
drawtext(filter(突破,2),hhv(max(h,宝露),13),'突破----→'),align2,color0000ff,linethick3;
drawtext(filter(全红>0,1),中轨*(1-0.002*xs),''+全红),align1,precis0,colorff00ff;
drawtext(filter(全绿>0,1),ref(中轨,1)*(1+0.002*xs),''+全绿),align1,precis0,color00ff00;
drawtext(短底,(中轨-趋势)*0.7+趋势,'短底'),align1,color0000ff;
stickline(短底,(中轨-趋势)*0.6+趋势,h+0.05,2,0),color0000ff;
drawtext(filter(买1,5),hhv(中轨,13),'注意买入----→'),align2,precis0,colorffffff;
stickline(filter(买1,5),h*1.01,hhv(中轨,13),1,0);
drawtext(买2,中轨*0.98,'注意买入----→'),align2,colorred;
stickline(买2,h*1.01,中轨*0.98,1,0);
drawtext(宣,h*1.1,'上涨宣言→'),align2,color00ff00,linethick2;
stickline(宣,h*1.01,h*1.1,2,0),coloryellow,linethick2;
stickline(共,中轨,中轨*0.95,3,0),precis0,colorff00ff;
vertline(filter(宝露*1.005>多 and ref(宝露<多,1) and c=llv(min(c,o),3) and count(中趋>60,13)>=1,3),2),precis0,color0000ff,linethick7;
阴线买:all(中趋>10,13) and 中趋<hhv(中趋,13) and 宝露l>多 and c=llv(min(c,o),5) and v=hhv(v,5),precis0,colorffffff,linethick0;
vertline(阴线买,2),precis0,colorffffff,linethick7;
{卖出信号}
drawtext(逃a,(h-c)*0.9+c,'a---→'),align2,colorffffff,linethick2;
drawtext(逃b,(h-c)*0.7+c,'b---→'),align2,color0000ff,linethick2;
drawtext(逃c,(h-c)*0.5+c,'c---→'),align2,colorff00ff,linethick2;
drawtext(逃d,(h-c)*0.3+c,'d---→'),align2,color00ff00,linethick2;
drawtext(真空,hhv(h,13),'空'),align1,colorffffff,linethick3;
drawtext(filter(见好就收,7),h,'见好就收----→'),align2,colorffffff,linethick3;
drawtext(沽空 and count(顶,7)<1,h*1.02,'沽空'),align1,coloryellow;
drawtext(顶 and ref(count(顶,7),1)<1,趋势*0.97,'逃顶'),align1,coloryellow;
drawtext(短空 and count(顶 or 沽空,7)<1,趋势*0.99,'短空'),align1,coloryellow;
drawtext(注意,min(l,趋势)*0.995,'注意'),align1,colorffffff;
partline(多,多>=ref(多,1),rgb(501,100,0),多<ref(多,1),rgb(100,0,255)),layer0,linethick2;
fillrgn(中轨,趋势,中趋>0 and 中趋<ref(中趋,1),rgb(155,0,155),中趋>0 and 中趋>ref(中趋,1),rgb(0,155,0)),precis2,layer6;
{k线}
stickline(close>open and datatype>1,open,low,0.5,0 ),color0000ff;
stickline(close>open and datatype>1,close,high,0.5 ,0 ),color0000ff;
stickline(open>=close and datatype>1,close,low,0.5 ,0 ),color00ff00;
stickline(open>=close and datatype>1,open,high,0.5 ,0 ),color00ff00;
stickline(open>=close and datatype>1,close ,open,7,0 ),colorff7700;
stickline(open>=close and datatype>1,close ,open,6,0 ),colorff9900;
stickline(open>=close and datatype>1,close ,open,5,0 ),colorffbb00;
stickline(open>=close and datatype>1,close ,open,4,0 ),colorffcc00;
stickline(open>=close and datatype>1,close ,open,3,0 ),colorffdd00;
stickline(open>=close and datatype>1,close ,open,2,0 ),colorffee00;
stickline(open>=close and datatype>1,close ,open,1,0 ),colorffff00;
stickline(close>open and datatype>1,close,open,7,0) ,color000055;
stickline(close>open and datatype>1,close,open,6,0) ,color000066;
stickline(close>open and datatype>1,close,open,5,0) ,color000077;
stickline(close>open and datatype>1,close,open,4,0) ,color000099;
stickline(close>open and datatype>1,close,open,3,0) ,color0000bb;
stickline(close>open and datatype>1,close,open,2,0) ,color0000dd;
stickline(close>open and datatype>1,close,open,1,0) ,color0000ff;
上一指标公式:压力支撑超买超卖副图公式下载 大智慧指标源码指标支撑
下一指标公式:选股参数可变就是好.公式下载 大智慧指标源码选股公式
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文我自己喜欢的宝露买卖主图公式下载 大智慧指标源码大智慧指标源码自己喜欢仅供学习研究。