专看买卖差的成交量公式(通达信)
看周线,做短线(通达信)
源码:实用V
AA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,vol*240/FROMOPEN,DRAWNULL);
预测:AA/10000,NODRAW,COLORYELLOW;
量:VOL/10000,NODRAW,VOLstICK,COLORWHITE;
BB:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
主动买:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE<OPEN,BB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主买:=主动买/10000;
主动卖:=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-BB*(HIGH-LOW),0-VOL/2));
主卖:=-主动卖/10000;
买卖差:=ABS(主动买+主动卖)/10000,NODRAW,COLORLIMAGENTA;
买差:IF(主买>主卖,买卖差,DRAWNULL),COLORLIRED,NODRAW;
卖差:IF(主买<主卖,买卖差,DRAWNULL),COLORLICYAN,NODRAW;
换手:VOL/CAPITAL*100,NODRAW,COLORLIMAGENTA;
周换:SUM(V/CAPITAL*100,5),NODRAW,COLORMAGENTA;
额:AMOUNT/100000000,NODRAW,COLORYELLOW;
STICKLINE(C>O,0,量,1,1),COLOR0000AA;
STICKLINE(C<O,0,量,1,0),COLORCYAN;
STICKLINE(主买>主卖,0,买卖差,1,0),COLORLIRED;
STICKLINE(主买<主卖,0,买卖差,1,0),COLORLICYAN;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,预测,1.5,2,1),COLORFFFFFF ;
M5:MA(V,5)/10000,COLORWHITE;
M13:MA(V,13)/10000,COLORYELLOW;
M21:MA(V,21)/10000,COLORGREEN;
一个非常好的指标公式“与庄舞”,向原作者致敬!(通达信)