skdj趋势转向逃顶源码下载:
n:=9;
m:=3;
均价:=(c+(c+h+l+o)/4+o)/3;
操盘线:=ema(ma(if(ma(均价,3)>ma(均价,4),ma((均价+3*h)/4,3),
ref(ma((均价+3*l)/4,3),1)),3),5),colorwhite,linethick2;
lowv:=llv(low,n);
highv:=hhv(high,n);
pj:=(high + low +2* c)/4;
jx:=ema(pj,3),linethick2,colorwhite;
rsv:=ema((close-lowv)/(highv-lowv)*100,m);
k:ema(rsv,m);
d:ma(k,m);
角度:=atan((jx/ref(jx,1)-1)*100)*180/3.1416;
s:=count(ema(close,5)>ref(ema(close,5),1),5);
drawicon(cross(d,k),k,'sell');
drawicon(cross(k,d),d,'buy');
if(角度>=0 and s>0,操盘线,drawnull),colorred,linethick2;
if(角度<=0,操盘线,drawnull),colorgreen,linethick2;
短趋势线:ma(close,13),colorred,linethick2;
涨:if(短趋势线>ref(短趋势线,1),短趋势线,drawnull),colorred,linethick2;
平:=if(短趋势线=ref(短趋势线,1),短趋势线,drawnull),color00ffff,linethick2;
跌:if(短趋势线<ref(短趋势线,1),短趋势线,drawnull),color80ff00,linethick2;
zl:=ema(100*(c-llv(low,34))/(hhv(h,34)-llv(low,34)),3);
f11:=zig(3,15);//www.goodgongshi.com
fxx:=if((f11> ref(f11,1)),5,105);
a:=ema(c,14),colorwhite,linethick1;
b:=(a-ref(a,1))/ref(a,1)*100,nodraw;
转向:=cross(zl,fxx);
高点:=cross(fxx,zl);
支撑:if(b>=0,ref(ema(c,14),barslast(cross(b,0))+1),drawnull),colorred,linethick2;
阻力:if(b<0,ref(ema(c,14),barslast(cross(0,b))+1),drawnull),colorgreen,linethick2;
aa:=refdate(hhv(h,0),date);
bb:=refdate(llv(l,0),date);
var1:=ref(close,1);
var2:=sma(max(close-var1,0),7,1)/sma(abs(close-var1),7,1)*100,coloryellow;
stickline(转向,aa,bb,0,0),color00009f;
stickline(转向,l-1,h+1,0,0),coloryellow;
var21:if(var2<20,40,20),colorbrown;
var22:if(var2>80,60,80),colorffff50;
stickline(高点,aa,bb,0,0),color009f00;
stickline(高点,l-1,h+1,0,0),coloryellow;
var2↑:stickline(filter(ref(var2,1)<20 and var2>ref(var2,1),5),20,40,8,0),colorred;
var2↓:stickline(filter(ref(var2,1)>80 and var2<ref(var2,1),5),60,80,8,0),colorffff50;
drawicon(转向,low,5);
drawicon(高点,h,6);
ts:=barslast(转向);
drawtext(filter(ref(var2,1)<20 and var2>ref(var2,1),5),40 ,'买入' ),colorffffff;
drawtext(filter(ref(var2,1)>80 and var2<ref(var2,1),5),60 ,'卖出' ),colorffffff;
波段涨幅:=(c-ref(l,ts+1))/ref(l,ts+1)*100;
gd:=barslast(高点);
80,colorgreen;
20,colorred;
波段跌幅:=(c-ref(h,gd+1))/ref(h,gd+1)*100;
macd2:(expma(close,30)-ref(expma(close,30),
1))/ref(expma(close,30),1),colorstick;
dif2:ema(sum(macd2,2),3),linethick2,coloryellow;
drawtext_fix(currbarscount=1,0.01,0.01,0,'波段涨幅:'),color0000ff;
drawtext_fix(currbarscount=1,0.1,0.01,0,'%'),color0000ff;
drawtext_fix(currbarscount=1,0.06,0.01,0,intpart(波段涨幅)),color0000ff;
入1:if(dif2>ref(dif2,1),dif2,drawnull),colorred,linethick2;
入2:if(dif2<ref(dif2,1),dif2,drawnull),color00ff00,linethick2;
drawtext_fix(currbarscount=1,0.01,0.05,0,'波段跌幅:'),color00ff00;
drawtext_fix(currbarscount=1,0.1,0.05,0,'%'),color00ff00;
drawtext_fix(currbarscount=1,0.06,0.05,0,intpart(波段跌幅)),color00ff00;
上一指标公式:三位一体可控买卖均线主图下载
下一指标公式:破竹长虹逢低出击下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文SKDJ趋势转向逃顶下载仅供学习研究。