【通達信】綜合選股指標公式
攻城獅 2016.02.05 06:47
A1:=ABS(L-LLV(L,100))/L<0.1;
A2:=V>=1.9*REF(V,1);
A3:=(C-REF(C,1))/REF(C,1);
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
DOWN:=OPEN>CLOSE;
GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
GJTJ5:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ6:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ7:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ8:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A:=BARSLAST(CROSS(30,GJTJ1))<2 AND BARSLAST(CROSS(GJTJ1,50))<2;
B1:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4;
A5:=BARSLAST(CROSS(50,GJTJ5))<3 AND BARSLAST(CROSS(GJTJ5,50))<3;
B2:=BARSLAST(CROSS(GJTJ8,GJTJ5))<2 AND GJTJ5>GJTJ8;
N:=15;
ZT:=C/REF(C,1)>=1.091 AND C=H;
X1:=COUNT(DOWN,5)=4;
X2:=(HHV(C,20)-LLV(C,1))/ LLV(C,1)/50*100;
XG : C>O AND A1 AND A2 AND A3>0.05;
{www.chiang1015.com 概念股網(wǎng)_通達信股票指標公式}
翻紅:RANGE(REF(MACD,2),REF(MACD,1),REF(MACD,3))
AND REF(MACD,1)AND RANGE(REF(MACD,1),0,0.15) AND MACD>0.05;
X3:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667 AND (HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)<0.333 AND (C-O)<0.1;
X4:=VA6:=BARSLAST(CROSS(30,GJTJ1))<2 AND BARSLAST(CROSS(GJTJ1,50))<2;
B:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4;
E:=GJTJ1>60 AND GJTJ4>70;
ENTERLONG:A6 AND B AND E;
A4:=BARSLAST(CROSS(50,GJTJ5))<3 AND BARSLAST(CROSS(GJTJ5,50))<3;
B4:=BARSLAST(CROSS(GJTJ8,GJTJ5))<2 AND GJTJ5>GJTJ8;
ENTERLONG1:A4 AND B1;
COUNT(ZT,N)>=1;
選:X1 AND X2 AND X3 AND X4;
申明:本文為作者投稿或轉載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負責,投資決策請建立在獨立思考之上。