通达信主动买卖盘源码副图
2017-09-09网络 编 辑:翔博软件
说明;网络上的,你需要就下载。~~~不希望听你的废话。
1、红色为主动买盘
2、绿色为主动卖盘
3、由于是源码不做任何解释
祝股友周末快乐!
成交量:VOL/100,,NODRAW;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2))/10000,COLORRED;
主卖:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2))/10000,COLORGREEN;
主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主动卖盘:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2));
STICKLINE(C>O,0,VOL,3,1),COLORRED;
STICKLINE(C<O ,0,VOL,3,1),COLORFFFF00;
STICKLINE(C,0,主动买盘,2.2,0),COLOR0000FF;
STICKLINE(C,0,-1*主动卖盘,2.2,0),COLOR00FF00;