改良主图
{改良的大智慧主图}
aaf:=llv(low,34);
bbf:=ma(aaf,4);
typ := (high + low + close)/3;
cci1:=(typ-ma(typ,6))/(0.015*avedev(typ,5));差值1:=abs(ref(cci1,1)-cci1);
cci2:=(typ-ma(typ,10))/(0.015*avedev(typ,10));差值2:=abs(ref(cci2,1)-cci2);
cci3:=(typ-ma(typ,20))/(0.015*avedev(typ,20));差值3:=abs(ref(cci3,1)-cci3);
cci4:=(typ-ma(typ,30))/(0.015*avedev(typ,30));差值4:=abs(ref(cci4,1)-cci4);
cci5:=(typ-ma(typ,60))/(0.015*avedev(typ,60));差值5:=abs(ref(cci5,1)-cci5);
cci:=cci1+cci2+cci3+cci4+cci5;
aaa:=(3*c+h+l+o)/6;var1:=(8*aaa+7*ref(aaa,1)+6*ref(aaa,2)+5*ref(aaa,3)
+4*ref(aaa,4)+3*ref(aaa,5)+2*ref(aaa,6)+ref(aaa,8))/36;
var2:=(hhv(var1,5)+hhv(var1,10)+hhv(var1,20))/3;
var3:=(llv(var1,5)+llv(var1,10)+llv(var1,20))/3;
var4:=(hhv(var2,5)+hhv(var2,10)+hhv(var2,20))/3;
var5:=(llv(var3,5)+llv(var3,10)+llv(var3,20))/3;
var6:=(llv(var1,2)+llv(var1,4)+llv(var1,6))/3;
短线:var1,colorwhite,linethick2;
中线:var6,coloryellow,linethick2;
tj1:=cci1>差值4;立桩量:=filter(tj1,0);
tj2:=if(barslast(立桩量)=1 ,1,0);
成立1:=tj2=1;条件成立1:=filter(成立1,5);
tj11:= cci1<-差值4 ;立桩量2:=filter(tj11,0);
tj22:=if(barslast(立桩量2)=1 and close>ref(high,1),1,
if(barslast(立桩量2)=2 and close>ref(high,2),1,
if(barslast(立桩量2)=3 and close>ref(high,3),1,0)));
tj:=if(barslast(立桩量2)=1 and close>ref(low,1),1,0);
成立2:=tj=1;条件成立2:=filter(成立2,5);
下跌:=if(var1=var6,var6,0);
tj111:=(abs(cci1)>cci and abs( 差值1)> abs(差值5))
or (vol=hhv(vol,10) and vol>2*ref(vol,1) and close>var1);
立桩量3:=filter(tj111,5);
tj3:=if(barslast(立桩量3)=1 and close>ref(low,1),1,
if(barslast(立桩量3)=2 and close>ref(low,2),1,if(barslast(立桩量3)=3
and close>ref(low,3),1,0)));
成立:=tj3=1;条件成立:=filter(成立,5);
drawicon(条件成立 and 下跌=var6{ and bb13>0},h*1.02,8);{ 看跌向下绿箭头 }
lc:=ref(close,1);
rsi:=((sma(max((close - lc),0),3,1) / sma(abs((close - lc)),3,1)) * 100);
ff:=ema(close,3);ma15:=ema(close,21);
drawicon(cross(ff,ma15),low*0.99,7); { 看涨红箭头 }
drawtext(cross(88,rsi),(high * 1.01),'r背'),color00ff00;
x1:=(c+l+h)/3;
bb13:=atan(ema(x1,13)-ref(ema(x1,13),1))*3.1416*10;
ema8:=ema(c,8);
drawtext(filter(bb13>1 and ema(x1,13)>ref(ema(x1,8),1),10),
ema8,'∠'),colorwhite;
超买:ma(c,10)*if(capital=0,1.04,1.1),dotline,colorgreen,linethick2;
超卖:ma(c,10)*if(capital=0,0.95,0.9),dotline,colorred,linethick2;
上:=ema(c,3);
中:=ema(c,5);
下:=ema(中,5);
qq:= c<中;
mm:=上>ref(上,1) and ref(上,1)<ref(上,2) ;
v1:=abs((2*close+high+low)/4-ma(close,20))/ma(close,20);
v2:=(1-7/100)*(dma(close,v1));
v3:=(1+7/100)*(dma(close,v1));
v5:=ma((low+high+close)/3,5);
ma1:=mema(close,5);
ma2:=atan((ma1/ref(ma1,1)-1)*100)*180/3.1416;
ma3:=if(ma2>0,ma2,ma2);
ma5:=ma(close,5);
ma13:=ma(close,13);
var01:=close=hhv(c,4) and (ref(c,1)>=ref(c,2) or ref(c,1)>=ref(c,3))
or ref(c,1)=hhv(c,4) and close>=ref(c,2) or ref(c,2)=hhv(c,4) and
ref(c,3)=llv(c,4) and c>=ref(c,1) or ref(c,3)=hhv(c,4) and
c>=ref(c,1) and c>=ref(c,2);
{收盘价=4日内收盘价的最高值 and 昨收>=2日前的收盘价}
var02:=close=hhv(c,4) and ref(c,1)=llv(c,4);
{收盘价=4日内收盘价的最高值 and 昨收=4日内收盘价的最低值}
var03:=close=llv(c,4) and (ref(c,1)<ref(c,2) or ref(c,1)<ref(c,3))
or ref(c,1)=llv(c,4) and c<ref(c,2) or ref(c,2)=llv(c,4)
and ref(c,1)=hhv(c,4) and c<ref(c,1) or ref(c,3)=llv(c,4)
and c<ref(c,1) and c<ref(c,2);
{收盘价=4日内收盘价的最低值 and (昨收<2日前的收盘价}
var04:=ref(c,1)=llv(c,4) and c>=ref(c,2) or ref(c,2)=llv(c,4)
and ref(c,1)<=ref(c,3) and ref(c,2)<ref(c,4) and c>=ref(c,1);
{昨收=4日内收盘价的最低值 and 收盘价>=2日前的收盘价}
var05:=ref(c,1)=hhv(c,4) and c<ref(c,2) or (ref(c,2)=hhv(c,4)
and ref(c,1)>ref(c,3) or ref(c,3)=hhv(c,4) and ref(c,1)>ref(c,2))
and ref(c,2)>=ref(c,4) and c<ref(c,1);
{昨收=4日内收盘价的最高值 and 收盘价<2日前的收盘价}
var06:=v5>ref(v5,1) and ref(v5,1)<ref(v5,2);
{今日v5向上形成拐点}
var07:=low<hhv(v5,13) and high>hhv(v5,13) and close>ref(c,1) and close>open;
var08:=var07 and count(var06,2);
var09:=100*ema(ema(c-ref(c,1),6),6)/ema(ema(abs(c-ref(c,1)),6),6);
var10:=ema(ma(c,13),13);
var11:=filter((llv(var09,2)=llv(var09,7) and count(var09<0,2)
and cross(var09,ma(var09,2)))=1,5);
var12:=filter((hhv(var09,2)=hhv(var09,7) and count(var09>50,2)
and cross(ma(var09,2),var09))=1,1);
var13:=sma(ema((c-ref(c,1))/ref(c,1),5)*100,3,1)*10;
var14:=filter(((cross(var13,0) or cross(c,var10)) and var11)=1,3);
var15:=ma(c,18)>=ref(ma(c,18),3) and cross(c,ma(c,18));
var16:=var08 and not(ref(var08,1));
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
金叉:=cross(j,d);
死叉:=cross(d,j);
买1:=(var14 or var15) and var11;
买2:=(var14 or var15) and var4;
买3:=(var14 or var15) and var2;
买4:=(var2 and var11) or (var4 and var11);
买5:=(金叉 and var04) or (金叉 and var02) or (金叉 and var11);
{涨停-特别提示}
stickline(close>ref(close,1)*1.0985
and close=high,close,open,4,-1),color00ffff;
{跌停—特别提示}
stickline(close<ref(close,1)*0.9015
and close=low,close,open,4,-1),colorgreen;
{蓝-看空}
stickline(open>=close,close,open,3.3,0),colorff6600;
stickline(open>=close,close,open,2.4,0),colorff8800;
stickline(open>=close,close,open,1.3,0),colorffaa00;
stickline(open>=close,close,open,0.6,0),colorffcc00;
{红-看涨}
stickline(close>open,close,open,3.3,0),color000099;
stickline(close>open,close,open,2.4,0),color0000bb;
stickline(close>open,close,open,1.3,0),color0000dd;
stickline(close>open,close,open,0.5,0),color0000ff;
{绿-小心观察}
stickline(var03,open,(open+close)/2,3.3,0),color009900;
stickline(var03,open,(open+close)/2,2.4,0),color00bb00;
stickline(var03,open,(open+close)/2,1.3,0),color00dd00;
stickline(var03,open,(open+close)/2,0.5,0),color00ff00;
{灰-看跌}
stickline(var04 and mm,open,(open+close)/2,3.3,0),color999999;
stickline(var04 and mm,open,(open+close)/2,2.2,0),colorbbbbbb;
stickline(var04 and mm,open,(open+close)/2,1.3,0),colordddddd;
stickline(var04 and mm,open,(open+close)/2,0.5,0),colorffffff;
stickline(金叉,open,close,0.5,0),coloryellow;
stickline(死叉,open,close,0.5,0),color000066;
drawicon(var16,low*0.98,11); { 看涨红点信号 }
drawicon(买1 or 买2 or 买3 or 买4 or 买5 and mm,low*0.98,6); { 见底感惊号 }
drawicon(死叉 or cross(50,var09) and qq and k>50,high+0.01,2); { 哭脸 };
ttj:=cross(ff,ma15);
ttj0:=var16;
ttj1:=买1 or 买2 or 买3 or 买4 or 买5 and mm;
xg0:=ttj and ttj0;
xg1:=ttj and ttj1;
xg:=xg0 or xg1;
drawtext(xg,low*0.955,'全'),colorred;
drawtext(xg,low*0.91,'仓'),colorred;
{ 未来波段 }
get:zig(3,3),coloryellow;
pl5:=zig(3,5);
en1:=zig(3,5)>ref(zig(3,5),1) and ref(zig(3,5),1)<=ref(zig(3,5),2) and ref(zig(3,5),2)<=ref(zig(3,5),3);
ex1:=zig(3,5)<ref(zig(3,5),1) and ref(zig(3,5),1)>=ref(zig(3,5),2) and ref(zig(3,5),2)>=ref(zig(3,5),3);
pl10:=zig(3,10);
en2:=zig(3,10)>ref(zig(3,10),1) and ref(zig(3,10),1)<=ref(zig(3,10),2) and ref(zig(3,10),2)<=ref(zig(3,10),3);
ex2:=zig(3,10)<ref(zig(3,10),1) and ref(zig(3,10),1)>=ref(zig(3,10),2) and ref(zig(3,10),2)>=ref(zig(3,10),3);
pl20:=zig(3,20);
en3:=zig(3,20)>ref(zig(3,20),1) and ref(zig(3,20),1)<=ref(zig(3,20),2) and ref(zig(3,20),2)<=ref(zig(3,20),3);
ex3:=zig(3,20)<ref(zig(3,20),1) and ref(zig(3,20),1)>=ref(zig(3,20),2) and ref(zig(3,20),2)>=ref(zig(3,20),3);
pl40:=zig(3,40);
走强1:=barslast(pl5<ref(pl5,1));
走弱1:=barslast(pl5>ref(pl5,1));
走强2:=barslast(pl10<ref(pl10,1));
走弱2:=barslast(pl10>ref(pl10,1));
走强3:=barslast(pl20<ref(pl20,1));
走弱3:=barslast(pl20>ref(pl20,1));
ztjz5:=if(pl10>ref(pl10,1),count(en1,走强2),0);
ztjd5:=if(pl10>ref(pl10,1),count(ex1,走强2),0);
dtjz5:=if(pl10<ref(pl10,1),count(en1,走弱2),0);
dtjd5:=if(pl10<ref(pl10,1),count(ex1,走弱2),0);
ztjz10:=if(pl20>ref(pl20,1),count(en2,走强3),0);
ztjd10:=if(pl20>ref(pl20,1),count(ex2,走强3),0);
dtjz10:=if(pl20<ref(pl20,1),count(en2,走弱3),0);
dtjd10:=if(pl20<ref(pl20,1),count(ex2,走弱3),0);
drawtext(en1 and dtjz5=1,l*0.98,'(a)'),colorffff00;
drawtext(ex1 and dtjd5=2,h*1.02,'(b)'),colorff00ff;
drawtext(en2 and ztjz5=1,l*0.98,'(c)'),color0000ff;
drawtext(ex1 and pl10>ref(pl10,1) and ztjd5=1,h*1.02,'⑴'),color0000ff;
drawtext(en1 and pl10>ref(pl10,1) and ztjz5=2,l*0.98,'⑵'),color0000ff;
drawtext(ex1 and pl10>ref(pl10,1) and ztjz5=2,h*1.02,'⑶'),color0000ff;
drawtext(en1 and pl10>ref(pl10,1) and ztjz5=3,l*0.98,'⑷'),color0000ff;
drawtext(ex2 and pl20>ref(pl20,1) and ztjd10=1,h*1.02,'⑸'),color0000ff;
drawtext(en2 and dtjz10=1,l*0.93,'ⅰ'),colorff00ff;
drawtext(ex2 and dtjd10=2,h*1.05,'ⅱ'),colorffff00;
drawtext(en3 and ztjz10=1,l*0.93,'ⅲ'),color0000ff;
drawtext(ex2 and pl20>ref(pl20,1) and ztjd10=1,h*1.03,'①'),linethick3,color00ffff;
drawtext(en2 and pl20>ref(pl20,1) and ztjz10=2,l*0.95,'②'),linethick3,color00ffff;
drawtext(ex2 and pl20>ref(pl20,1) and ztjd10=2 or (ztjd10=0 or ztjd10=2) {股票公式www.goodgongshi.com}
and ex2,h*1.03,'③'),linethick3,color00ffff;
drawtext(en2 and pl20>ref(pl20,1) and ztjz10=3,l*0.95,'④'),linethick3,color00ffff;
上一指标公式:神奇画图公式下载 大智慧画图
下一指标公式:立阳大盘未来趋势线L2版公式下载 大智慧趋势大盘
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文改良的主图公式下载 大智慧改良仅供学习研究。