跑得快。。。改进后的药神指标
祝愿:=(low+high+close)/3;
股民:= ma(祝愿,5);
朋友:=ma(close,1);
股市:=hhv(股民,10);
跑吧:if(hhv((朋友<股市),5),100,90),colorblue ;
清仓:=if(hhv((朋友<股市),10),100,86),colorcyan;
drawtext(跑吧=90,95,'跑'),colorblue;
drawtext(清仓=86,90,'光'),colorgreen;
drawtext(跑吧=90 and 清仓=86,95,'跑'),colorgreen;
快乐:= ma(祝愿,10);
买卖:=llv(快乐,10);
//www.goodgongshi.com
精准短买:=if(llv((朋友<买卖),10),15,0),colorwhite;
vara:=100-90*(hhv(high,20)-close)/(hhv(high,20)-llv(low,20));
varb:=100-90*(hhv(high,20)-close)/(hhv(high,20)-llv(low,20));
varc:=100-ma(100*(hhv(high,6)-close)/(hhv(high,6)-llv(low,6)),28);
买入:if(varb<ma(varc,6),ma(varc,6),varb),colorred;
卖出:if(vara>ma(varc,6),ma(varc,6),vara),colorgreen;
趋势线:ma(varc,6),coloryellow ,linethick2;
var01:=llv(low,21);
var02:=hhv(high,21);
红色线:=ema((close-var01)/(var02-var01)*100,6),colorred,linethick1;
压力:ma(llv(c,12)*1.126,8),nodraw;
支撑:ma(hhv(c,26)*0.866,6),nodraw;
多空线:=(压力+支撑)/2,coloryellow, linethick3;
lc := ref(close,1);
rsi1:=sma(max(close-lc,0),3,1)/sma(abs(close-lc),3,1)*100;
rsi2:=sma(max(close-lc,0),5,1)/sma(abs(close-lc),5,1)*100;
rsi3:=sma(max(close-lc,0),8,1)/sma(abs(close-lc),8,1)*100;
相对强弱:=0.5*rsi1+0.31*rsi2+0.19*rsi3;
wave1:=sma(100*(close-llv(low,8))/(hhv(high,8)-llv(low,8)),3,1);
wave2:=sma(100*(close-llv(low,8))/(hhv(high,8)-llv(low,8)),5,1);
wave3:=sma(100*(close-llv(low,8))/(hhv(high,8)-llv(low,8)),8,1);
短线波段:=0.5*wave1+0.31*wave2+0.19*wave3;
机会区:=20,pointdot,colorred;
风险区:=80,pointdot,colorgreen;
上涨系数:=0.5*相对强弱+0.5*短线波段,coloryellow;
cd1:=if(上涨系数<20 and close>open,1,0);
cd2:=if(上涨系数<20 and low>=ref(low,1) and close>low,1,0);
cd3:=if(ref(上涨系数,1)<20 and 上涨系数>ref(上涨系数,1),1,0);
lbuy:=(cd1=1 or cd2=1 or cd3=1);
x:(lbuy and count(lbuy,3)=1),nodraw;
drawicon(x,机会区,1);
怀孕:x=1;
tr1:=sum(max(max((high - low),abs((high - ref(close,1)))),abs((low - ref(close,1)))),5);
hd:=(high - ref(high,1));
ld:=(ref(low,1) - low);
dmp:=(sum(if(((hd > 0) and (hd > ld)),hd,0),5) );
dmm:=sum(if(((ld > 0) and (ld > hd)),ld,0),5);
神偷线:=(((dmp ) * 100) / tr);
辅助线:=((dmm * 100) / tr);
动向趋势线:=(ma(((abs((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));
adxr:=((动向趋势线 + ref(动向趋势线,3)) / 2);
aa:=vol/((high-low)*2-abs(close-open));
var12:=vol/((high-low)*2-abs(close-open));
主买:=if(close>open,var12*(high-low),if(close<open,var12*((high-open)+(close-low)),vol/2)),color00e521;
主卖:=if(close>open,var12*((high-close)+(open-low)),if(close<open,var12*(high-low),vol/2));
买卖比1:=主买/主卖;
净:=(主买-主卖)/100;
净买:if(净>0,净,drawnull),colorred,nodraw;
var4:=ma(low,1);
var5:=ma(high,2);
var6:=ma(close,2);
var7:=ref(var6,1);
【趋势】:=((sma(max((var6 - var7),0),5,1) / sma(abs((var6 - var7)),5,1)) * 100);
急买准:if(llv((朋友<买卖),5)and 动向趋势线=100,15,0),colorred,nodraw;
stickline(急买准=15 ,85,100,12,1),colorred;
drawtext(急买准=15,96,'急'),coloryellow;
drawtext(急买准=15,89,'买'),coloryellow;
解密:=(expma(close,500)-ref(expma(close,500),1))/ref(expma(close,500),1)*100, colorstick;
真药神:=cross(expma(解密,120)-0.0004,expma(解密,200)),colorcyan,nodraw;
q_1:=c-ref(c,1);
q_2:=100*ema(ema(q_1,6),6)/ema(ema(abs(q_1),6),6);
q_3:=cross(ema(c,19),ema(c,7));
q_4:=cross(ema(c,7),ema(c,19));
z1:=l=llv(l,barslast(q_3)+1);
z2:=llv(l,barslast(q_3)+1);
z3:=h=hhv(h,barslast(q_4)+1);
z4:=hhv(h,barslast(q_4)+1);
q_a:=drawline(z1,z2,z3,z4,0),colormagenta,linethick2;
y1:=h=hhv(h,barslast(q_4)+1);
y2:=hhv(h,barslast(q_4)+1);
y3:=l=llv(l,barslast(q_3)+1);
y4:=llv(l,barslast(q_3)+1);
q_b:=drawline(y1,y2,y3,y4,0),colorcyan,linethick2;
x01:=llv(q_2,2)=llv(q_2,7);
x2:=count(q_2<0,2);
x3:=cross(q_2,ma(q_2,2));
x4:=ref(q_b,1)<ref(q_b,2);
x5:=q_a>ref(q_b,1);
买入1:=(x01 and x2 and x3) and x4 and x5;
tj0:=if(q_a<ref(q_a,1) and q_b=q_a,1,0);
tj1:=if(q_b<ref(q_b,1) and q_b=q_a,1,0);
持股:if(q_b>ref(q_b,1) and q_b=q_a,10,0),stick,colorred,linethick3;
持币:if(q_b<ref(q_b,1) and q_b=q_a,0,10),stick,colorgreen,linethick3;
买绝:if(ref(tj1,1)=0 and tj1>=1,15,0),stick,coloryellow;
stickline((ref(tj1,1)=0 and tj1>=1),0,15,3,0),coloryellow;
卖绝:if(ref(tj0,1)=0 and tj0>=1,15,0),stick,colorblue;
stickline((ref(tj0,1)=0 and tj0>=1),0,15,3,0),colorblue;
drawicon(卖绝=15 and 买入<ref(买入,1),买入,8);
开仓:红色线<11 and 买绝=15,coloryellow;
stickline(开仓 ,15,20,20,1),coloryellow,linethick3;
stickline(开仓 ,0,15,1,1),coloryellow;
drawtext(开仓,17,'开仓'),colorred;
stickline(开仓 ,85,100,8,1),coloryellow;
drawtext(开仓,96,'开'),colorred;
drawtext(开仓,89,'仓'),colorred;
var11:=ma(c,9),colorred;
上通道:=if(var11>ref(var11,1),var11,drawnull),colorred;
上势:=cross(买入,趋势线)and 持股>10 and 上通道>0;
stickline(真药神=1 and 红色线>ref(红色线,1),多空线,红色线,2,0),colorcyan;
drawtext_fix(1,0,0,0,'~☆~顺势而微:a157940229a~☆~'),coloryellow;
上一指标公式:咸鱼止盈止损公式下载 同花顺咸鱼
下一指标公式:杨氏凤凰趋势公式下载 同花顺杨氏趋势
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文跑得快。。。改进后的药神公式下载 同花顺改进指标仅供学习研究。