a:=ema(c,2);
b:=ema(slope(c,21)*20+c,42);
stickline(a>=b,refdate(hhv(h,100),date),h*1.01,5,0),color000055;
stickline(a<b,refdate(hhv(h,100),date),h*1.01,5,0),color663300;
突破:=ref(ema(c,14),1);
a1x:=(ema(c,10)-突破)/突破*100;
基准:=if(a1x>=0,ref(ema(c,10),barslast(cross(a1x,0))+1),ref(ema(c,10),barslast(cross(0,a1x))+1));
stickline(a1x>=0,基准,突破,5,0),color000099;
stickline(a1x<0,基准,突破,5,0),color00cc66;
aa:=cross(a1x,0),linethick0;
bb:=cross(0,a1x),linethick0;
n1:=60;
k:=barslast(currbarscount=n1);
gd:=const(if(islastbar=1,hhv(h,k),0));
dd:=const(if(islastbar=1,llv(l,k),0));
kj:=gd-dd;
平衡:=if(currbarscount<=n1,dd+kj/2,drawnull),color00ffff,nodraw;
压力:=if(currbarscount<=n1,gd-kj*0.191,drawnull),colorff00ff,nodraw;
支撑:=if(currbarscount<=n1,dd+kj*0.191,drawnull),color00ff00,nodraw;
stickline(currbarscount=n1,gd,dd,0,-1),colorwhite;
stickline(currbarscount=n1/2,gd,dd,0,-1),colorwhite;
stickline(currbarscount=1,gd,dd,0,-1),colorwhite;
stickline(currbarscount<=n1,平衡,平衡,3,-1),colorwhite;
stickline(currbarscount<=n1/2,压力,压力,3,-1),colorred;
stickline(currbarscount<=n1/2,支撑,支撑,3,-1),colorgreen;
drawkline(h,o,l,c);
tr1:=max(max((high-low),abs(ref(close,1)-high)),abs(ref(close,1)-low));
atr9:=ma(tr1,22);
止损线: hhv(h-3*atr9,22),colorwhite,dotline;
drawtext(islastbar,止损线,'止损线'),colorwhite;
var81:=((((close * 2) + high) + low) / 4);
sk:=(ema(var81,13) - ema(var81,73));
sd:=ema(sk,2);
drawicon(aa,基准*0.98,11);
drawicon(bb,基准*1.015,10);
drawtext(((((cross(sk,sd) and (sk < (0 - 0.04))) and (((close - ref(close,1)) / ref(close,1)) >= 0.03)) or (cross(sk,sd) and (sk <= (0 - 0.14)))) or ((cross(sk,sd) and (sk <= 0.05)) and (((vol / ma(vol,5)) > 2) or ((close / ref(close,1)) > 0.035)))),(low * 0.99),'短线'),colorred;
stickline(((((cross(sk,sd) and (sk < (0 - 0.04))) and (((close - ref(close,1)) / ref(close,1)) >= 0.03)) or (cross(sk,sd) and (sk <= (0 - 0.14)))) or ((cross(sk,sd) and (sk <= 0.05)) and (((vol / ma(vol,5)) > 2) or ((close / ref(close,1)) > 0.035)))),high,low,0.5,0),colorred;
stickline(((((cross(sk,sd) and (sk < (0 - 0.04))) and (((close - ref(close,1)) / ref(close,1)) >= 0.03)) or (cross(sk,sd) and (sk <= (0 - 0.14)))) or ((cross(sk,sd) and (sk <= 0.05)) and (((vol / ma(vol,5)) > 2) or ((close / ref(close,1)) > 0.035)))),open,close,3.5,1),colorred,linethick2;
mtm:=c-ref(c,1);
dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
买1:=if(llv(dx,2)=llv(dx,7) and count(dx<0,2) and cross(dx,ma(dx,2)),1,0);
卖1:=if(hhv(dx,2)=hhv(dx,7) and count(dx>50,2) and cross(ma(dx,2),dx),1,0);
drawtext(filter(买1=1,5),low*0.99, '▲'),colorred;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文理想四区K线源码主图指标下载 通达信源码理想仅供学习研究。