通达信Z基础位移指标公式

通达信主控战略K线主图指标公式

通达信Z基础位移指标公式:
ER:=V/FINANCE(7)*100;

A0:=TMA(ER,(1-ER),1);

MAXcyc:=DMA((C+O)/2,ER/TMA(ER,(1-ER),1));

T1:=BArslAst(C>MAXCYC*POW(1.1,0.9));

T2:=BARSLAST(C<MAXCYC*POW(1.1,-0.9));

T3:=crOSS(T1,T2) OR CROSS(T2,T1) OR BARSSINCE(T1+1)=0 OR BARSSINCE(T2+1)=0 OR BARSCOUNT(C)=0;

T4:=REF(MAXCYC,BARSLAST(T3));

BPR:LN(C/T4)/LN(1.1),COLORSTICK,COLORYELLOW;

STICKLINE(BPR>0,BPR,0,3,0),COLORRED;

{www.zhibiaow.com 指标网_通达信股票指标公式}

STICKLINE(BPR<=0,BPR,0,3,0),COLORBLUE;

ssl:IF(BPR>0,BARSLAST(BPR<0 OR BARSCOUNT(C)=0),-1*BARSLAST(BPR>0 OR BARSCOUNT(C)=0)),NODRAW;

2;

1;

-2;

-1;

通达信随心MACD指标公式