{公式名称: 祖师爷精版
公式描述:
无参数
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
兑:ma(close,1),color0000ff,linethick2,nodraw;
震:ma(close,5),color0080ff,linethick2;
巽:ma(close,10),color00ffff,linethick2;
乾:ma(close,22),color00ff00,linethick2;
坤:ma(close,66),colorff0000,linethick2;
{http://www.goodgongshi.com}
持股:=兑>巽,linethick2,nodraw;
stickline(持股,h,l,0,0)color0000ff;
stickline(持股,o,c,2,0)color0000ff;
警惕:=兑<震,nodraw;
stickline(警惕,h,l,0,0)colorff0000;
stickline(警惕,o,c,2,0)colorff0000;
持币:=兑<巽,nodraw;
stickline(持币,h,l,0,0)colorffff00;
stickline(持币,o,c,2,0)colorffff00;
m1:=cross(c,巽);
stickline(m1,open,close,1.5,0),color00ffff;
stickline(m1,h,l,0,0)color00ffff;
drawtext(m1,l*1,'买入')colorff00ff,nodraw;
{好公式网http://www.goodgongshi.com}
y:=((high + low) / 2);
blue:=sma(y,13,1);
red:=sma(y,8,1);
green:=sma(y,5,1);
b2:=ref(blue,8);
r2:=ref(red,5);
g2:=ref(green,3);
ku1:=if((high = hhv(high,3)),1,0);
kd1:=if((low = llv(low,3)),1,0);
ul:=if((((ref(ku1,2) = 1) and (ref(ku1,1) = 0)) and (ku1 = 0)),ref(high,2),ref(high,(2 + barslast((((ref(ku1,2) = 1) and (ref(ku1,1) = 0)) and (ku1 = 0))))));
dl:=if((((ref(kd1,2) = 1) and (ref(kd1,1) = 0)) and (kd1 = 0)),ref(low,2),ref(low,(2 + barslast((((ref(kd1,2) = 1) and (ref(kd1,1) = 0)) and (kd1 = 0))))));
ku:=if((((close > b2) and (close > r2)) and (close > g2)),1,0);
kd:=if((((close < b2) and (close < r2)) and (close < g2)),(0 - 1),0);
kk:=if((barslast(((ku = 1) and (ref(ku,1) = 0))) < barslast(((kd = (0 - 1)) and (ref(kd,1) = 0)))),1,(0 - 1));
ao:=(ma(y,5) - ma(y,34));
ac:=ma((ao - ma(ao,5)),5);
ac1:=ref(ac,1);
ao1:=ref(ao,1);
kac:=if(((ac > ac1) and (ao > ao1)),1,0);
kao:=if(((ac < ac1) and (ao < ao1)),(0 - 1),0);
a1:sma(ref(y,8),13,1),colorffffff,linethick2,nodraw;
a2:sma(ref(y,5),8,1),colorffffff,linethick2,nodraw;
a3:sma(ref(y,3),5,1),colorffffff,linethick2,nodraw;
a4:if((high >= r2),ul,ref(ul,barslast((high > r2)))),pointdot,colorffffff,linethick2,nodraw;
a5:if((low <= r2),dl,ref(dl,barslast((low <= r2)))),pointdot,colorffffff,linethick2,nodraw;
stickline((barslast(abs((a4 - ref(a4,1)))) < barslast(((close > a4) and (ref(close,1) < ref(a4,1))))),a4,a4,3,1),colorffffff nodraw;
stickline((barslast(abs((a5 - ref(a5,1)))) < barslast(((close < a5) and (ref(close,1) > ref(a5,1))))),a5,a5,3,1),colorffffff nodraw;
h1:=ref(high,4);
h2:=ref(high,3);
h3:=ref(high,2);
h4:=ref(high,1);
h5:=high;
l1:=ref(low,4);
l2:=ref(low,3);
l3:=ref(low,2);
l4:=ref(low,1);
l5:=low;
‖:=((((h3 > h2) and (h3 > h1)) and (h3 > h4)) and (h3 > h5));
‖fractal:=if(‖,1,0);
‖var1:=backset(‖fractal,3);
‖var2:=filter(‖var1,2);
‖var3:=backset(‖fractal,5);
∣:=((((l3 < l2) and (l3 < l1)) and (l3 < l4)) and (l3 < l5));
∣fractal:=if(∣,1,0);
∣var1:=backset(∣fractal,3);
∣var2:=filter(∣var1,2);
∣var3:=backset(∣fractal,5);
{好公式网http://www.goodgongshi.com}
drawtext(‖var2,(high +0.01),'●'),colorffffff nodraw;
drawtext(∣var2,low-0.01,'●'),colorffffff nodraw;
drawtext(((close > a4) and (ref(close,1) < ref(a4,1))),(high +0.15),'↑'),color0000ff,nodraw;
drawtext(((close < a5) and (ref(close,1) > ref(a5,1))),(low * 0.99),'↓'),color008000,nodraw;
drawtext((((ku = 1) and (ref(ku,1) = 0)) and (close < 0)),low* 0.99,'↑'),color0000ff,nodraw;
drawtext((((kd = (0 - 1)) and (ref(kd,1) = 0)) and (close < 0)),(high * 1.01),'↓'),colorffff00,nodraw;
drawtext((((kd = 0) and (ref(kd,1) = (0 - 1))) and (close < 0)),low,'△'),colorred,nodraw;
m2:=cross(c,a4);
stickline(m2,open,close,1.5,0),colorffffff;
stickline(m2,h,l,0,0),colorffffff ;
drawtext(m2,l*1,'突破买入'),color0080ff nodraw;
{常规提示}
drawtext_fix(currbarscount=1,0,0,0,dyblock)colorffffff;
drawtext_fix(currbarscount=1,0,0.05,0,gnblock)colorffffff;
drawtext_fix(currbarscount=1,0,0.10,0,fgblock)colorffffff;
上一指标公式:黑马红包公式下载 通达信红包
下一指标公式:组合建仓转载和谐完全加密指标公式下载 通达信建仓加密
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文祖师爷精版公式下载 通达信祖师爷仅供学习研究。