通达信金前瞻源码

 

HJ_1:=REF(COUNT(CLOSE/REF(CLOSE,1)>1.095 AND HIGH=CLOSE,5)>=1 AND OPEN>MA(CLOSE,5),3) AND REF(COUNT(HIGH/LOW>1.095 AND CLOSE<HIGH,2)>=1,2) AND REF(CLOSE/REF(CLOSE,1)<0.907 AND LOW/CLOSE>0.996 AND COUNT(HIGH>OPEN,2)>=1 AND COUNT(VOL>REF(VOL,1),3)>=1,1) AND REF(CLOSE,1)/LOW>1.04 AND CLOSE/LOW>1.02;
 HJ_2:=HJ_1 AND OPEN/LOW<1.033 AND VOL<HHV(VOL,3) OR (REF(COUNT(HJ_1,2)>=1,3) AND REF(CLOSE/REF(CLOSE,1)<0.911,1) AND OPEN/REF(CLOSE,1)>0.998 AND OPEN/REF(CLOSE,1)<1.033) OR (REF(HJ_1,4) AND REF(COUNT(CLOSE/REF(CLOSE,1)<0.907,2)>=1,1) AND (REF(CLOSE,1)/LOW>1.086 AND CLOSE/LOW>1.02 OR (OPEN/REF(CLOSE,1)>0.998 AND OPEN/REF(CLOSE,1)<1.033)));
 HJ_3:=HJ_2 AND OPEN/LOW<1.033 AND OPEN/CLOSE<1.033 OR (REF(COUNT(HJ_2,2)>=1,3) AND REF(CLOSE/REF(CLOSE,1)<0.911 OR (OPEN<REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)<0.95),1) AND OPEN/REF(CLOSE,1)>0.998 AND OPEN/REF(CLOSE,1)<1.033 AND OPEN/CLOSE<1.033) OR (REF(HJ_1,4) AND REF(COUNT(CLOSE/REF(CLOSE,1)<0.907,2)>=1,1) AND OPEN/CLOSE<1.033 AND (REF(CLOSE,1)/LOW>1.086 AND CLOSE/LOW>1.02 OR (OPEN/REF(CLOSE,1)>0.998 AND OPEN/REF(CLOSE,1)<1.033)));
 HJ_4:=1000*OPEN/INDEXO;
 HJ_5:=1000*CLOSE/INDEXC;
 HJ_6:=1000*HIGH/INDEXH;
 HJ_7:=100*EMA(EMA(CLOSE-REF(CLOSE,1),6),6)/EMA(EMA(ABS(CLOSE-REF(CLOSE,1)),6),6);
 HJ_8:=LLV(HJ_7,2)=LLV(HJ_7,7) AND COUNT(HJ_7<0,2) AND CROSS(HJ_7,MA(HJ_7,2));
 HJ_9:=MA(LOW,24)*1.09;
 HJ_10:=CROSS(HJ_9,OPEN);
 HJ_11:=EMA(LOW,25);
 HJ_12:=CROSS(CLOSE,HJ_11);
 HJ_13:=COUNT(CLOSE>OPEN,2)>=1 OR REF(CLOSE/REF(CLOSE,1)>1.095 AND HIGH=CLOSE,2) AND COUNT(LOW<MA(CLOSE,5),2)>=1 AND (OPEN/REF(CLOSE,1)>0.95 OR OPEN<REF(LOW,1)) AND HJ_4/REF(HJ_4,1)>0.9 AND (VOL>REF(HHV(VOL,800),1) OR REF(CLOSE>LOW,1)) AND COUNT(OPEN/LOW<1.04 AND CLOSE>OPEN OR (CLOSE/LOW<1.04 AND CLOSE<OPEN),2)=2;
 HJ_14:=CLOSE/REF(CLOSE,1)>1.095 AND REF(HJ_5>HJ_4,3) AND REF(COUNT(HJ_5<HJ_4,5)>=1,1) AND REF(HJ_8,4) AND HIGH=CLOSE OR (CLOSE/REF(CLOSE,1)>1.095 AND REF(REF(HJ_3,4) OR HJ_3,1) AND HIGH=CLOSE) OR (NOT(REF(HJ_8,3)) AND NOT(HJ_10)) AND (CLOSE/REF(CLOSE,1)>=1.08 OR CLOSE/OPEN>1.06) AND LOW>REF(LOW,1) AND LOW/MA(CLOSE,5)<1.025;
 HJ_15:=COUNT(CLOSE>OPEN,5)>=3;
 HJ_16:=REF(VOL/CAPITAL*100>3 AND HIGH-MAX(OPEN,CLOSE)>ABS(OPEN-CLOSE) AND HIGH-MAX(OPEN,CLOSE)>7*(MIN(CLOSE,OPEN)-LOW) AND (HIGH-LOW)/REF(CLOSE,1)*100>6 AND CLOSE>REF(CLOSE,1),1);
金前瞻:HJ_15 AND OPEN<REF(CLOSE,1) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND HJ_16 AND IF(FILTER(REF(OPEN/REF(CLOSE,1)>0.984 AND COUNT(HJ_14,6)>=1 OR HJ_13,1) AND REF(HIGH/CLOSE>1.037 AND (COUNT(CLOSE>OPEN,2)>=1 OR REF(CLOSE/REF(CLOSE,1)>1.095 AND HIGH=CLOSE,2)) AND CLOSE/LOW<HIGH/CLOSE AND (CLOSE/OPEN>0.983 AND REF(HIGH=CLOSE AND CLOSE>=REF(OPEN,1),1) OR CLOSE/OPEN>0.99 AND REF(CLOSE/OPEN>1.03 OR HIGH/CLOSE>1.05 OR (HIGH=CLOSE AND CLOSE/OPEN>1.03),1)) OR HIGH=CLOSE OR HJ_13,1) AND (OPEN/REF(MA(CLOSE,5),1)<1.005 OR (OPEN<REF(LOW,1) OR (OPEN/REF(LOW,1)<1.013 AND REF(HIGH=CLOSE,2)) AND OPEN/MA(CLOSE,5)<1.015 AND REF(OPEN/LOW<1.05,2))) AND CLOSE/OPEN>1.01 AND OPEN<REF(CLOSE,1) AND REF(HJ_4<HJ_5 AND (HJ_6/HJ_5<1.045 AND CLOSE/OPEN<1.04 OR HJ_5/HJ_4>1.07 OR HJ_5/HJ_4<1.003),1),3),1,0);

{-----------------------------------}






来函数检测结果如下
该公式包含未来函数:CAPITAL

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

相关指标公式

HJ_1赋值:3日前的统计5日中满足收盘价/1日前的收盘价>1.095ANDHIGH=收盘价的天数>=1ANDOPEN>收盘价的5日简单移动平均 AND 2日前的统计2日中满足最高价/最低价>1.095ANDCLOSE<最高价的天数>=1 AND 1日前的收盘价/1日前的收盘价<0.907ANDLOW/收盘价>0.996ANDCOUNT(最高价>开盘价,2)>=1ANDCOUNT(成交量(手)>1日前的成交量(手),3)>=1 AND 1日前的收盘价/最低价>1.04 AND 收盘价/最低价>1.02
HJ_2赋值:HJ_1 AND 开盘价/最低价<1.033 AND 成交量(手)<3日内成交量(手)的最高值 OR (3日前的统计2日中满足HJ_1的天数>=1 AND 1日前的收盘价/1日前的收盘价<0.911 AND 开盘价/1日前的收盘价>0.998 AND 开盘价/1日前的收盘价<1.033) OR (4日前的HJ_1 AND 1日前的统计2日中满足收盘价/1日前的收盘价<0.907的天数>=1 AND (1日前的收盘价/最低价>1.086 AND 收盘价/最低价>1.02 OR (开盘价/1日前的收盘价>0.998 AND 开盘价/1日前的收盘价<1.033)))
HJ_3赋值:HJ_2 AND 开盘价/最低价<1.033 AND 开盘价/收盘价<1.033 OR (3日前的统计2日中满足HJ_2的天数>=1 AND 1日前的收盘价/1日前的收盘价<0.911OR(开盘价<1日前的收盘价ANDCLOSE/1日前的收盘价<0.95) AND 开盘价/1日前的收盘价>0.998 AND 开盘价/1日前的收盘价<1.033 AND 开盘价/收盘价<1.033) OR (4日前的HJ_1 AND 1日前的统计2日中满足收盘价/1日前的收盘价<0.907的天数>=1 AND 开盘价/收盘价<1.033 AND (1日前的收盘价/最低价>1.086 AND 收盘价/最低价>1.02 OR (开盘价/1日前的收盘价>0.998 AND 开盘价/1日前的收盘价<1.033)))
HJ_4赋值:1000*开盘价/大盘的开盘价
HJ_5赋值:1000*收盘价/大盘的收盘价
HJ_6赋值:1000*最高价/大盘的最高价
HJ_7赋值:100*收盘价-1日前的收盘价的6日指数移动平均的6日指数移动平均/收盘价-1日前的收盘价的绝对值的6日指数移动平均的6日指数移动平均
HJ_8赋值:2日内HJ_7的最低值=7日内HJ_7的最低值 AND 统计2日中满足HJ_7<0的天数 AND HJ_7上穿HJ_7的2日简单移动平均
HJ_9赋值:最低价的24日简单移动平均*1.09
HJ_10赋值:HJ_9上穿开盘价
HJ_11赋值:最低价的25日指数移动平均
HJ_12赋值:收盘价上穿HJ_11
HJ_13赋值:统计2日中满足收阳线的天数>=1 OR 2日前的收盘价/1日前的收盘价>1.095ANDHIGH=收盘价 AND 统计2日中满足最低价<收盘价的5日简单移动平均的天数>=1 AND (开盘价/1日前的收盘价>0.95 OR 开盘价<1日前的最低价) AND HJ_4/1日前的HJ_4>0.9 AND (成交量(手)>1日前的800日内成交量(手)的最高值 OR 1日前的收盘价>最低价) AND 统计2日中满足开盘价/最低价<1.04ANDCLOSE>OPENOR(收盘价/最低价<1.04ANDCLOSE<开盘价)的天数=2
HJ_14赋值:收盘价/1日前的收盘价>1.095 AND 3日前的HJ_5>HJ_4 AND 1日前的统计5日中满足HJ_5=1 AND 4日前的HJ_8 AND 最高价=收盘价 OR (收盘价/1日前的收盘价>1.095 AND 1日前的4日前的HJ_3ORHJ_3 AND 最高价=收盘价) OR (取反 AND 取反) AND (收盘价/1日前的收盘价>=1.08 OR 收盘价/开盘价>1.06) AND 最低价>1日前的最低价 AND 最低价/收盘价的5日简单移动平均<1.025
HJ_15赋值:统计5日中满足收阳线的天数>=3
HJ_16赋值:1日前的成交量(手)/当前流通股本(手)*100>3ANDHIGH-开盘价和收盘价的较大值>开盘价-收盘价的绝对值ANDHIGH-开盘价和收盘价的较大值>7*(收盘价和开盘价的较小值-最低价)AND(最高价-最低价)/1日前的收盘价*100>6ANDCLOSE>1日前的收盘价
输出金前瞻:HJ_15 AND 开盘价<1日前的收盘价 AND 收阳线ANDSE 收盘价>1日前的收盘价 AND HJ_16 AND 如果1日前的开盘价/1日前的收盘价>0.984ANDCOUNT(HJ_14,6)>=1ORHJ_13ANDREF(最高价/收盘价>1.037AND(统计2日中满足收阳线的天数>=1ORREF(收盘价/1日前的收盘价>1.095ANDHIGH=收盘价,2)的?日过滤,返回ANDCLOSE/最低价<最高价/CLOSEAND(收盘价/开盘价>0.983ANDREF(最高价=CLOSEANDCLOSE>=1日前的开盘价,1)ORCLOSE/开盘价>0.99ANDREF(收盘价/开盘价>1.03ORHIGH/收盘价>1.05OR(最高价=CLOSEANDCLO,否则返回E/开盘价>1.03),1))ORHIGH=CLOSEORHJ_13,1)AND(开盘价/1日前的收盘价的5日简单移动平均<1.005OR(开盘价<1日前的最低价OR(开盘价/1日前的最低价<1.013ANDREF(最高价=收盘价,2))ANDOPEN/收盘价的5日简单移动平均<1.015

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

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