主图防护ly---专门的主图防护红绿线和标识出涨跌停板
{主图防护ly}
zgd:=hhv(h,60);
zgd2:=const(zgd);
zdd:=llv(l,60);
zdd2:=const(zdd);
gj:=(c+h+l+o)/4;
明日阻力:=l+(gj-l)+(c-l);
明日支撑:l+(c-gj),nodraw;
koh:=l>ref(h,1);//www.goodgongshi.com
kol:=h<ref(l,1);
hif:=l>ref(h,barslast(koh)+1);
nhif:=l<=ref(h,barslast(koh)+1);
lif:=h<ref(l,barslast(kol)+1);
nlif:=h>=ref(l,barslast(kol)+1);
下档线:=(((close - llv(low,13)) / (hhv(high,13) - llv(low,13))) * 100);
rrrsv:=sma(下档线,3,1);
kkk:=sma(rrrsv,3,1);
ddddd:=((3 * rrrsv) - (2 * kkk));
jj12:=(((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100);
rsv24:=sma(jj12,3,1);
k24:=sma(rsv24,3,1);
d24:=((3 * rsv24) - (2 * k24));
压力2:=if(cross(d24,ddddd),high,ref(high,barslast(cross(d24,ddddd)))),colorffffff;
底部:=llv(high,30),colormagenta;
今日阻力:ref(明日阻力 , 1),colorgreen,nodraw;
今日支撑:ref(明日支撑 , 1),colorred,nodraw;
压力位:if(islastbar,压力2,drawnull),coloryellow,nodraw;
底部位:if(islastbar,底部,drawnull),colormagenta,nodraw;
stickline(islastbar and c>=今日阻力,今日阻力,今日阻力,40,1),color0000ff;
stickline(islastbar and c<今日阻力,今日阻力,今日阻力,40,1),color00ff00;
stickline(islastbar and c>=今日支撑,今日支撑,今日支撑,30,1),colorff00ff;
stickline(islastbar and c<今日支撑,今日支撑,今日支撑,30,1),colorff8800;
stickline(islastbar ,压力位,压力位,120,0),colorblue,,linethick2;
stickline(islastbar ,底部位,底部位,100,0),colormagenta,linethick2;
现价=ma(c,1),drawnull;//www.goodgongshi.com
partline((ma(c,13)+ma(c,26))/2 ,(ma(c,13)+ma(c,26))/2 >ref(现价,1),rgb(0,255,0),(ma(c,13)+ma(c,26))/2<=ref(现价,1),rgb(255,0,0)),linethick1;
防护线:ma(close, 13),colorgreen,linethick1;
var21:=(high+low+close*2)/4;
var31:=ema(var21,21);
var41:=std(var21,21);
var51:=((var21-var31)/var41*100+200)/4;
var61:=(ema(var51,5)-25)*1.56;
if(cross( ema(var61,2)*1.22,ema( ema(var61,2)*1.22,2)))
buy;
if(cross(ema(ema(var61,2)*1.22,2), ema(var61,2)*1.22))
sell;
s1:=ema(c,3)*2 - ema(ema(c,3),3), coloryellow;
s2:=ema(c,6)*2 - ema(ema(c,6),6), coloryellow;
s3:=ema(c,9)*2 - ema(ema(c,9),9), coloryellow;
s4:=ema(c,14)*2 - ema(ema(c,14),14), coloryellow;
s5:=ema(c,19)*2 - ema(ema(c,19),19), coloryellow;
均线:=(s1+s2+s3+s4+s5)/5;
partline(均线,均线>ref(均线,1),rgb(255,0,0),均线<=ref(均线,1),rgb(0,255,0)),linethick3;
drawnull,nodraw;
st1:=namelike('st');
st2:=namelike('*st');
zt:=(c-ref(c,1))/ref(c,1)*100>9.91;
ztst:=(c-ref(c,1))/ref(c,1)*100>=4.91;
涨停:=st1=0 and st2=0 and zt;
涨停st:=(st1=1 or st2=1) and ztst;
stickline(涨停,o,c,6,0),coloryellow;
stickline(涨停st,o,c,6,0),coloryellow;
stickline(涨停<>0 and islastbar=1,涨停,涨停,1000,1),colorwhite,linethick1;
dt:=(c-ref(c,1))/ref(c,1)*100<-9.92;
dtst:=(c-ref(c,1))/ref(c,1)*100<-4.92;
跌停:=st1=0 and st2=0 and dt;
跌停st:=(st1=1 or st2=1) and dtst;
stickline(跌停,o,c,6,0),colorwhite;
stickline(跌停st,o,c,6,0),colorwhite;
drawtext_fix(c>o,0.38,0.05,0,' ★ 复 杂 的 事 情 简 单 做 简 单 的 事 情 反 复 做 ★ '),coloryellow;
cv:=close;
bbiboll:=(ma(cv,3)+ma(cv,6)+ma(cv,12)+ma(cv,24))/4;
upr:=bbiboll+6*std(bbiboll,11);
qjj:=vol/((high-low)*2-abs(close-open));
xvl:=(if(close>open,qjj*(high-low),if(close<open,qjj*(high-open+close-low),vol/2))
+if(close>open,0-qjj*(high-close+open-low),if(close<open,0-qjj*(high-low),0-vol/2)));
hsl:=(xvl/3)/1.15;
攻击:=((hsl*0.55+(ref(hsl,1)*0.33))+(ref(hsl,2)*0.22));
lljx:=ema(攻击,3);
b1:=if(sum(lljx,1)>ref(ma(sum(lljx,1),1),1),sum(lljx,1),drawnull);
b2:=if(sum(lljx,2)>ref(ma(sum(lljx,2),1),1),sum(lljx,2),drawnull);
b3:=if(sum(lljx,3)>ref(ma(sum(lljx,3),1),1),sum(lljx,3),drawnull);
b4:=if(sum(lljx,4)>ref(ma(sum(lljx,4),1),1),sum(lljx,4),drawnull);
b5:=if(sum(lljx,5)>ref(ma(sum(lljx,5),1),1),sum(lljx,5),drawnull);
b6:=if(sum(lljx,6)>ref(ma(sum(lljx,6),1),1),sum(lljx,6),drawnull);
b7:=if(sum(lljx,7)>ref(ma(sum(lljx,7),1),1),sum(lljx,7),drawnull);
b8:=if(sum(lljx,8)>ref(ma(sum(lljx,8),1),1),sum(lljx,8),drawnull);
b9:=if(sum(lljx,9)>ref(ma(sum(lljx,9),1),1),sum(lljx,9),drawnull);
b10:=if(sum(lljx,10)>ref(ma(sum(lljx,10),1),1),sum(lljx,10),drawnull);
a11:=ema(c,3);
a5:=ema(c,20);
狙击点:b1 and b2 and b3 and b4 and b5 and b6 and b7 and b8 and b9 and b10 and (close-open)>=(upr-bbiboll) and v/ref(v,1)>=1.9,drawnull;
狙击买点:狙击点=1 and cross(a11,a5) and c>o and c>ref(c,1) and c/ref(c,1)>=1.018,drawnull;
drawtext(cross( 100-100*(hhv(high,5*8)-close)/(hhv(high,5*8)-llv(low,5*8)),51) and cross( c,sar_s(10,2,10)) and b1 and b2 and b3 and b4 and b5 and b6 and b7 and b8 and b9 and b10 and (close-open)>=(upr-bbiboll) and v/ref(v,1)>=1.9 ,high*1.032,'▲'),coloryellow;
var1:=hhv(high,9)-llv(low,9);
var2:=hhv(high,9)-close;
var3:=close-llv(low,9);
var4:=var2/var1*100-70;
var5:=(close-llv(low,60))/(hhv(high,60)-llv(low,60))*100;
var6:=(2*close+high+low)/4;
var7:=sma(var3/var1*100,3,1);
var8:=llv(low,34);
var9:=sma(var7,3,1)-sma(var4,9,1);
vara:=if(var9>100,var9-100,0);
varb:=hhv(high,34);
aa:= vara*2;
bb:= ema((var6-var8)/(varb-var8)*100,13);
varc:=ema(0.667*ref(bb,1)+0.333*bb,2);
cc:sma(var5,20,1),colorred,nodraw,drawnull;
cc1:sma(cc,5,1),colorgreen,nodraw,drawnull;
drawtext((cross((sma(var5,20,1)),(sma((sma(var5,20,1)),5,1))) ),low*0.932,'主'),coloryellow;
drawtext((cross((sma(var5,20,1)),(sma((sma(var5,20,1)),5,1))) ),low*0.902,'升'),coloryellow;
drawtext((cross((sma(var5,20,1)),(sma((sma(var5,20,1)),5,1))) ),low*0.872,'浪'),coloryellow;
上一指标公式:MSD与KD组合最新版指标下载 同花顺MSDKD
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文主图防护LY---专门的主图防护红绿线和标识出涨跌停板指标下载 同花顺涨跌标识仅供学习研究。