能在周线下看指标了,取代资金仓位抄底,可惜的是不能显示进场提示。
a2:=ma(c,1);
a5:=ma(c,5);
a10:=ma(c,10);
a20:=ma(c,20);
a30:=ma(c,30);
a60:=ma(c,60);
m5:=if(a2>=a5 and a2>=a10 and a2>=a20 and a2>=a30 and a2<a60,150,
if(a2>=a5 and a2>=a10 and a2<a20 and a2>=a30 and a2<a60,130,
if(a2>=a5 and a2>=a10 and a2>=a20 and a2<a30 and a2<a60,130,
if(a2>=a5 and a2<a10 and a2<a30 and a2<a60,110,
if(a2>=a5 and a2>=a10 and a2>=a20 and a5>=a10 and a2<a30 and a2<a60,130,
if(a2>=a5 and a2>=a10 and a5>=a10 and a2<a20 and a2<a30 and a2<a60,120,
if(a2>=a5 and a2>=a10 and a5<a10 and a2<a20 and a2<a30 and a2<a60,110,
if(a2>=a5 and a2>=a10 and a2>=a20 and a2>=a30 and a2<a60 and a5<a10 and a10<a30,130,
if(a2<a5 and a2>=a10 and a2>=a20 and a2>=a30 and a2<a60,30,
if(a2>=a5,100,0))))))))));
m10:=if(a2>=a5 and a2<a10,-50,if(a2<a5 and a2>a10,50,0));
m20:=if(a2>=a5 and a2>=a10 and a2<a20,-50,
if(a2>=a5 and a2<a10 and a2>=a20,10,
if(a2>=a5 and a2<a10 and a2<a20,-10,
if(a2<a5 and a2>=a10 and a2>=a20,20,
if(a2<a5 and a2<a10 and a2>=a20,50,0)))));
m30:=if(a2>=a5 and a2>=a10 and a2>=a20 and a2<a30,-70,
if(a2>=a5 and a2>=a10 and a2<a20 and a2<a30,-20,
if(a2>=a5 and a2<a10 and a2>=a20 and a2<a30,-30,
if(a2>=a5 and a2<a10 and a2<a20 and a2<a30,-20,
if(a2<a5 and a2>=a10 and a2>=a20 and a2>=a30,10,
if(a2<a5 and a2>=a10 and a2>=a20 and a2<a30,-40,
if(a2<a5 and a2>=a10 and a2<a20 and a2<a30,-20,
if(a2<a5 and a2<a10 and a2>=a20 and a2<a30,-20,
if(a2<a5 and a2<a10 and a2<a20 and a2>=a30,30,0)))))))));
m60:=if(a2>=a5 and a2>=a10 and a2>=a20 and a2>=a30 and a2<a60,-100,
if(a2>=a5 and a2>=a10 and a2>=a20 and a2<a30 and a2<a60,-30,
if(a2>=a5 and a2>=a10 and a2<a20 and a2>=a30 and a2<a60,-50,
if(a2>=a5 and a2>=a10 and a2<a20 and a2<a30 and a2<a60,-30,
if(a2>=a5 and a2<a10 and a2>=a20 and a2>=a30 and a2<a60,-60,
if(a2>=a5 and a2<a10 and a2>=a20 and a2<a30 and a2<a60,-30,
if(a2>=a5 and a2<a10 and a2<a20 and a2>=a30 and a2<a60,-40,
if(a2>=a5 and a2<a10 and a2<a20 and a2<a30 and a2<a60,-20,
if(a2<a5 and a2>=a10 and a2>=a20 and a2>=a30 and a2<a60,-80,
if(a2<a5 and a2>=a10 and a2>=a20 and a2<a30 and a2<a60,-30,
if(a2<a5 and a2>=a10 and a2<a20 and a2>=a30 and a2<a60,-50,
if(a2<a5 and a2>=a10 and a2<a20 and a2<a30 and a2<a60,-30,
if(a2<a5 and a2<a10 and a2>=a20 and a2>=a30 and a2<a60,-50,
if(a2<a5 and a2<a10 and a2>=a20 and a2<a30 and a2<a60,-30,
if(a2<a5 and a2<a10 and a2<a20 and a2>=a30 and a2<a60,-30,
if(a2<a5 and a2<a10 and a2<a20 and a2<a30 and a2>=a60,10,0))))))))))))))));
zjcw:=m5+m10+m20+m30+m60;
stickline(zjcw>=50,0,zjcw,-1,0),colorred;
stickline(zjcw<50,0,zjcw,-1,0),colorgreen;
if(zjcw>=50,zjcw,drawnull),colorred,nodraw;
if(zjcw<50,zjcw,drawnull),colorgreen,nodraw;
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;
上一指标公式:MASD变异指标公式详解 同花顺变异
下一指标公式:量能平台突破指标公式详解 同花顺突破平台
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文庄家仓位看看庄家的仓位指标公式详解 同花顺庄家仅供学习研究。