捉妖能手之选股指标公式

 

VAR1:=REF(CLOSE,2)/REF(CLOSE,1)>=1.04;
VAR2:=REF(VAR1,1);
VAR3:=MA(CLOSE,5);
VAR4:=MA(CLOSE,10);
VAR5:=MA(CLOSE,60);
VAR6:=MA(CLOSE,120);
VAR7:=REF(CLOSE,1)< REF(VAR3,1) AND OPEN< VAR3 AND VAR3>VAR6;
VAR8:=REF(VAR7,1)=0 AND VAR7;
VAR9:=EMA(HHV(HIGH,1),8);
VAR10:=EMA(CLOSE,8);
VAR11:=VAR10< REF(VAR10,1) AND CLOSE< VAR10;
VAR12:=IF(VAR9< REF(VAR9,1) OR VAR11,1,0);
VAR13:=(COUNT(VAR12=1,4)=3 AND VAR12=0)*89;
VAR14:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
VAR15:=IF(CLOSE>OPEN,VAR14*(HIGH-LOW),IF(CLOSE< OPEN,VAR14*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-VAR14*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE< OPEN,0-VAR14*(HIGH-LOW),0-VOL/2));
VAR16:=VAR15/20/1.15;
VAR17:=VAR16*0.55+REF(VAR16,1)*0.33+REF(VAR16,2)*0.22;
VAR18:=EMA(VAR17,3);
VAR19:=VAR18< 100;
VAR20:=COUNT(VAR19,9)< 2;
VAR21:=CLOSE/REF(CLOSE,1)>1.09;
VAR22:=CLOSE=HIGH;
VAR23:=REF(VAR21,1) AND REF(VAR22,1);
VAR24:=COUNT(VAR23,11)>0;
VAR25:=MA(CLOSE,3);
VAR26:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR27:=(HIGH-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR28:=REF(HHV(VOL,10),1);
VAR29:=MA(CLOSE,20);
VAR30:=(VAR25+VAR3)/2;
VAR31:=COUNT(COUNT(VAR26>9.9 AND CLOSE=HIGH,1)>=1,30)>0;
VAR32:=COUNT(COUNT(VAR26>9.9 AND CLOSE=HIGH,1)>=1,60)>0;
VAR33:=VAR29>REF(VAR29,1) AND VOL< VAR28 AND VAR31 AND VAR27>3 AND OPEN<=VAR3 AND CLOSE>VAR3 AND (COUNT(VAR30>REF(VAR30,1),3)>=3 OR COUNT(VAR3>REF(VAR3,1),3)>=3) AND COUNT(VAR29>REF(VAR29,1),25)>=16;
VAR34:=(CLOSE-OPEN)/OPEN*100;
VAR35:=VAR32 AND VOL< 1.3*REF(VOL,1) AND COUNT(VAR34>0.5,6)>=5 AND COUNT(VAR25>VAR3,5)>=5 AND COUNT(HIGH>REF(HIGH,1),6)>=5 AND VAR27>4.5 AND OPEN<=VAR25 AND CLOSE>VAR25 AND OPEN>VAR3;
VAR36:=VAR33 OR VAR35;
VAR37:=VAR36=1 AND COUNT(VAR36,15)=1;
VAR38:=AMOUNT/VOL/7;
VAR39:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR40:=SUM(AMOUNT,10)/VAR38/7;
VAR41:=DMA(VAR39,VOL/VAR40);
VAR42:=(CLOSE-VAR41)/VAR41*100;
VAR43:=-VAR42;
VAR44:=VAR42>VAR43;
VAR45:=crOSS(VAR42,0.6) AND VAR44;
VAR46:=EMA(CLOSE/REF(CLOSE,1),5);
VAR47:=EMA(CLOSE/REF(CLOSE,1),10);
VAR48:=CROSS(VAR46,VAR47);
VAR49:=VAR45 AND VAR48;
VAR50:=VAR49 AND VAR37;
VAR51:=COUNT(VAR37,10)>0;
VAR52:=VAR49 AND VAR51 AND VAR24;
VAR53:=VAR49 AND VAR24 AND VAR13;
VAR54:=VAR50 AND VAR24;
VAR55:=VAR52 OR VAR54 OR VAR53;
VAR56:=(EMA(CLOSE,12)-EMA(CLOSE,26))/EMA(CLOSE,26)*100;
VAR57:=EMA(VAR56,9);
VAR58:=(VAR56-VAR57)*100;
VAR59:=VAR58-REF(VAR58,1);
VAR60:=CROSS(VAR59,50);
VAR61:=EMA(EMA(EMA(CLOSE,12),12),12);
VAR62:=(VAR61-REF(VAR61,1))/REF(VAR61,1)*100;
VAR63:=MA(VAR62,9);
VAR64:=VAR62>VAR63;
VAR65:=CLOSE/REF(CLOSE,1)>1.09;
VAR66:=CLOSE=HIGH;
VAR67:=REF(VAR65,1) AND REF(VAR66,1);
VAR68:=COUNT(VAR67,4)>0;
VAR69:=COUNT(VAR67,5)>0;
VAR70:=(3*CLOSE+LOW+OPEN+HIGH)/6;
VAR71:=(20*VAR70+19*REF(VAR70,1)+18*REF(VAR70,2)+17*REF(VAR70,3)+16*REF(VAR70,4)+15*REF(VAR70,5)+14*REF(VAR70,6)+13*REF(VAR70,7)+12*REF(VAR70,8)+11*REF(VAR70,9)+10*REF(VAR70,10)+9*REF(VAR70,11)+8*REF(VAR70,12)+7*REF(VAR70,13)+6*REF(VAR70,14)+5*REF(VAR70,15)+4*REF(VAR70,16)+3*REF(VAR70,17)+2*REF(VAR70,18)+REF(VAR70,20))/210;
VAR72:=MA(VAR71,6);
VAR73:=VAR71>VAR72;
VAR74:=CLOSE>1.02*REF(CLOSE,1);
VAR75:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100< (-6);
VAR76:=REF(CLOSE,1)>(REF(CLOSE,BARSLAST(VAR74))+REF(CLOSE,BARSLAST(VAR74)+1))/2 AND CLOSE< (REF(CLOSE,BARSLAST(VAR74))+REF(CLOSE,BARSLAST(VAR74)+1))/2;
VAR77:=REF(CLOSE,1)< (REF(CLOSE,BARSLAST(VAR75))+REF(CLOSE,BARSLAST(VAR75)+1))/2 AND CLOSE>(REF(CLOSE,BARSLAST(VAR75))+REF(CLOSE,BARSLAST(VAR75)+1))/2;
VAR78:=BARSLAST(VAR75)<=7 AND VAR74 AND VAR77 AND COUNT(VAR74,BARSLAST(VAR75))=1 AND NOT(HIGH=LOW) AND REF(NOT(HIGH=LOW),BARSLAST(VAR75))=1;
VAR79:=COUNT(VAR78,7)>0;
VAR80:=((CLOSE-REF(MA(CLOSE,6),1))/6+MA(CLOSE,6))*1.004;
VAR81:=CROSS(CLOSE,VAR80) AND VAR80>REF(VAR80,1);
VAR82:=((CLOSE-REF(MA(CLOSE,18),1))/18+MA(CLOSE,18))*1.004;
VAR83:=CROSS(CLOSE,VAR82) AND VAR82>REF(VAR82,1);
VAR84:=VAR81 AND VAR83 AND VAR78 AND VAR73 AND VAR64;
VAR85:=VAR68 AND VAR78 AND VAR73 AND VAR64;
VAR86:=VAR84 OR VAR85;
VAR87:=REF(CLOSE>OPEN AND REF(HIGH=CLOSE,1) AND OPEN>REF(CLOSE,1),1) OR (OPEN< REF(CLOSE,1) AND REF(CLOSE< OPEN,1) AND CLOSE/REF(CLOSE,1)< 0.97 AND LOW/REF(CLOSE,1)< 0.927) OR (LOW/REF(CLOSE,1)< 1.008 AND CLOSE/REF(CLOSE,1)< 1.0199 AND CLOSE/OPEN< 0.955 AND OPEN/CLOSE< 1.13 AND REF(HIGH=CLOSE,1)) OR (REF(CLOSE< OPEN,1) AND (CLOSE< REF(LOW,2) OR CLOSE/REF(CLOSE,2)< 0.945) AND CLOSE/REF(CLOSE,2)< 0.965) AND CLOSE/LOW< 1.051 AND NOT(HIGH=LOW);
VAR88:=REF(REF(CLOSE/REF(CLOSE,4)>=1.13,3) OR REF(CLOSE/REF(CLOSE,3)>=1.1,1) OR REF(CLOSE/REF(CLOSE,4)>=1.073,2) OR REF(CLOSE/REF(CLOSE,1)>=1.089,1) OR CLOSE/REF(CLOSE,2)>=1.089 OR CLOSE/REF(CLOSE,4)>=1.073 AND COUNT(CLOSE>=OPEN,4)>=1,1);
VAR89:=CLOSE/REF(CLOSE,1)< 0.955 OR CLOSE/REF(CLOSE,1)< 0.963 AND REF(CLOSE< OPEN,1) OR CLOSE/REF(CLOSE,1)< 0.965 AND REF(CLOSE< OPEN,1) OR CLOSE< REF((CLOSE+OPEN)/2,2) OR CLOSE/REF(CLOSE,1)< 0.966 AND CLOSE< REF(OPEN,1) AND LOW< REF(LOW,1);
VAR90:=VAR87 OR VAR88 OR VAR89;
VAR91:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100< (-6);
VAR92:=CLOSE>1.02*REF(CLOSE,1);
VAR93:=VAR91 AND VAR90;
VAR94:=REF(CLOSE,1)< (REF(CLOSE,BARSLAST(VAR93))+REF(CLOSE,BARSLAST(VAR93)+1))/2 AND CLOSE>(REF(CLOSE,BARSLAST(VAR93))+REF(CLOSE,BARSLAST(VAR93)+1))/2;
VAR95:=BARSLAST(VAR93)<=7 AND VAR92 AND VAR94 AND COUNT(VAR92,BARSLAST(VAR93))=1 AND NOT(HIGH=LOW) AND REF(NOT(HIGH=LOW),BARSLAST(VAR93))=1;
XG:VAR95 AND VAR87=0 AND VAR86=0 AND VAR1;






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


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

相关指标公式

VAR1赋值:2日前的收盘价/1日前的收盘价>=1.04
VAR2赋值:1日前的VAR1
VAR3赋值:收盘价的5日简单移动平均
VAR4赋值:收盘价的10日简单移动平均
VAR5赋值:收盘价的60日简单移动平均
VAR6赋值:收盘价的120日简单移动平均
VAR7赋值:1日前的收盘价< 1日前的VAR3 AND 开盘价< VAR3 AND VAR3>VAR6
VAR8赋值:1日前的VAR7=0 AND VAR7
VAR9赋值:1日内最高价的最高值的8日指数移动平均
VAR10赋值:收盘价的8日指数移动平均
VAR11赋值:VAR10< 1日前的VAR10 AND 收盘价< VAR10
VAR12赋值:如果VAR9<1日前的VAR9ORVAR11,返回1,否则返回0
VAR13赋值:(统计4日中满足VAR12=1的天数=3 AND VAR12=0)*89
VAR14赋值:成交量(手)/((最高价-最低价)*2-收盘价-开盘价的绝对值)
VAR15赋值:如果收阳线,返回VAR14*(最高价-最低价),否则返回如果收阴线,返回VAR14*(最高价-开盘价+收盘价-最低价),否则返回成交量(手)/2+如果收阳线,返回0-VAR14*(最高价-收盘价+开盘价-最低价),否则返回如果收阴线,返回0-VAR14*(最高价-最低价),否则返回0-成交量(手)/2
VAR16赋值:VAR15/20/1.15
VAR17赋值:VAR16*0.55+1日前的VAR16*0.33+2日前的VAR16*0.22
VAR18赋值:VAR17的3日指数移动平均
VAR19赋值:VAR18< 100
VAR20赋值:统计9日中满足VAR19的天数< 2
VAR21赋值:收盘价/1日前的收盘价>1.09
VAR22赋值:收盘价=最高价
VAR23赋值:1日前的VAR21 AND 1日前的VAR22
VAR24赋值:统计11日中满足VAR23的天数>0
VAR25赋值:收盘价的3日简单移动平均
VAR26赋值:(收盘价-1日前的收盘价)/1日前的收盘价*100
VAR27赋值:(最高价-1日前的收盘价)/1日前的收盘价*100
VAR28赋值:1日前的10日内成交量(手)的最高值
VAR29赋值:收盘价的20日简单移动平均
VAR30赋值:(VAR25+VAR3)/2
VAR31赋值:统计30日中满足统计1日中满足VAR26>9.9ANDCLOSE=最高价的天数>=1的天数>0
VAR32赋值:统计60日中满足统计1日中满足VAR26>9.9ANDCLOSE=最高价的天数>=1的天数>0
VAR33赋值:VAR29>1日前的VAR29 AND 成交量(手)< VAR28 AND VAR31 AND VAR27>3 AND 开盘价<=VAR3 AND 收盘价>VAR3 AND (统计3日中满足VAR30>1日前的VAR30的天数>=3 OR 统计3日中满足VAR3>1日前的VAR3的天数>=3) AND 统计25日中满足VAR29>1日前的VAR29的天数>=16
VAR34赋值:(收盘价-开盘价)/开盘价*100
VAR35赋值:VAR32 AND 成交量(手)< 1.3*1日前的成交量(手) AND 统计6日中满足VAR34>0.5的天数>=5 AND 统计5日中满足VAR25>VAR3的天数>=5 AND 统计6日中满足最高价>1日前的最高价的天数>=5 AND VAR27>4.5 AND 开盘价<=VAR25 AND 收盘价>VAR25 AND 开盘价>VAR3
VAR36赋值:VAR33 OR VAR35
VAR37赋值:VAR36=1 AND 统计15日中满足VAR36的天数=1
VAR38赋值:成交额(元)/成交量(手)/7
VAR39赋值:(3*最高价+最低价+开盘价+2*收盘价)/7
VAR40赋值:成交额(元)的10日累和/VAR38/7
VAR41赋值:以成交量(手)/VAR40为权重VAR39的动态移动平均
VAR42赋值:(收盘价-VAR41)/VAR41*100
VAR43赋值:-VAR42
VAR44赋值:VAR42>VAR43
VAR45赋值:VAR42上穿0.6 AND VAR44
VAR46赋值:收盘价/1日前的收盘价的5日指数移动平均
VAR47赋值:收盘价/1日前的收盘价的10日指数移动平均
VAR48赋值:VAR46上穿VAR47
VAR49赋值:VAR45 AND VAR48
VAR50赋值:VAR49 AND VAR37
VAR51赋值:统计10日中满足VAR37的天数>0
VAR52赋值:VAR49 AND VAR51 AND VAR24
VAR53赋值:VAR49 AND VAR24 AND VAR13
VAR54赋值:VAR50 AND VAR24
VAR55赋值:VAR52 OR VAR54 OR VAR53
VAR56赋值:(收盘价的12日指数移动平均-收盘价的26日指数移动平均)/收盘价的26日指数移动平均*100
VAR57赋值:VAR56的9日指数移动平均
VAR58赋值:(VAR56-VAR57)*100
VAR59赋值:VAR58-1日前的VAR58
VAR60赋值:VAR59上穿50
VAR61赋值:收盘价的12日指数移动平均的12日指数移动平均的12日指数移动平均
VAR62赋值:(VAR61-1日前的VAR61)/1日前的VAR61*100
VAR63赋值:VAR62的9日简单移动平均
VAR64赋值:VAR62>VAR63
VAR65赋值:收盘价/1日前的收盘价>1.09
VAR66赋值:收盘价=最高价
VAR67赋值:1日前的VAR65 AND 1日前的VAR66
VAR68赋值:统计4日中满足VAR67的天数>0
VAR69赋值:统计5日中满足VAR67的天数>0
VAR70赋值:(3*收盘价+最低价+开盘价+最高价)/6
VAR71赋值:(20*VAR70+19*1日前的VAR70+18*2日前的VAR70+17*3日前的VAR70+16*4日前的VAR70+15*5日前的VAR70+14*6日前的VAR70+13*7日前的VAR70+12*8日前的VAR70+11*9日前的VAR70+10*10日前的VAR70+9*11日前的VAR70+8*12日前的VAR70+7*13日前的VAR70+6*14日前的VAR70+5*15日前的VAR70+4*16日前的VAR70+3*17日前的VAR70+2*18日前的VAR70+20日前的VAR70)/210
VAR72赋值:VAR71的6日简单移动平均
VAR73赋值:VAR71>VAR72
VAR74赋值:收盘价>1.02*1日前的收盘价
VAR75赋值:(收盘价-1日前的收盘价)/1日前的收盘价*100< (-6)
VAR76赋值:1日前的收盘价>(上次VAR74距今天数日前的收盘价+上次VAR74距今天数+1日前的收盘价)/2 AND 收盘价< (上次VAR74距今天数日前的收盘价+上次VAR74距今天数+1日前的收盘价)/2
VAR77赋值:1日前的收盘价< (上次VAR75距今天数日前的收盘价+上次VAR75距今天数+1日前的收盘价)/2 AND 收盘价>(上次VAR75距今天数日前的收盘价+上次VAR75距今天数+1日前的收盘价)/2
VAR78赋值:上次VAR75距今天数<=7 AND VAR74 AND VAR77 AND 统计上次VAR75距今天数日中满足VAR74的天数=1 AND 取反 AND 上次VAR75距今天数日前的取反=1
VAR79赋值:统计7日中满足VAR78的天数>0
VAR80赋值:((收盘价-1日前的收盘价的6日简单移动平均)/6+收盘价的6日简单移动平均)*1.004
VAR81赋值:收盘价上穿VAR80 AND VAR80>1日前的VAR80
VAR82赋值:((收盘价-1日前的收盘价的18日简单移动平均)/18+收盘价的18日简单移动平均)*1.004
VAR83赋值:收盘价上穿VAR82 AND VAR82>1日前的VAR82
VAR84赋值:VAR81 AND VAR83 AND VAR78 AND VAR73 AND VAR64
VAR85赋值:VAR68 AND VAR78 AND VAR73 AND VAR64
VAR86赋值:VAR84 OR VAR85
VAR87赋值:1日前的收盘价>OPENANDREF(最高价=收盘价,1)ANDOPEN>1日前的收盘价 OR (开盘价< 1日前的收盘价 AND 1日前的收阴线 AND 收盘价/1日前的收盘价< 0.97 AND 最低价/1日前的收盘价< 0.927) OR (最低价/1日前的收盘价< 1.008 AND 收盘价/1日前的收盘价< 1.0199 AND 收盘价/开盘价< 0.955 AND 开盘价/收盘价< 1.13 AND 1日前的最高价=收盘价) OR (1日前的收阴线 AND (收盘价< 2日前的最低价 OR 收盘价/2日前的收盘价< 0.945) AND 收盘价/2日前的收盘价< 0.965) AND 收盘价/最低价< 1.051 AND 取反
VAR88赋值:收盘价/4日前的收盘价>=1.073ANDCOUNT(收盘价>=开盘价,4)>=1日前的3日前的收盘价/4日前的收盘价>=1.13ORREF(收盘价/3日前的收盘价>=1.1,1)ORREF(收盘价/4日前的收盘价>=1.073,2)ORREF(收盘价/1日前的收盘价>=1.089,1)ORCLOSE/2日前的收盘价>=1.089O
VAR89赋值:收盘价/1日前的收盘价< 0.955 OR 收盘价/1日前的收盘价< 0.963 AND 1日前的收阴线 OR 收盘价/1日前的收盘价< 0.965 AND 1日前的收阴线 OR 收盘价< 2日前的(收盘价+开盘价)/2 OR 收盘价/1日前的收盘价< 0.966 AND 收盘价< 1日前的开盘价 AND 最低价< 1日前的最低价
VAR90赋值:VAR87 OR VAR88 OR VAR89
VAR91赋值:(收盘价-1日前的收盘价)/1日前的收盘价*100< (-6)
VAR92赋值:收盘价>1.02*1日前的收盘价
VAR93赋值:VAR91 AND VAR90
VAR94赋值:1日前的收盘价< (上次VAR93距今天数日前的收盘价+上次VAR93距今天数+1日前的收盘价)/2 AND 收盘价>(上次VAR93距今天数日前的收盘价+上次VAR93距今天数+1日前的收盘价)/2
VAR95赋值:上次VAR93距今天数<=7 AND VAR92 AND VAR94 AND 统计上次VAR93距今天数日中满足VAR92的天数=1 AND 取反 AND 上次VAR93距今天数日前的取反=1
输出XG:VAR95 AND VAR87=0 AND VAR86=0 AND VAR1

指标安装下载帮助  |   热门标签  | 联系我们  |  股朋指标网  |  指标网   |  指标公式  |  加入收藏   

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