【通達信】雙針探底主圖及選股指標(biāo)公式
攻城獅 2015.11.08 23:08
TJ:=MIN(O,C)/L>1.04;
T1:=BARSLAST(TJ);
T2:=REF(T1,T1+1)+T1+1;
T3:=CONST(T2-T1<=30 AND BETWEEN(REF(L,T1)-REF(L,T2),0.01,-0.01));
A:=T3 AND CURRBARSCOUNT=CONST(T2)+1;
B:=T3 AND CURRBARSCOUNT=CONST(T1)+1;
E:DRAWLINE(A,L,B,L,1),DOTLINE,COLORYELLOW;
D:=BARSLAST(B);
DRAWICON(COUNT(C>REF(H,D),D+1)=1 AND C>REF(H,D),C,9);
DRAWTEXT(ISLASTBAR,E,’雙針探底’),COLORCYAN;
IF(B,L,DRAWNULL),CIRCLEDOT,COLORRED,LINETHICK3;
IF(A,L,DRAWNULL),CIRCLEDOT,COLORRED,LINETHICK3;{
選股公式:TJ:=MIN(O,C)/L>1.04;
T1:=BARSLAST(TJ);
T2:=REF(T1,T1+1)+T1+1;
T3:=CONST(T2-T1<=30 AND BETWEEN(REF(L,T1)-REF(L,T2),0.01,-0.01));
B:=T3 AND CURRBARSCOUNT=CONST(T1)+1;
D:=BARSLAST(B);
COUNT(C>REF(H,D),D+1)=1 AND C>REF(H,D);
}
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.guangshenggb.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負(fù)責(zé),投資決策請建立在獨立思考之上。