一、指标源码
{慧眼智选主图}
ZT:=C/REF(C,1)>1.0993 AND C=H;
STICKLINE(ZT,O,C,3,0),COLORRED;
DT:=C/REF(C,1)<0.913 AND C=L;
STICKLINE(DT,O,C,3,0),COLORGREEN;
风险:=4;
MA1:MA(CLOSE,5)DOTLINE;
MA2:MA(CLOSE,10);
TOP_1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
TOP_2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
TOP_3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
TOP_4:=TOP_1<(-6) AND TOP_2<(-10) AND TOP_3<(-16);
TOP_5:=MA(CLOSE,20);
TOP_6:=CLOSE>MA(CLOSE,5);
TOP_7:=MA(CLOSE,5)>MA(CLOSE,10);
TOP_8:=CLOSE>MA(CLOSE,10);
TOP_9:=MA(CLOSE,5)>MA(CLOSE,20);
TOP_10:=CLOSE>MA(CLOSE,20);
TOP_11:=REF(TOP_5,1);
TOP_12:=TOP_5>TOP_11;
TOP_13:=TOP_6+TOP_7+TOP_8+TOP_9+TOP_10+TOP_12;
TOP_14:=MA(HIGH,20)*0.95;
TOP_15:=MA(LOW+(HIGH-LOW)/2,26)*1.15;
TOP_16:=MA(LOW+(HIGH-LOW)/2,26)*0.95;
TOP_17:=(TOP_15+TOP_16)/2;
TOP_18:=(MA(CLOSE,5)+MA(OPEN,5))/2*1.06;
TOP_19:=(MA(CLOSE,5)+MA(OPEN,5))/2*0.98;
TOP_20:=(TOP_18+TOP_19)/2;
TOP_21:=TOP_18>TOP_16;
TOP_22:=TOP_18>TOP_17;
TOP_23:=TOP_18>TOP_15;
TOP_24:=TOP_20>TOP_16;
TOP_25:=TOP_20>TOP_17;
TOP_26:=TOP_20>TOP_15;
TOP_27:=TOP_19>TOP_16;
TOP_28:=TOP_19>TOP_17;
TOP_29:=TOP_19>TOP_15;
TOP_30:=TOP_21+TOP_22+TOP_23+TOP_24+TOP_25+TOP_26+TOP_27+TOP_28+TOP_29;
G1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
G2:=(REF(OPEN,5)+REF(CLOSE,5))/2;
G3:=(HIGH+LOW+CLOSE+OPEN)/4;
G4:=MAX(G2,MAX(G3,HHV(HIGH,5)));
G5:=MIN(G2,MIN(G3,LLV(LOW,5)));
LSCKXG:=G5=REF(G5,1) AND G5=REF(G5,2) AND G5=REF(G5,3) AND G5=REF(G5,4) AND EXIST(G4=G2,5);
DT9:=VOL;
DT10:=VOL;
DT11:=MAX(DT9,MAX(DT10,HHV(VOL,5)));
DT12:=MIN(DT9,MIN(DT10,LLV(VOL,5)));
ZT1:=VOL;
ZT2:=VOL;
ZT3:=MAX(ZT1,MAX(ZT2,HHV(VOL,5)));
ZT4:=MIN(ZT1,MIN(ZT2,LLV(VOL,5)));
HZ1:=(REF(OPEN,5)+REF(CLOSE,5))/2;
HZ2:=(HIGH+LOW+CLOSE+OPEN)/4;
HZ3:=MAX(HZ1,MAX(HZ2,HHV(HIGH,5)));
HZ4:=MIN(HZ1,MIN(HZ2,LLV(LOW,5)));
智选条件:=(HZ2>HZ1 OR LSCKXG) AND ZT3=ZT1 AND COUNT(DT12=DT9,BARSLAST(LSCKXG))>0 AND BARSLAST(LSCKXG)<15 AND TOP_30<风险;
智选:=FILTER(智选条件,10);
DRAWTEXT(ZT,L,'★牛'),COLORYELLOW;
DRAWICON(智选,L*0.98,38);
DRAWICON(智选,L*0.96,26);
STICKLINE(智选,O,C,3,0),COLORRED;
STICKLINE(智选,O,C,1.2,0),COLORYELLOW;
{慧眼智选副图}
风险:=4;
TOP1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
TOP2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
TOP3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
TOP4:=TOP1<(-6) AND TOP2<(-10) AND TOP3<(-16);
TOP5:=MA(CLOSE,20);
TOP6:=CLOSE>MA(CLOSE,5);
TOP7:=MA(CLOSE,5)>MA(CLOSE,10);
TOP8:=CLOSE>MA(CLOSE,10);
TOP9:=MA(CLOSE,5)>MA(CLOSE,20);
TOP10:=CLOSE>MA(CLOSE,20);
TOP11:=REF(TOP5,1);
TOP12:=TOP5>TOP11;
TOP13:=TOP6+TOP7+TOP8+TOP9+TOP10+TOP12;
TOP14:=MA(HIGH,20)*0.95;
TOP15:=MA(LOW+(HIGH-LOW)/2,26)*1.15;
TOP16:=MA(LOW+(HIGH-LOW)/2,26)*0.95;
TOP17:=(TOP15+TOP16)/2;
TOP18:=(MA(CLOSE,5)+MA(OPEN,5))/2*1.06;
TOP19:=(MA(CLOSE,5)+MA(OPEN,5))/2*0.98;
TOP20:=(TOP18+TOP19)/2;
TOP21:=TOP18>TOP16;
TOP22:=TOP18>TOP17;
TOP23:=TOP18>TOP15;
TOP24:=TOP20>TOP16;
TOP25:=TOP20>TOP17;
TOP26:=TOP20>TOP15;
TOP27:=TOP19>TOP16;
TOP28:=TOP19>TOP17;
TOP29:=TOP19>TOP15;
TOP30:=TOP21+TOP22+TOP23+TOP24+TOP25+TOP26+TOP27+TOP28+TOP29;
G1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
G2:=(REF(OPEN,5)+REF(CLOSE,5))/2;
G3:=(HIGH+LOW+CLOSE+OPEN)/4;
G4:=MAX(G2,MAX(G3,HHV(HIGH,5)));
G5:=MIN(G2,MIN(G3,LLV(LOW,5)));
LSCKXG:=G5=REF(G5,1) AND G5=REF(G5,2) AND G5=REF(G5,3) AND G5=REF(G5,4) AND EXIST(G4=G2,5);
DT9:=VOL;
DT10:=VOL;
DT11:=MAX(DT9,MAX(DT10,HHV(VOL,5)));
DT12:=MIN(DT9,MIN(DT10,LLV(VOL,5)));
ZT1:=VOL;
ZT2:=VOL;
ZT3:=MAX(ZT1,MAX(ZT2,HHV(VOL,5)));
ZT4:=MIN(ZT1,MIN(ZT2,LLV(VOL,5)));
HZ1:=(REF(OPEN,5)+REF(CLOSE,5))/2;
HZ2:=(HIGH+LOW+CLOSE+OPEN)/4;
HZ3:=MAX(HZ1,MAX(HZ2,HHV(HIGH,5)));
HZ4:=MIN(HZ1,MIN(HZ2,LLV(LOW,5)));
智选条件:=(HZ2>HZ1 OR LSCKXG) AND ZT3=ZT1 AND COUNT(DT12=DT9,BARSLAST(LSCKXG))>0 AND BARSLAST(LSCKXG)<15 AND TOP30<风险;
智选:=FILTER(智选条件,10);
STICKLINE(智选,2.5,3,2,0),COLORLIRED;
STICKLINE(智选,0,3,0.1,0),COLORYELLOW;
STICKLINE(智选,0,2.5,2,0),COLORRED;
DRAWICON(智选,3,38);
DRAWICON(智选,2.6,9);
DRAWICON(智选,2,26);
{慧眼智选选股}
风险:=4;
TOP1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
TOP2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
TOP3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
TOP4:=TOP1<(-6) AND TOP2<(-10) AND TOP3<(-16);
TOP5:=MA(CLOSE,20);
TOP6:=CLOSE>MA(CLOSE,5);
TOP7:=MA(CLOSE,5)>MA(CLOSE,10);
TOP8:=CLOSE>MA(CLOSE,10);
TOP9:=MA(CLOSE,5)>MA(CLOSE,20);
TOP10:=CLOSE>MA(CLOSE,20);
TOP11:=REF(TOP5,1);
TOP12:=TOP5>TOP11;
TOP13:=TOP6+TOP7+TOP8+TOP9+TOP10+TOP12;
TOP14:=MA(HIGH,20)*0.95;
TOP15:=MA(LOW+(HIGH-LOW)/2,26)*1.15;
TOP16:=MA(LOW+(HIGH-LOW)/2,26)*0.95;
TOP17:=(TOP15+TOP16)/2;
TOP18:=(MA(CLOSE,5)+MA(OPEN,5))/2*1.06;
TOP19:=(MA(CLOSE,5)+MA(OPEN,5))/2*0.98;
TOP20:=(TOP18+TOP19)/2;
TOP21:=TOP18>TOP16;
TOP22:=TOP18>TOP17;
TOP23:=TOP18>TOP15;
TOP24:=TOP20>TOP16;
TOP25:=TOP20>TOP17;
TOP26:=TOP20>TOP15;
TOP27:=TOP19>TOP16;
TOP28:=TOP19>TOP17;
TOP29:=TOP19>TOP15;
TOP30:=TOP21+TOP22+TOP23+TOP24+TOP25+TOP26+TOP27+TOP28+TOP29;
G1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
G2:=(REF(OPEN,5)+REF(CLOSE,5))/2;
G3:=(HIGH+LOW+CLOSE+OPEN)/4;
G4:=MAX(G2,MAX(G3,HHV(HIGH,5)));
G5:=MIN(G2,MIN(G3,LLV(LOW,5)));
LSCKXG:=G5=REF(G5,1) AND G5=REF(G5,2) AND G5=REF(G5,3) AND G5=REF(G5,4) AND EXIST(G4=G2,5);
DT9:=VOL;
DT10:=VOL;
DT11:=MAX(DT9,MAX(DT10,HHV(VOL,5)));
DT12:=MIN(DT9,MIN(DT10,LLV(VOL,5)));
ZT1:=VOL;
ZT2:=VOL;
ZT3:=MAX(ZT1,MAX(ZT2,HHV(VOL,5)));
ZT4:=MIN(ZT1,MIN(ZT2,LLV(VOL,5)));
HZ1:=(REF(OPEN,5)+REF(CLOSE,5))/2;
HZ2:=(HIGH+LOW+CLOSE+OPEN)/4;
HZ3:=MAX(HZ1,MAX(HZ2,HHV(HIGH,5)));
HZ4:=MIN(HZ1,MIN(HZ2,LLV(LOW,5)));
智选条件:=(HZ2>HZ1 OR LSCKXG) AND ZT3=ZT1 AND COUNT(DT12=DT9,BARSLAST(LSCKXG))>0 AND BARSLAST(LSCKXG)<15 AND TOP30<风险;
智选:FILTER(智选条件,10);
二、指标介绍
通达信【慧眼智选】套装指标 全面评估股票的趋势强度与风险水平 源码
"慧眼智选"指标是一款通过整合股票的涨跌幅、成交量、均价、均线系统以及特定K线形态等多重信息,在精准识别具有潜在上涨动力的个股。该指标的核心在于构建了一套高效的风险控制体系,能够全面评估股票的趋势强度与风险水平。
具体而言,指标通过计算股票的短期涨跌幅,识别其波动特征;利用成交量分析,捕捉股票的活跃程度;同时,结合均线系统,判断谷票的趋势方向。此外,指标还引入了特定K线形态识别功能,如连续低价、倒T字线、正T字线等,这些形态往往预示着股票的短期走势变化。
"慧眼智选"指标在整合以上信息的基础上,运用先进的算法筛选出符合特定选股条件的个股。这些条件包括股票的均价与均线系统的相对位置、涨跌幅与成交量的配合关系、以及特定K线形态的出现等。
1、"慧眼智选"指标整合了多重技术分析手段,能够全面评估股票的走势特征、活跃程度以及风险水平。当谷票的涨跌幅在短期内出现明显变化,并且成交量伴随放大时,这可能意味着股票正处于活跃的交易状态,有资金在积极介入。此时,"慧眼智选"指标会发出信号。
2、另外指标会关注股票的均价与均线系统(如5日均线、10日均线等)的相对位置。当均价突破某一重要均线,并且均线系统呈现出多头排列(即均线依次上穿)时,这通常被视为股票趋势转强的信号,慧眼智选指标且包含这个信号。
3、"慧眼智选"指标还包含对特定K线形态的识别功能。如,当谷票出现连续低价、倒T字线、正T字线等特定形态时,这些形态往往预示着股票的短期走势可能发生变化。指标会根据这些形态的出现情况,综合判断而出的信号。
三、指标图示