跌涨趋势线
a1:=ma(h,6);
a2:=ma(l,6);
a3:if(c>ref(a1,1),a2,if(c<ref(a2,1),a1,a2)),colorgray,linethick1;
涨家数:indexadv,nodraw, ;
跌家数:indexdec,nodraw,colorgreen;
c3:=ref(c,1);
涨停:=if((c-c3)*100/c3>=(10-0.01*100/c3),1,0);
stickline(涨停,open,close,1,0),colorred;
跌停:=if((c3-c)*100/c3>=(10-0.01*100/c3),1,0);
stickline(跌停,open,close,1,0),colorgreen;
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);
vard:=close<ref(close,1) and close<ref(close,2);
vare:=ref(vard,1) and close>=ref(close,1) and close<=ref(close,2);
varf:=ref(vare,1) and close<=ref(close,1) and close>=ref(close,2);
var10:=ref(varf,1) and close>=ref(close,1) and close<=ref(close,2);
var11:=ref(var10,1) and close<=ref(close,1) and close>=ref(close,2);
var12:=ref(var11,1) and close>=ref(close,1) and close<=ref(close,2);
var13:=ref(var12,1) and close<=ref(close,1) and close>=ref(close,2);
var14:=ref(var13,1) and close>=ref(close,1) and close<=ref(close,2);
var15:=ref(var14,1) and close<=ref(close,1) and close>=ref(close,2);
var16:=ref(var15,1) and close>=ref(close,1) and close<=ref(close,2);
var17:=ref(var16,1) and close<=ref(close,1) and close>=ref(close,2);
var18:=ref(var17,1) and close>=ref(close,1) and close<=ref(close,2);
短线:ref(vard or vare or varf or var10 or var11 or var12 or var13 or var14 or var15 or var16 or var17 or var18,1) and var1,coloryellow,nodraw;
stickline(短线,o,(c+o)/2,1.5,0),coloryellow;
f:=100*(c-ref(c,1))/ref(c,1);
今小昨:=if(c<ref(o,1) and f<0,1,0);
p1:=今小昨;
今小前:=if(c<ref(o,2) and f<0,1,0);
p2:=今小前;
爱琴海:p1=0 and ref(p1,1)=1 and p2=0 and ref(p2,1)=1,colormagenta,nodraw;
stickline(爱琴海,c,(c+o)/2,1.5,0),colormagenta;
{自动分割画线}
e1p:drawline(c=llv(c,30),low,c=llv(c,10) and c>llv(c,22),llv(low,3),1),
linethick2,coloryellow;
e1pp:drawline(c=llv(c,10),low,c=llv(c,5) and c>llv(c,10),llv(low,3),1),
linethick2,colorred;
k:=(c+h+l)/3;
d:=ma(k,4);
b:ref(c,1)<d and c>d and d<ref(d,1),nodraw,colorred;
drawicon(ref(c,1)>d and c<d and d>ref(d,1),h*1.002, 2);
drawicon(ref(c,1)<d and c>d and d<ref(d,1),e1pp*0.965 ,23);
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文跌涨趋势线指标主图版下载 通达信线主图趋势仅供学习研究。