通达信DDY副图指标
AA:=IF(BETWEEN(C,REF(C,1),H),VOL,0);
BB:=IF(BETWEEN(C,REF(C,1),L),VOL,0);
CC:=IF(AA AND BB,0,VOL/3);
涨跌动因:3*(AA-(BB+CC))/IF(CAPITAL<1,SUM(INDEXV,71),CAPITAL),LINETHICK0;
STICKLINE(涨跌动因>0,0,涨跌动因,2,0 ),COLORRED;
STICKLINE(涨跌动因<0,0,涨跌动因,2,0 ),COLORCYAN;
MA1:MA(涨跌动因,N);