n250:=250;
pt250:=const(hhvbars(v,n250));
t250:if(currbarscount<=n250,const(if(pt250=0,c,ref(c,pt250))),drawnull),color990000,linethick2;
if(currbarscount=pt250+1,t250*1.01,drawnull),circledot,coloryellow,linethick1;
drawtext(currbarscount=n250,t250,'250'),color990000;
n120:=120;//www.goodgongshi.com
pt120:=const(hhvbars(v,n120));
t120:if(currbarscount<=n120,const(if(pt120=0,c,ref(c,pt120))),drawnull),coloraaaa00,linethick2;
if(currbarscount=pt120+1,t120,drawnull),circledot,coloryellow,linethick1;
drawtext(currbarscount=n120,t120,'120'),coloraaaa00;
n60:=60;
pt60:=const(hhvbars(v,n60));
t60:if(currbarscount<=n60,const(if(pt60=0,c,ref(c,pt60))),drawnull),color00bb00,linethick2;
if(currbarscount=pt60+1,t60,drawnull),circledot,coloryellow,linethick1;
drawtext(currbarscount=n60,t60,'60'),color00bb00;
n30:=30;
pt30:=const(hhvbars(v,n30));
t30:if(currbarscount<=n30,const(if(pt30=0,c,ref(c,pt30))),drawnull),color0000cc,linethick2;
if(currbarscount=pt30+1,t30,drawnull)circledot,coloryellow,linethick1;
drawtext(currbarscount=n30,t30,'30'),color0000cc;
n20:=20;
pt20:=const(hhvbars(v,n20));
t20:if(currbarscount<=n20,const(if(pt20=0,c,ref(c,pt20))),drawnull),colordd00dd,linethick2;
if(currbarscount=pt20+1,t20,drawnull),circledot,coloryellow,linethick1;
drawtext(currbarscount=n20,t20,'20'),colordd00dd;
n10:=10;
pt10:=const(hhvbars(v,n10));
t10:if(currbarscount<=n10,const(if(pt10=0,c,ref(c,pt10))),drawnull),color00eeee,linethick2;
if(currbarscount=pt10+1,t10,drawnull)circledot,coloryellow,linethick1;
drawtext(currbarscount=n10,t10,'10'),color00eeee;
n5:=5;
pt5:=const(hhvbars(v,n5));
t5:if(currbarscount<=n5,const(if(pt5=0,c,ref(c,pt5))),drawnull),colorffffff,linethick2;
if(currbarscount=pt5+1,t5,drawnull),circledot,coloryellow,linethick1;
drawtext(currbarscount=n5,t5,'5'),colorffffff;
drawkline(h,o,l,c);
{涨停:=if((c-ref(c,1))*100/ref(c,1)>=(10-0.01*100/ref(c,1)),1,0);}
{stickline(涨停,open,close,2,0),coloryellow;}
{stickline(涨停,h,l,0,0),coloryellow;}
均价线:=amount/v/100;
c2:=ref(c,1);
涨停:=if(ref(c,1)*1.1-c<0.01 ,1,0);
stickline(涨停,open,close,4,0),colorred;
stickline(涨停,open,close,3,0),coloryellow;
stickline(涨停,h,l,0,0),coloryellow;
b1:='┄┄┄┄┄';
drawtext(均价线 and 涨停,均价线,b1),colorgray;
b3:='┄┄┄┄┄';
drawtext((o+c)/2 and 涨停,(o+c)/2 ,b3),colormagenta;
b2:='┄┄┄┄┄';
drawtext(涨停,l,b2),colorgreen;
跌停:=if((ref(c,1)-c)*100/ref(c,1)>=(10-0.01*100/ref(c,1)),1,0);
stickline(跌停,open,close,2,0),colorblue;
stickline(跌停,h,l,0,1),colorblue;
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);
drawtext(cross(ff,ma15),(low * 0.99),'底背离'),colorwhite;
drawtext(cross(88,rsi),(high * 1.02),'顶背离'),colora6e500;
var1111:=backset(ref(high,2)=hhv(high,5),3);
var2222:=cross(var1111,0.9);
var3333:=backset(ref(low,2)=llv(low,5),3);
var4444:=cross(var3333,0.9);
压力:= ref(high,barslast(var2222));
stickline(close,ref(high,barslast(var2222)),ref(high,barslast(var2222)),0.5,1),colorea91b5,linethick3;
支撑3:= ref(low,barslast(var4444));
stickline(close,ref(low,barslast(var4444)),ref(low,barslast(var4444)),0.5,1),color00b4ff,linethick3;
ty:=c;
a100:=ref(ty,10)=hhv(ty,2*10+1); b100:=filter(a100,10); c100:=backset(b100,10+1); hd:=filter(c100,10);
a200:=ref(ty,10)=llv(ty,2*10+1); b200:=filter(a200,10); c200:=backset(b200,10+1); ld:=filter(c200,10);
a00:=ref(c,barslast(hd)); b00:=ref(c,barslast(ld));
t100:=barslast(hd)<barslast(ld) and not(hd) ;
t200:=barslast(hd)>barslast(ld) and not(ld);
波峰:if(t100,a00,a00),colorff00ff,pointdot;
stickline(t100,a00,a00,9,0),colorgreen;
varc1:=(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));
drawtext((varc1=1),low*0.98,'★'),color0000ff;
n:=20;
t1:=if((date<=1341231),1,0);
var02:=(close+high+low)/(3);
var03:=(ema(var02,10))*(t1);
var04:=(ref(var03,1))*(t1);
var05:=((ref(high,1)+ref(low,1))/(2))*(t1);
var06:=ma(close,n)+((2)*(std(close,n)))*(t1);
drawtext(cross(var03,var04),(var03)*(0.97),'★'),color00ffff;
g21:=30;
t112:=const(hhvbars(v,g21));
t122:if(currbarscount<=g21+7,const(if(t112=0,c,ref(c,t112))),drawnull);
if(currbarscount=t112+1,t122,drawnull),circledot;
drawtext(islastbar,t122,' --'),colorgreen;
pt:=ref(h,1)-ref(l,1);
cdp:= (ref(h,1)+ref(l,1)+ref(c,1)*2)/4;
ah:=(cdp+pt);
nh:=(2*cdp-ref(l,1));
nl:=(2*cdp-ref(h,1));
al:=(cdp-pt);
明日阻力:=ah;
明日支撑:=al;
drawtext(islastbar,明日阻力,' -------明阻'),colorwhite;
drawtext(islastbar,明日支撑,' -------'),colorgray;
上一指标公式:MACD二次加长指标公式详解 同花顺MACD
下一指标公式:买点雷达指标公式详解 同花顺买点
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文骄阳指标公式详解 同花顺骄阳仅供学习研究。