奇幻旅程
input:n1(3,1,360), n2(5,1,360), n3(8,1,360), n4(13,1,360), n5(21,1,360), n6(34,1,360);
diff:=ema(close,n3)-ema(close,n4);
dea:=ema(diff,n2);
a1:=diff>dea;
rsv1:=(close-llv(low,n3))/(hhv(high,n3)-llv(low,n3))*100;
k:=sma(rsv1,n1,1);
d:=sma(k,n1,1);
a2:=k>d;
lc:=ref(close,1);
rsi1:=(sma(max(close-lc,0),n2,1))/(sma(abs(close-lc),n2,1))*100;
rsi2:=(sma(max(close-lc,0),n4,1))/(sma(abs(close-lc),n4,1))*100;
a3:=rsi1>rsi2;
rsv:=-(hhv(high,n4)-close)/(hhv(high,n4)-llv(low,n4))*100;
lwr1:=sma(rsv,n1,1);
lwr2:=sma(lwr1,n1,1);
a4:=lwr1>lwr2;
bbi:=(ma(close,n1)+ma(close,n2)+ma(close,n3)+ma(close,n4))/4;
a5:=close>bbi;
mtm:=close-ref(close,1);
mms:=100*ema(ema(mtm,n2),n1)/ema(ema(abs(mtm),n2),n1);
mmm:=100*ema(ema(mtm,n4),n3)/ema(ema(abs(mtm),n4),n3);
a6:=mms>mmm;
{fillrgn(c>0,0,-20),color00bb00;}
stickline(a1 and a2 and a3 and a4 and a5 and a6,-15,-10,10,0),coloryellow;
em3:=ema(c,3);
em5:=ema(c,5);
stickline(em3>=ref(em3,1) and em3>=em5,-13,-5,6,0),colormagenta;
v2:=llv(low,10);
v3:=hhv(high,25);
多:=ema((close-v2)/(v3-v2)*4,4)*30;
{fillrgn(c>0,0,多),color007d2f;}
rsv2:= (hhv(high,11)-close)/(hhv(high,11)-llv(low,11))*60;
空:=sma(rsv2,3,1);
慢空:=sma(空,3,1);
y:=((high + low) / 2);
ao:=(ma(y,5) - ma(y,34));du0:=cross(ao,0);
ud0:=cross(0,ao);
tdu0:=barslast(du0);
tud0:=barslast(ud0);
du3:=ref(du0,1);
ud3:=ref(ud0,1);
tdu3:=barslast(du3);
tud3:=barslast(ud3);
udgline:=if((tdu3 < tud3),ref(hhv(high,2),tdu3),ref(llv(low,2),tud3));
jdu0:=(((ref(close,1) <= ref(udgline,1)) and (close > udgline)) and (tdu0 < tud0));
jud0:=(((ref(close,1) >= ref(udgline,1)) and (close < udgline)) and (tud0 < tdu0));
jdu1:=(jdu0 and (count(jdu0,tdu0) = 1));
jud1:=(jud0 and (count(jud0,tud0) = 1));
jdu2:=(jdu1 and (ref(barslast(jud1),1) < ref(barslast(jdu1),1)));
jud2:=(jud1 and (ref(barslast(jud1),1) > ref(barslast(jdu1),1)));
jdu3:=(jdu1 and (ref(barslast(jud1),1) > ref(barslast(jdu1),1)));
jud3:=(jud1 and (ref(barslast(jud1),1) < ref(barslast(jdu1),1)));
drawtext(jdu2,-8,'空转多'),colorred;
drawtext(jud2,-8,'多转空'),colorgreen;
drawtext(jdu3,-8,'多续多'),colormagenta;
drawtext(jud3,-8,'空续空'),colorblue;
drawicon((jdu1 or (barslast(jdu1)<barslast(jud1))),-1,12),align1,layer1;
drawicon((jud1 or (barslast(jdu1)>barslast(jud1))),-1,13),align1,layer1;
drawicon(cross(多,空),-4,7),align1,layer0;{红箭头看多}
drawicon(cross(空,慢空),-4,8),align1,layer0;{绿箭头看空}
a3:=barslast(ref(cross("rsi.rsi1","rsi.rsi2"),1));
b3:=ref(close,a3+1)>close and ref("rsi.rsi1",a3+1)<"rsi.rsi1" and cross("rsi.rsi1","rsi.rsi2");
drawtext(b3>0,-6,'底'),align1,colorcyan,layer0;{rsi底背离}
c3:=barslast(ref(cross("rsi.rsi2","rsi.rsi1"),1));
d3:=ref(close,c3+1)<close and ref("rsi.rsi1",c3)>"rsi.rsi1" and cross("rsi.rsi2","rsi.rsi1");
drawtext(d3>0,90,'顶'),align1,colormagenta;{rsi顶背离}
量能:ema(100*(close-llv(low,31))/(hhv(high,31)-llv(low,31)),3)/4,stick;
stickline(量能,0,量能,8,0),colorwhite;
波动线:3*sma((c-llv(l,13))/(hhv(h,13)-llv(l,13))*100,5,1)-2*sma(sma((c-llv(l,13))/(hhv(h,13)-llv(l,13))
*100,5,1),3,1),color0000ff;
强势:21,colorblue;{能量强势}
stickline(量能<1,0,30,5,0),colorred;{能量底部考虑出击}
持仓:=ema(100*(close-llv(low,30))/(hhv(high,30)-llv(low,30)),9);
集中度:=ema(持仓,1);
做多:ema(集中度,1),colorred,linethick3;
var1:=(hhv(high,30)-close)/(hhv(high,30)-llv(low,36))*100;
做空: sma(var1,3,1),linethick3,colorgreen;
弱势区:10,colorgreen;
中:50,colorwhite,pointdot;
强势区:80,colorf00ff0;
drawtext(cross(做多,做空),做多,'回'),align0,coloryellow;{需要回调}
drawtext(做空<=6,8,'警'),align0,colormagenta;{空头见底,小心。}
j:="kdj.j";
bb:=hhv(j,2)=hhv(j,8) and j>80;
j1:=if(cross(ref(j-0.01,1),j) and ref(bb,1),1,0);
顶部:if(j1,90,100),color00aa00;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文奇幻旅程DZH公式下载 大智慧指标源码奇幻仅供学习研究。