红色主图5——天地不仁救苦救难首发红色主图5
{红色主图}
input:n(5,1,100,1);
ma5:ma(c,5),color000099;
ma10:ma(c,10),color006600;
ma20:ma(c,20),color005555;
stickline(c>=ref(c,1),o,c,7,0),colorwhite;
stickline(c<ref(c,1),o,c,7,0),colorgreen;
a1:=ema(close,5)>ema(close,6) and ema(close,6)>ema(close,7) and ema(close,7)>ema(close,8) and ema(close,8)>ema(close,9)
and ema(close,9)>ema(close,10) and ema(close,10)>ema(close,11) and ema(close,11)>ema(close,12)
and ema(close,12)>ema(close,13) and ema(close,13)>ema(close,14) and ema(close,14)>ema(close,15)
and ema(close,15)>ema(close,20) and ema(close,20)>ema(close,30) and ema(close,30)>ema(close,60) and ema(close,60)>ema(close,90)
and ema(close,90)>ema(close,120) and ema(close,120)>ema(close,250);
a2:=ema(close,5)>ema(close,6) and ema(close,6)>ema(close,7) and ema(close,7)>ema(close,8) and ema(close,8)>ema(close,9)
and ema(close,9)>ema(close,10) and ema(close,10)>ema(close,11) and ema(close,11)>ema(close,12)
and ema(close,12)>ema(close,13) and ema(close,13)>ema(close,14);
b1:=if(a1,1,2);
var1:=((close > ref(close,1)) and (close > ref(close,2)));
var2:=((ref(var1,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var3:=((ref(var2,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var4:=((ref(var3,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var5:=((ref(var4,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var6:=((ref(var5,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var7:=((ref(var6,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var8:=((ref(var7,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var9:=((ref(var8,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
vara:=((ref(var9,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
varb:=((ref(vara,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
varc:=((ref(varb,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
stickline((((((((((((var1 or var2) or var3) or var4) or var5) or var6) or var7) or var8) or var9) or vara) or varb) or varc),c,ref(c,1),7,0),color0000dd;
stickline((((((((((((var1 or var2) or var3) or var4) or var5) or var6) or var7) or var8) or var9) or vara) or varb) or varc),l,h,0.7,0),color0000dd;
mtm:=c-ref(c,1);
dx1:=100*ema(ema(mtm,n),n)/ema(ema(abs(mtm),n),n);
买1:=if(llv(dx1,2)=llv(dx1,7) and count(dx1<0,2) and cross(dx1,ma(dx1,2)),1,0);
卖1:=if(hhv(dx1,2)=hhv(dx1,7) and count(dx1>50,2) and cross(ma(dx1,2),dx1),1,0);
drawtext(filter(卖1=1,5),high*1.02, ' '),color00ff00,align1;
drawtext(filter(买1=1,5),low*0.99, ' '),colorred,align1;
drawicon(filter(买1=1,5),low*0.99,7),align1;
drawicon(filter(卖1=1,5),high*1.04, 8),align1;
v1:=dma((((high + low) + (close * 2)) / 4.15),0.9);
hy1:=ref(ema(v1,3),1);
drawtext(cross(close,hy1),low,'b'),linethick2,coloryellow;
tt2:=dma((((high + low) + (close * 2)) / 4.15),0.9);
tt1:=ref(ema(tt2,3),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;
lc:=ref(close,1);
rsi:=((sma(max((close - lc),0),3,1) / sma(abs((close - lc)),3,1)) * 100);
ff:=ema(close,3);
drawtext(cross(close,tt1)and j<55,low,'买'),colorred;
drawtext(cross(88,rsi),high * 1.02,'顶'),color00ffff;
drawtext(cross(80,rsi),high * 1.02,'逃'),color00ffff;
{老鼠仓}
aa1:=amount/v;
bb1:=l<aa1*0.9;
cc1:=(c-ref(c,1))/ref(c,1)*100>1.2;
dd1:=l<ma(c,5)*0.921;
ee1:=v<ma(v,5)*1.5;
老鼠仓:bb1 and cc1 and dd1 and ee1,linethick0;
drawtext(老鼠仓,(low* 0.99),'老鼠仓'),color40ccff;
diff:=ema(close,12) - ema(close,26);
dea:=ema(diff,9);
macd:=2*(diff-dea);
a1:=barslast(ref(cross(diff,dea),1));
b1:=ref(c,a1+1)>c and ref(diff,a1+1)<diff and cross(diff,dea);
drawicon(filter(b1>0,5),l*0.94,10);
drawtext(filter(b1>0,5),l*0.96,'m底'),color0055ff;{macd底背离}
a2:=barslast(ref(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)),1));
b2:=ref(c,a2+1)>c and ref("kdj.k"(9,3,3),a2+1)<"kdj.k"(9,3,3) and cross("kdj.k"(9,3,3),"kdj.d"(9,3,3));
drawicon(filter(b2>0,5),l*0.96,10);
drawtext(filter(b2>0,5),l*0.98,'k底'),colorff00ff;{kdj底背离}
a3:=barslast(ref(cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24)),1));
b3:=ref(c,a3+1)>c and ref("rsi.rsi1"(6,12,24),a3+1)<"rsi.rsi1"(6,12,24) and cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24));
drawicon(filter(b3>0,5),l*0.98,10);
drawtext(filter(b3>0,5),l*0.97,'r底'),coloryellow;{rsi底背离}
c1:=barslast(ref(cross(dea,diff),1));
d1:=ref(c,c1+1)<c and ref(diff,c1+1)>diff and cross(dea,diff);
drawicon(filter(d1>0,5),h*1.07,12);
drawtext(filter(d1>0,5),h*1.02,'m顶'),colorwhite;{macd顶背离}
c2:=barslast(ref(cross("kdj.d"(9,3,3),"kdj.k"(9,3,3)),1));
d2:=ref(c,c2+1)<c and ref("kdj.k"(9,3,3),c2+1)>"kdj.k"(9,3,3) and cross("kdj.d"(9,3,3),"kdj.k"(9,3,3));
drawicon(filter(d2>0,5),h*1.05,12);
drawtext(filter(d2>0,5),h*1.03,'k顶'),colorf0f000;{kdj顶背离}
c3:=barslast(ref(cross("rsi.rsi2"(6,12,24),"rsi.rsi1"(6,12,24)),1));
d3:=ref(c,c3+1)<c and ref("rsi.rsi1"(6,12,24),c3+1)>"rsi.rsi1"(6,12,24) and cross("rsi.rsi2"(6,12,24),"rsi.rsi1"(6,12,24));
drawicon(filter(d3>0,5),h*1.03,12);
drawtext(filter(d3>0,5),h*1.01,'r顶'),color00ff00;{rsi顶背离};
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;
x:=llv(j,2)=llv(j,8);
y:=if(cross(j,ref(j+0.01,1)) and x and j<20,30,0);
drawtext(cross(j,ref(j+0.01,1)) and x and j<20,low,'短进'),colorff00ff;
drawtext((ma(close,13) > ma(close,18)) and cross(close,ma(close,4)) and (ma(close,4) < ma(close,13)),(low)*(0.97),'赢'),color00ff00;
var1:=4*sma((close-llv(low,5))/(hhv(high,5)-llv(low,5))*100,5,1)-
3*sma(sma((close-llv(low,5))/(hhv(high,5)-llv(low,5))*100,5,1),3.2,1);
var2:=8;
cc:=cross(var1,var2);
drawtext(cc,l*0.98,'买!'),color0099ff;
上一指标公式:暴涨龙头龙头公式下载 大智慧源码暴涨
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文红色主图5——天地不仁救苦救难首发红色主图5公式下载 大智慧首发救苦救难仅供学习研究。