您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:金印K线组合 主图幅图 选股

金印K线组合 主图幅图 选股


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2015-06-19 20:24:00
公式简介:

标准K线形态:震荡幅度小于5%的十字星(K1)+2%以上的大阴线(K2)+震荡幅度小于5%的十字星(K3)。
注:类似形态亦可。
均线系统:采用5.10.30作为参数。
注:可运用于各种周期(小时、分钟、周等),根据均线方向性,采用格兰威原则进行交易。
在经过我的理解优化 五月份出票80张。

{主图}
M5:MA(C,5);
M10:MA(C,10);
M30:MA(C,30);
HH:=MAX(MAX(M5,M10),M30);
LL:=MIN(MIN(M5,M10),M30);
NH:=(HH/LL-1)*100;
ZF:=(H-L)/REF(C,1)*100;
A:=((H-MAX(C,O))>(MAX(C,O)-MIN(C,O))*2 AND L<MIN(C,O)) OR ((MIN(C,O)-L)>(MAX(C,O)-MIN(C,O))*2 AND H>MAX(C,O));
B:=(REF(C,1)-C)/C*100;
D:=O>LL;
E:=REF(MIN(C,O),1)/O;
K1:=ZF<5 AND A;
K2:=C<O AND B>2 AND REF(MIN(C,O),1)>(O-C)/2+C AND D AND E<1.02;
K3:=ZF<5 AND A AND MAX(C,O)<REF((O-C)/2+C,1) ;
XG:=REF(K1,2) AND REF(K2,1) AND K3 AND NH<9.8 ;
T:=BARSLAST(XG);
TJ:=TOTALBARSCOUNT>200 AND FINANCE(7)/100000000<40;
XG1:COUNT(M5>REF(M5,1)*1.002,T+1)=1 AND M5>REF(M5,1)*1.002 AND TJ;
STICKLINE(XG1,L,H,0,0),COLOR0088EE;
STICKLINE(XG1,CLOSE,OPEN,3,0),COLOR0055AA;
STICKLINE(XG1,CLOSE,OPEN,2.8,0),COLOR0066BB;
STICKLINE(XG1,CLOSE,OPEN,2.5,0),COLOR0077CC;
STICKLINE(XG1,CLOSE,OPEN,2.2,0),COLOR0088DD;
STICKLINE(XG1,CLOSE,OPEN,1.7,0),COLOR0099EE;
STICKLINE(XG1,CLOSE,OPEN,1.2,0),COLOR00AAFF;
STICKLINE(XG1,CLOSE,OPEN,0.7,0),COLOR00CCFF;
STICKLINE(XG1,CLOSE,OPEN,0.2,0),COLOR00FFFF;
DRAWICON(XG1,L*0.95,1);


{幅图}

M5:=MA(C,5);
M10:=MA(C,10);
M30:=MA(C,30);
HH:=MAX(MAX(M5,M10),M30);
LL:=MIN(MIN(M5,M10),M30);
NH:=(HH/LL-1)*100;
ZF:=(H-L)/REF(C,1)*100;
A:=((H-MAX(C,O))>(MAX(C,O)-MIN(C,O))*2 AND L<MIN(C,O)) OR ((MIN(C,O)-L)>(MAX(C,O)-MIN(C,O))*2 AND H>MAX(C,O));
B:=(REF(C,1)-C)/C*100;
D:=O>LL;
E:=REF(MIN(C,O),1)/O;
K1:=ZF<5 AND A;
K2:=C<O AND B>2 AND REF(MIN(C,O),1)>(O-C)/2+C AND D AND E<1.02;
K3:=ZF<5 AND A AND MAX(C,O)<REF((O-C)/2+C,1) ;
XG1:=REF(K1,2) AND REF(K2,1) AND K3 AND NH<9.8 ;
T:=BARSLAST(XG1);
TJ:=TOTALBARSCOUNT>200 AND FINANCE(7)/100000000<40;
XG:=COUNT(M5>REF(M5,1)*1.002,T+1)=1 AND M5>REF(M5,1)*1.002 AND TJ;
STICKLINE(XG,0,7.7,1.5,0),COLORYELLOW;


{选股}

M5:=MA(C,5);
M10:=MA(C,10);
M30:=MA(C,30);
HH:=MAX(MAX(M5,M10),M30);
LL:=MIN(MIN(M5,M10),M30);
NH:=(HH/LL-1)*100;
ZF:=(H-L)/REF(C,1)*100;
A:=((H-MAX(C,O))>(MAX(C,O)-MIN(C,O))*2 AND L<MIN(C,O)) OR ((MIN(C,O)-L)>(MAX(C,O)-MIN(C,O))*2 AND H>MAX(C,O));
B:=(REF(C,1)-C)/C*100;
D:=O>LL;
E:=REF(MIN(C,O),1)/O;
K1:=ZF<5 AND A;
K2:=C<O AND B>2 AND REF(MIN(C,O),1)>(O-C)/2+C AND D AND E<1.02;
K3:=ZF<5 AND A AND MAX(C,O)<REF((O-C)/2+C,1) ;
XG1:=REF(K1,2) AND REF(K2,1) AND K3 AND NH<9.8 ;
T:=BARSLAST(XG1);
TJ:=TOTALBARSCOUNT>200 AND FINANCE(7)/100000000<40;
XG:COUNT(M5>REF(M5,1)*1.002,T+1)=1 AND M5>REF(M5,1)*1.002 AND TJ;
 


 




 


[url=http://www.goodgupiao.com/gupiaogongshi/37520.html][B]金印K线组合 主图幅图 选股[/B][/url]