ZFA:=(CLOSE/REF(CLOSE,1)-1)*100;
ZFB:=(CLOSE/OPEN-1)*100;
ZF:MAX(ZFA,ZFB),NODRAW;
AA:=IF(DATE<1150501,1,DRAWNULL);
MY:=L2_VOLNUM(0,0)+L2_VOLNUM(1,0);
DSA:=L2_VOLNUM(0,0)-L2_VOLNUM(0,1);
DSB:=L2_VOLNUM(0,0)+L2_VOLNUM(0,1);
ZS:=TRADENUM;
大单数占比:AA*DSB*100/ZS,NODRAW;
净大单数占比:AA*DSA*100/ZS,NODRAW;
ZDDS:=AA*DSA*100/DSB;
ZLDS:=SUM(ZDDS,0);
净大大单数占比:ZDDS,NODRAW;
TDXSTEP192:STICKLINE(ZDDS>0,0,ZDDS,2,0),COLORRED;
TDXSTEP193:STICKLINE(ZDDS<0,0,ZDDS,2,0),COLORCYAN;
DDSA:=AA*EMA(EMA(EMA(ZDDS,IF(BARSSINCE(CLOSE>0)<55,BARSSINCE(CLOSE>0),55)),2),2)*IF(BARSSINCE(CLOSE>0)<55,BARSSINCE(CLOSE>0),55)*1.5;
DDS1:AA*EMA(EMA(DDSA,3),2),COLORYELLOW;
DDSB:=AA*EMA(EMA(EMA(DDS1,5),2),2);
DDS2:AA*EMA(DDSA,13),COLORMAGENTA;
DDS3:AA*EMA(DDSA,21),COLORGREEN;
{-----------------------------------}
上一篇:通达信我5起爆源码附图 下一篇:通达信短线多空源码副图