通达信突破大阴棒主图、副图和选股指标公式

{主图}

ZT:=C>REF(C,1)*1.095 AND C=H;

A:=BARSLASTCOUNT(ZT);

TJ:=O>REF(H,1) AND C<O AND O/C<C/L AND V>REF(V,1);

TT:=BARSLAST(REF(A>1,1) AND TJ);

XG:=COUNT(CROSS(C,REF(H,TT)),TT+1)=1 AND CROSS(C,REF(H,TT));

STICKLINE(TT>=0,REF(H,TT),REF(H,TT),6,0),COLORYELLOW;

STICKLINE(XG,C,O,1.8,0),COLORWHITE;

STICKLINE(XG,H,L,0,0),COLORWHITE;

DRAWICON(XG,L*0.95,7);

{幅图}

ZT:=C>REF(C,1)*1.095 AND C=H;

A:=BARSLASTCOUNT(ZT);

TJ:=O>REF(H,1) AND C<O AND O/C<C/L AND V>REF(V,1);

TT:=BARSLAST(REF(A>1,1) AND TJ);

XG:=COUNT(CROSS(C,REF(H,TT)),TT+1)=1 AND CROSS(C,REF(H,TT));

STICKLINE(XG,0,8,1.8,0),COLORWHITE;

{选股}

ZT:=C>REF(C,1)*1.095 AND C=H;

A:=BARSLASTCOUNT(ZT);

TJ:=O>REF(H,1) AND C<O AND O/C<C/L AND V>REF(V,1);

TT:=BARSLAST(REF(A>1,1) AND TJ);

XG:COUNT(CROSS(C,REF(H,TT)),TT+1)=1 AND CROSS(C,REF(H,TT));

(0)

相关推荐