大肚线
{大肚线}
diff:=(ema(c,26)-ema(c,52));
dea:=ema(diff,52);
macd:=(2*(diff-dea));
dif:=(ema(c,26)-ema(c,52));
ess:=ema(c,26);
egg:=ema(c,52);
大肚线:(((((((((52-1)*(26+1))*egg)*1)-((((52+1)*(26-1))*ess)*1))+(((26+1)*(52+1))*dif))*1)/((2*52)-(2*26)))*1);
drawtext(大肚线>=ref(大肚线,1),大肚线,'*'),colorred,linethick2;
drawtext(大肚线<ref(大肚线,1),大肚线,'*'),colorgreen,linethick2;
vara1:=(((close - ma(close,6)) / ma(close,6)) * 100);
vara2:=(((close - ma(close,12)) / ma(close,12)) * 100);
vara3:=(((close - ma(close,24)) / ma(close,24)) * 100);
vara4:=(((vara1 + (2 * vara2)) + (3 * vara3)) / 6);
vara5:=ma(vara4,3);
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
vara6:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
vara7:=sma(vara6,3,1);
vara8:=sma(vara7,3,1);
vara9:=(vara8/2+40)*1.1;
vara10:=sma(vara9,3,1);
vara11:=ema(dclose,12)-ema(dclose,26);
vara12:=ema(vara11,9);
vara13:=(vara11-vara12)*2*60;
vara14:=10;
vara15:=vara13-ref(vara13,1);
dif2:=ema(dclose,12)-ema(dclose,26);
dea2:=ema(dif2,9);
aaa:=(dif2-dea2)*2*60;
买:=cross(vara15,vara14);
买1:=if(买,1,0);
买2:=cross(aaa-ref(aaa,1),15);
大肚买:=买1 and 买2;
逃顶1:=if(cross(vara10,rsi),50,0),stick,colormagenta;
逃顶2:=if(cross(80,rsi),-50,0),stick,colorgreen;
逃顶3:=cross(80,rsi)*35;
大肚逃:=逃顶1 and 逃顶2 and 逃顶3;
stickline(大肚逃,ref(close,1),ref(close,2),3.2,0),colorff3300;
stickline(大肚逃,ref(close,1),ref(close,2),2.7,0),colorff5500;
stickline(大肚逃,ref(close,1),ref(close,2),2.1,0),colorff7700;
stickline(大肚逃,ref(close,1),ref(close,2),1.5,0),colorff9900;
stickline(大肚逃,ref(close,1),ref(close,2),0.9,0),colorffbb00;
stickline(大肚逃,ref(close,1),ref(close,2),0.3,0),colorffdd00;
drawtext(filter(大肚买=1,5),low,' 买进'),colorff00ff;
drawicon(filter(大肚买=1,5),low,9);
drawtext(filter(大肚逃=1,5),high,' 逃顶'),color00ff00;
drawicon(filter(大肚逃=1,5),high,15);{大肚线}
diff:=(ema(c,26)-ema(c,52));
dea:=ema(diff,52);
macd:=(2*(diff-dea));
dif:=(ema(c,26)-ema(c,52));
ess:=ema(c,26);
egg:=ema(c,52);
大肚线:(((((((((52-1)*(26+1))*egg)*1)-((((52+1)*(26-1))*ess)*1))+(((26+1)*(52+1))*dif))*1)/((2*52)-(2*26)))*1);
drawtext(大肚线>=ref(大肚线,1),大肚线,'*'),colorred,linethick2;
drawtext(大肚线<ref(大肚线,1),大肚线,'*'),colorgreen,linethick2;
vara1:=(((close - ma(close,6)) / ma(close,6)) * 100);
vara2:=(((close - ma(close,12)) / ma(close,12)) * 100);
vara3:=(((close - ma(close,24)) / ma(close,24)) * 100);
vara4:=(((vara1 + (2 * vara2)) + (3 * vara3)) / 6);
vara5:=ma(vara4,3);
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
vara6:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
vara7:=sma(vara6,3,1);
vara8:=sma(vara7,3,1);
vara9:=(vara8/2+40)*1.1;
vara10:=sma(vara9,3,1);
vara11:=ema(dclose,12)-ema(dclose,26);
vara12:=ema(vara11,9);
vara13:=(vara11-vara12)*2*60;
vara14:=10;
vara15:=vara13-ref(vara13,1);
dif2:=ema(dclose,12)-ema(dclose,26);
dea2:=ema(dif2,9);
aaa:=(dif2-dea2)*2*60;
买:=cross(vara15,vara14);
买1:=if(买,1,0);
买2:=cross(aaa-ref(aaa,1),15);
大肚买:=买1 and 买2;
逃顶1:=if(cross(vara10,rsi),50,0),stick,colormagenta;
逃顶2:=if(cross(80,rsi),-50,0),stick,colorgreen;
逃顶3:=cross(80,rsi)*35;
大肚逃:=逃顶1 and 逃顶2 and 逃顶3;
stickline(大肚逃,ref(close,1),ref(close,2),3.2,0),colorff3300;
stickline(大肚逃,ref(close,1),ref(close,2),2.7,0),colorff5500;
stickline(大肚逃,ref(close,1),ref(close,2),2.1,0),colorff7700;
stickline(大肚逃,ref(close,1),ref(close,2),1.5,0),colorff9900;
stickline(大肚逃,ref(close,1),ref(close,2),0.9,0),colorffbb00;
stickline(大肚逃,ref(close,1),ref(close,2),0.3,0),colorffdd00;
drawtext(filter(大肚买=1,5),low,' 买进'),colorff00ff;
drawicon(filter(大肚买=1,5),low,9);
drawtext(filter(大肚逃=1,5),high,' 逃顶'),color00ff00;
drawicon(filter(大肚逃=1,5),high,15);
上一指标公式:牛市机票指标(副图+源码+选股)下载 通达信源码指标
下一指标公式:牛股战法副图指标(源码+贴图)下载 通达信指标牛股
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文大肚线(主图源码)下载 通达信源码仅供学习研究。