lc:=ref(close,1);
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
varb:=sma(max(close-lc,0),7,1)/sma(abs(close-lc),7,1)*100;
varc:=sma(max(close-lc,0),13,1)/sma(abs(close-lc),13,1)*100;
vard:=barscount(close);
底部初显:(varb< 20 and varc< 25 and vard> 50)*30,linethick2, colorff9933;
lk:ema( (close-ma(close,7))/ma(close,7)*480,2),linethick3 ,colorred;
ld:ema( (close-ma(close,10))/ma(close,10)*480,10),linethick3 ,colorgreen;
drawtext(cross(lk,ld) and lk<-10,-20,'要反弹'),coloryellow;
drawicon(cross(lk,ld) and lk<-10 and ld>ref(ld,1)or cross(lk,ld) and ld<-35 ,-15,1);
mav:=(2*c+h+l)/4;
var1:=llv(low,4);
var2:=hhv(high,7);
sk:ema((mav-var1)/(var2-var1)*100,13);
sd:ema(0.667*ref(sk,1)+0.333*sk,2);
drawtext(cross(sk,sd),sk,'多 '),colorred;
drawtext(cross(sd,sk),sd,'空 '),colorgreen;
dir:=abs(close-ref(close,10));
vir:=sum(abs(close-ref(close,1)),10);
er:=dir/vir;
cs:=er*(2/3-2/31)+2/31;
cq:=cs*cs;
ama:dma(close,cq),colorgreen,linethick0;
持股:(close>ama),colorgreen;
持币:(close<ama),colorred;
stickline(close<ama,0,2,8,0),colorred;
stickline(close>ama,0,2,8,0),colorgreen;
{个股15分钟}
a15:=max(ma(c,5),ma(c,10));
b15:=min(ma(c,5),ma(c,10));
stickline(c>a15,-2,-1,4,0),colorgreen;
stickline(c<b15,-2,-1,4,0),colorred;
stickline(a15>=c and c>=b15,-2,-1,4,0),coloryellow;
{个股30分钟}
a30:=max(ma(c,10),ma(c,20));
b30:=min(ma(c,10),ma(c,20));
stickline(c>a30,-4,-3,4,0),colorgreen;
stickline(c<b30,-4,-3,4,0),colorred;
stickline(a30>=c and c>=b30,-4,-3,4,0),coloryellow;
{个股60分钟}
a60:=max(ma(c,20),ma(c,28));
b60:=min(ma(c,20),ma(c,28));
stickline(c>a60,-6,-5,4,0),colorgreen;
stickline(c<b60,-6,-5,4,0),colorred;
stickline(a60>=c and c>=b60,-6,-5,4,0),coloryellow;
为您改写如下:
a15:=max(ma(c,5),ma(c,10));
b15:=min(ma(c,5),ma(c,10));
stickline(c>a15,-2,-1,colorgreen,0);
stickline(c<b15,-2,-1,colorred,0);
stickline(a15>=c and c>=b15,-2,-1,coloryellow,0);
a30:=max(ma(c,10),ma(c,20));
b30:=min(ma(c,10),ma(c,20));
stickline(c>a30,-4,-3,colorgreen,0);
stickline(c<b30,-4,-3,colorred,0);
stickline(a30>=c and c>=b30,-4,-3,coloryellow,0);
a60:=max(ma(c,20),ma(c,28));
b60:=min(ma(c,20),ma(c,28));
stickline(c>a60,-6,-5,colorgreen,0);
stickline(c<b60,-6,-5,colorred,0);
stickline(a60>=c and c>=b60,-6,-5,coloryellow,0);
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
varb:=sma(max(close-lc,0),7,1)/sma(abs(close-lc),7,1)*100;
varc:=sma(max(close-lc,0),13,1)/sma(abs(close-lc),13,1)*100;
vard:=barscount(close);
dbcx:(varb< 20 and varc< 25 and vard> 50)*30,colorblue;
lk:ema((close-ma(close,7))/ma(close,7)*480,2),colorred;
ld:ema((close-ma(close,10))/ma(close,10)*480,10),colorgreen;
drawtext(cross(lk,ld) and lk<-10,-20,'yft'),coloryellow;
drawicon(cross(lk,ld)&&lk<-10 &&ld>ref(ld,1)||cross(lk,ld)&&ld<-35 ,-15,'ico1');
mav:=(2*c+h+l)/4;
var1:=llv(low,4);
var2:=hhv(high,7);
skk:ema((mav-var1)/(var2-var1)*100,13);
sd:ema(0.667*ref(sk,1)+0.333*skk,2);
drawtext(cross(sk,sd),sk,'多');
drawtext(cross(sd,sk),sd,'空');
模型仅供参考(分析 家公式网 www。88 gs。com)
上一指标公式:30分钟均线模型[文华财经]公式 公式模型指标源码
下一指标公式:7均线交易模型[文华财经]公式 公式源码指标源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文博弈大师改成文华财经[文华财经]公式 博弈公式指标源码仅供学习研究。