通达信主动成交副图源码
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),colorblue,pointdot;
主卖:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),color00FF00,pointdot;
动力:主买+主卖,LINETHICK1,color666666;
动力指数:动力/FINANCE2(37),color00FFFF;
VOL,VOLSTICK;
动力放大:主买*3+主卖*3,LINETHICK1,colorFF0000;
stickline(主买>0,0,主买,6,0),colorBBBBBB;
stickline(主卖<0,0,主卖,6,0),color888888;
STICKLINE(动力>0,0,动力,4,0 ),COLORFF00FF;
STICKLINE(动力<0,0,动力,4,0),COLORBLUE;