通达信量柱换手率指标公式

通达信终极优化买卖主图指标公式

通达信量柱换手率指标公式:

Vvol:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;

stICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;

成交量:VOL,VOLSTICK;

换手:VOL/CAPITAL*100,COLORYELLOW,NODRAW;

低换手小于2:换手<2,COLORFFFF00,NODRAW;

温和换手2到5:换手>2 AND 换手<5,COLORMAGENTA,NODRAW;

热换手5到11:换手>5 AND 换手<11,COLORYELLOW,NODRAW;

烫手换手11到17:换手>11 AND 换手<17,COLORRED,NODRAW;

高潮换手大于17:换手>17,COLORGREEN,NODRAW;

{五日均换手:MA(换手,5);

十日均换手:MA(换手,10);}

VAR0:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));

主买:=IF(CLOSE>OPEN,VAR0*(HIGH-LOW),IF(CLOSE<OPEN,VAR0*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;

VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));

买盘:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));

主买占%:买盘/VOL*100,COLORMAGENTA,NODRAW;

主卖:=IF(CLOSE>OPEN,0-VAR0*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR0*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;

卖盘:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));

主卖占%:-卖盘/VOL*100,COLORGREEN,POINTDOT,NODRAW;

震动调整:=(买盘 + 卖盘);

倍率:买盘/ABS(卖盘),COLORCYAN;

{画柱线}

STICKLINE(换手<2,0,VOL,3,0),COLORFF4400;

STICKLINE(换手<2,0,VOL,1.8,0),COLORFF6600;

STICKLINE(换手<2,0,VOL,1.2,0),COLORFF9900;

STICKLINE(换手<2,0,VOL,0.6,0),COLORFFCC00;

STICKLINE(换手<2,0,VOL,0.3,0),COLORGREEN;

STICKLINE(换手>2 AND 换手<5,0,VOL,3,0)COLORFF0033;

STICKLINE(换手>2 AND 换手<5,0,VOL,1.8,0)COLORFF0066;

STICKLINE(换手>2 AND 换手<5,0,VOL,1.2,0)COLORFF0099;

STICKLINE(换手>2 AND 换手<5,0,VOL,0.6,0)COLORFF00CC;

STICKLINE(换手>2 AND 换手<5,0,VOL,0.3,0)COLORFF00FF;

STICKLINE(换手>5 AND 换手<11,0,VOL,3,0)COLOR0035FF;

STICKLINE(换手>5 AND 换手<11,0,VOL,1.8,0)COLOR0064FF;

STICKLINE(换手>5 AND 换手<11,0,VOL,1.3,0)COLOR0093FF;

STICKLINE(换手>5 AND 换手<11,0,VOL,0.8,0)COLOR00C2FF;

STICKLINE(换手>5 AND 换手<11,0,VOL,0.3,0)COLOR00FFFF;

STICKLINE(换手>11 AND 换手<17,0,VOL,3,0),COLOR000055;

STICKLINE(换手>11 AND 换手<17,0,VOL,2,0),COLOR000077;

STICKLINE(换手>11 AND 换手<17,0,VOL,1.8,0),COLOR000099;

STICKLINE(换手>11 AND 换手<17,0,VOL,1.5,0),COLOR0000BB;

STICKLINE(换手>11 AND 换手<17,0,VOL,0.9,0),COLOR0000DD;

STICKLINE(换手>11 AND 换手<17,0,VOL,0.3,0),COLOR0000FF;

STICKLINE(换手>17,0,VOL,3,0),COLOR006000;

STICKLINE(换手>17,0,VOL,2.1,0),COLOR007500;

STICKLINE(换手>17,0,VOL,1.8,0),COLOR009100;

STICKLINE(换手>17,0,VOL,1.3,0),COLOR00A600;

STICKLINE(换手>17,0,VOL,0.8,0),COLOR00BB00;

STICKLINE(换手>17,0,VOL,0.3,0),COLOR00CC00;

DRAWICON(换手>25,VOL,15);

{成交量均线}

MAVOL100:MA(VOL,100),COLORWHITE;

{MAVOL10:MA(VOL,10),COLORYELLOW;};

通达信波段标高主图指标公式