通达信回头大牛主图指标公式

 

NOTEXTHC:MA(CLOSE,22),COLORMAGENTA;
X_1:=MA(CLOSE,21);
NOTEXTMA60:MA(CLOSE,60),COLORYELLOW;
X_2:=EMA(CLOSE,5);
X_3:=EMA(X_2,0);
X_4:=HHV(MA(HIGH,3),2);
NOTEXTX2:LLV(MA(HIGH,3),1),COLORRED;
X_5:=X_4=NOTEXTX2 AND REF(X_4>NOTEXTX2,1);
DRAWICON(X_5 AND NOTEXTX2>=REF(NOTEXTX2,1) AND CLOSE>OPEN,LOW,1);
X_6:=FILTER(X_3>REF(X_3,1) AND X_4>REF(CLOSE,1),11);
X_7:=RANGE(CLOSE/X_1,0.97,1.15) OR RANGE(OPEN/X_1,0.97,1.15);
X_8:=X_6 AND CLOSE>MA(CLOSE,21) AND EVERY(X_1>REF(X_1,1),7) AND X_7;
DRAWICON(X_8>=1 AND NOTEXTX2>REF(NOTEXTX2,1),LOW*0.99,7);
X_9:=NOTEXTX2>NOTEXTHC AND NOTEXTHC>NOTEXTMA60;
X_10:=X_5 AND X_9;
DRAWICON(X_10 AND CLOSE>OPEN,LOW*0.98,11);
X_11:=NOTEXTHC>NOTEXTMA60 AND NOTEXTX2>NOTEXTMA60;
X_12:=X_5 AND X_11;
DRAWICON(X_12 AND CLOSE>OPEN,LOW*0.98,11);
X_13:=X_5 AND NOTEXTMA60>NOTEXTHC AND LOW<=NOTEXTHC AND HIGH>=NOTEXTMA60;
X_14:=X_5 AND NOTEXTMA60<NOTEXTHC AND LOW<=NOTEXTMA60 AND HIGH>=NOTEXTHC;
X_15:=X_13 OR X_14;
DRAWICON(X_15,LOW*0.97,34);
DRAWICON(crOSS(NOTEXTX2,NOTEXTHC) AND REF(X_5,1) AND NOTEXTHC>REF(NOTEXTHC,1),LOW*0.96,25);
X_16:=NOTEXTMA60>=NOTEXTHC AND NOTEXTX2>=NOTEXTMA60 AND HIGH>=NOTEXTX2 AND LOW<=NOTEXTMA60;
X_17:=NOTEXTMA60>=NOTEXTHC AND NOTEXTX2>=NOTEXTHC AND NOTEXTX2<NOTEXTMA60 AND HIGH>=NOTEXTMA60 AND LOW<=NOTEXTX2;
X_18:=NOTEXTMA60<=NOTEXTHC AND NOTEXTX2>=NOTEXTMA60 AND NOTEXTX2<NOTEXTHC AND HIGH>=NOTEXTHC AND LOW<=NOTEXTX2;
X_19:=NOTEXTMA60<=NOTEXTHC AND NOTEXTX2>=NOTEXTHC AND HIGH>=NOTEXTX2 AND LOW<=NOTEXTHC;
X_20:=X_16 OR X_17 OR X_18 OR X_19;
X_21:=X_20 AND CLOSE>OPEN;
STICKLINE(X_21,OPEN,CLOSE,3,0),COLORRED;
X_22:=NOTEXTX2>=NOTEXTMA60 AND NOTEXTMA60>=NOTEXTHC AND HIGH>=NOTEXTX2 AND LOW<=NOTEXTHC;
X_23:=NOTEXTX2>=NOTEXTHC AND NOTEXTHC>=NOTEXTMA60 AND HIGH>=NOTEXTX2 AND LOW<=NOTEXTMA60;
X_24:=NOTEXTMA60>=NOTEXTHC AND NOTEXTHC>=NOTEXTX2 AND HIGH>=NOTEXTMA60 AND LOW<=NOTEXTX2;
X_25:=NOTEXTMA60>=NOTEXTX2 AND NOTEXTX2>=NOTEXTHC AND HIGH>=NOTEXTMA60 AND LOW<=NOTEXTHC;
X_26:=NOTEXTHC>=NOTEXTMA60 AND NOTEXTMA60>=NOTEXTX2 AND HIGH>=NOTEXTMA60 AND LOW<=NOTEXTHC;
X_27:=NOTEXTHC>=NOTEXTX2 AND NOTEXTX2>=NOTEXTMA60 AND HIGH>=NOTEXTHC AND LOW<=NOTEXTMA60;
X_28:=X_22 OR X_23 OR X_24 OR X_25 OR X_26 OR X_27;
X_29:=X_28 AND CLOSE>OPEN;
STICKLINE(X_29,OPEN,CLOSE,3,0),COLORMAGENTA;
X_30:=NOTEXTHC>NOTEXTMA60 AND NOTEXTX2>NOTEXTMA60 AND NOTEXTX2<NOTEXTHC;
X_31:=NOTEXTHC<NOTEXTMA60 AND NOTEXTX2>NOTEXTHC AND NOTEXTX2<NOTEXTMA60;
X_32:=NOTEXTX2<NOTEXTMA60 AND NOTEXTX2<NOTEXTHC;
X_33:=X_30 OR X_31 OR X_32 AND NOTEXTX2>=REF(NOTEXTX2,1) AND (NOTEXTMA60>=REF(NOTEXTMA60,1) OR NOTEXTHC>=REF(NOTEXTHC,1));
X_34:=CLOSE<=NOTEXTX2 AND CLOSE>OPEN AND X_33;
STICKLINE(X_34,CLOSE,OPEN,3.05,0),COLOR000099;
STICKLINE(X_34,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(X_34,CLOSE,OPEN,1.5,0),COLORRED;
STICKLINE(X_34,CLOSE,OPEN,0.5,0),COLORYELLOW;
X_35:=CROSS(NOTEXTMA60,NOTEXTX2) OR CROSS(NOTEXTHC,NOTEXTX2);
X_36:=CROSS(NOTEXTX2,NOTEXTMA60) OR CROSS(NOTEXTX2,NOTEXTHC);
X_37:=X_36 AND EXIST(X_35,10);
STICKLINE(X_37,CLOSE,OPEN,3.05,0),COLOR000099;
STICKLINE(X_37,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(X_37,CLOSE,OPEN,1.5,0),COLORRED;
STICKLINE(X_37,CLOSE,OPEN,0.5,0),COLORYELLOW;




来函数检测结果如下
该公式没有未来函数


解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

输出NOTEXTHC:收盘价的22日简单移动平均,画洋红色
X_1赋值:收盘价的21日简单移动平均
输出NOTEXTMA60:收盘价的60日简单移动平均,画黄色
X_2赋值:收盘价的5日指数移动平均
X_3赋值:X_2的历史指数移动平均
X_4赋值:2日内最高价的3日简单移动平均的最高值
输出NOTEXTX2:1日内最高价的3日简单移动平均的最低值,画红色
X_5赋值:X_4=NOTEXTX2 AND 1日前的X_4>NOTEXTX2
当满足条件X_5ANDNOTEXTX2>=1日前的NOTEXTX2ANDCLOSE>开盘价时,在最低价位置画1号图标
X_6赋值:X_3>1日前的X_3ANDX_4>1日前的收盘价的11日过滤
X_7赋值:收盘价/X_1位于0.97和1.15之间 OR 开盘价/X_1位于0.97和1.15之间
X_8赋值:X_6 AND 收盘价>收盘价的21日简单移动平均 AND 最近7日一直存在X_1>1日前的X_1 AND X_7
当满足条件X_8>=1ANDNOTEXTX2>1日前的NOTEXTX2时,在最低价*0.99位置画7号图标
X_9赋值:NOTEXTX2>NOTEXTHC AND NOTEXTHC>NOTEXTMA60
X_10赋值:X_5 AND X_9
当满足条件X_10ANDCLOSE>开盘价时,在最低价*0.98位置画11号图标
X_11赋值:NOTEXTHC>NOTEXTMA60 AND NOTEXTX2>NOTEXTMA60
X_12赋值:X_5 AND X_11
当满足条件X_12ANDCLOSE>开盘价时,在最低价*0.98位置画11号图标
X_13赋值:X_5 AND NOTEXTMA60>NOTEXTHC AND 最低价<=NOTEXTHC AND 最高价>=NOTEXTMA60
X_14赋值:X_5 AND NOTEXTMA60=NOTEXTHC
X_15赋值:X_13 OR X_14
当满足条件X_15时,在最低价*0.97位置画34号图标
当满足条件NOTEXTX2上穿NOTEXTHCANDREF(X_5,1)ANDNOTEXTHC>1日前的NOTEXTHC时,在最低价*0.96位置画25号图标
X_16赋值:NOTEXTMA60>=NOTEXTHC AND NOTEXTX2>=NOTEXTMA60 AND 最高价>=NOTEXTX2 AND 最低价<=NOTEXTMA60
X_17赋值:NOTEXTMA60>=NOTEXTHC AND NOTEXTX2>=NOTEXTHC AND NOTEXTX2=NOTEXTMA60 AND 最低价<=NOTEXTX2
X_18赋值:NOTEXTMA60<=NOTEXTHC AND NOTEXTX2>=NOTEXTMA60 AND NOTEXTX2=NOTEXTHC AND 最低价<=NOTEXTX2
X_19赋值:NOTEXTMA60<=NOTEXTHC AND NOTEXTX2>=NOTEXTHC AND 最高价>=NOTEXTX2 AND 最低价<=NOTEXTHC
X_20赋值:X_16 OR X_17 OR X_18 OR X_19
X_21赋值:X_20 AND 收阳线
当满足条件X_21时,在开盘价和收盘价位置之间画柱状线,宽度为3,0不为0则画空心柱.,画红色
X_22赋值:NOTEXTX2>=NOTEXTMA60 AND NOTEXTMA60>=NOTEXTHC AND 最高价>=NOTEXTX2 AND 最低价<=NOTEXTHC
X_23赋值:NOTEXTX2>=NOTEXTHC AND NOTEXTHC>=NOTEXTMA60 AND 最高价>=NOTEXTX2 AND 最低价<=NOTEXTMA60
X_24赋值:NOTEXTMA60>=NOTEXTHC AND NOTEXTHC>=NOTEXTX2 AND 最高价>=NOTEXTMA60 AND 最低价<=NOTEXTX2
X_25赋值:NOTEXTMA60>=NOTEXTX2 AND NOTEXTX2>=NOTEXTHC AND 最高价>=NOTEXTMA60 AND 最低价<=NOTEXTHC
X_26赋值:NOTEXTHC>=NOTEXTMA60 AND NOTEXTMA60>=NOTEXTX2 AND 最高价>=NOTEXTMA60 AND 最低价<=NOTEXTHC
X_27赋值:NOTEXTHC>=NOTEXTX2 AND NOTEXTX2>=NOTEXTMA60 AND 最高价>=NOTEXTHC AND 最低价<=NOTEXTMA60
X_28赋值:X_22 OR X_23 OR X_24 OR X_25 OR X_26 OR X_27
X_29赋值:X_28 AND 收阳线
当满足条件X_29时,在开盘价和收盘价位置之间画柱状线,宽度为3,0不为0则画空心柱.,画洋红色
X_30赋值:NOTEXTHC>NOTEXTMA60 AND NOTEXTX2>NOTEXTMA60 AND NOTEXTX2X_31赋值:NOTEXTHCNOTEXTHC AND NOTEXTX2X_32赋值:NOTEXTX2X_33赋值:X_30 OR X_31 OR X_32 AND NOTEXTX2>=1日前的NOTEXTX2 AND (NOTEXTMA60>=1日前的NOTEXTMA60 OR NOTEXTHC>=1日前的NOTEXTHC)
X_34赋值:收盘价<=NOTEXTX2 AND 收阳线ANDSE X_33
当满足条件X_34时,在收盘价和开盘价位置之间画柱状线,宽度为3.05,0不为0则画空心柱.,COLOR000099
当满足条件X_34时,在收盘价和开盘价位置之间画柱状线,宽度为2.2,0不为0则画空心柱.,COLOR0000CC
当满足条件X_34时,在收盘价和开盘价位置之间画柱状线,宽度为1.5,0不为0则画空心柱.,画红色
当满足条件X_34时,在收盘价和开盘价位置之间画柱状线,宽度为0.5,0不为0则画空心柱.,画黄色
X_35赋值:NOTEXTMA60上穿NOTEXTX2 OR NOTEXTHC上穿NOTEXTX2
X_36赋值:NOTEXTX2上穿NOTEXTMA60 OR NOTEXTX2上穿NOTEXTHC
X_37赋值:X_36 AND 最近10日存在X_35
当满足条件X_37时,在收盘价和开盘价位置之间画柱状线,宽度为3.05,0不为0则画空心柱.,COLOR000099
当满足条件X_37时,在收盘价和开盘价位置之间画柱状线,宽度为2.2,0不为0则画空心柱.,COLOR0000CC
当满足条件X_37时,在收盘价和开盘价位置之间画柱状线,宽度为1.5,0不为0则画空心柱.,画红色
当满足条件X_37时,在收盘价和开盘价位置之间画柱状线,宽度为0.5,0不为0则画空心柱.,画黄色

指标安装下载帮助  |   联系我们  |  股朋指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股朋指标网别名指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:股朋指标网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图