以下是通达信双底公式源码和使用说明
通达信双底选股公式源码:
T:=LLVBARS(L,15);
TT:=BARSLAST(T=0);
XG:T=0ANDREF(TT,1) 20ANDL REF(L,REF(TT,1));
TJ:=MIN(O,C)/L 1.04;
T1:=BARSLAST(TJ);
T2:=REF(T1,T1+1)+T1+1;
T3:=CONST(T2-T1 =30ANDBETWEEN(REF(L,T1)-REF(L,T2),0.01,-0.01));
A:=T3ANDCURRBARSCOUNT=CONST(T2)+1;
B:=T3ANDCURRBARSCOUNT=CONST(T1)+1;
E:DRAWLINE(A,L,B,L,1),DOTLINE,COLORYELLOW;
D:=BARSLAST(B);
DRAWICON(COUNT(C REF(H,D),D+1)=1ANDC REF(H,D),C,9);
DRAWTEXT(ISLASTBAR,E,'双针探底'),COLORCYAN;
IF(B,L,DRAWNULL),CIRCLEDOT,COLORRED,LINETHICK3;
IF(A,L,DRAWNULL),CIRCLEDOT,COLORRED,LINETHICK3;
X_1:=CLOSE =1.097*REF(CLOSE,1)ANDCLOSE OPEN;
XG:COUNT(X_1,5) =3ANDCLOSE REF(LOW,2)ANDCLOSE OPEN;
通达信双底选股公式截图