以下是通达信彩色换手柱副图指标源码(无源码的请下载附件导入)
换手:VOL/CAPITAL*100,NODRAW;
低换手:换手<2,COLORFFFF00,NODRAW;
STICKLINE(换手<2,0,换手,2.3,0),COLORFF4400;
STICKLINE(换手<2,0,换手,1.8,0),COLORFF6600;
STICKLINE(换手<2,0,换手,1.3,0),COLORFF9900;
STICKLINE(换手<2,0,换手,0.6,0),COLORFFCC00;
STICKLINE(换手<2,0,换手,0.3,0),COLORGREEN;
温和换手:换手>2 AND 换手<5,COLORMAGENTA,NODRAW;
STICKLINE(换手>2 AND 换手<5,0,换手,2.3,0)COLORFF0033;
STICKLINE(换手>2 AND 换手<5,0,换手,1.8,0)COLORFF0066;
STICKLINE(换手>2 AND 换手<5,0,换手,1.2,0)COLORFF0099;
STICKLINE(换手>2 AND 换手<5,0,换手,0.6,0)COLORFF00CC;
STICKLINE(换手>2 AND 换手<5,0,换手,0.3,0)COLORFF00FF;
热换手:换手>5 AND 换手<11,COLORYELLOW,NODRAW;
STICKLINE(换手>5 AND 换手<11,0,换手,2.3,0)COLOR0035FF;
STICKLINE(换手>5 AND 换手<11,0,换手,1.8,0)COLOR0064FF;
STICKLINE(换手>5 AND 换手<11,0,换手,1.3,0)COLOR0093FF;
STICKLINE(换手>5 AND 换手<11,0,换手,0.8,0)COLOR00C2FF;
STICKLINE(换手>5 AND 换手<11,0,换手,0.3,0)COLOR00FFFF;
烫手换手:换手>11 AND 换手<17,COLORRED,NODRAW;
STICKLINE(换手>11 AND 换手<17,0,换手,2.3,0),COLOR000055;
STICKLINE(换手>11 AND 换手<17,0,换手,2,0),COLOR000077;
STICKLINE(换手>11 AND 换手<17,0,换手,1.8,0),COLOR000099;
STICKLINE(换手>11 AND 换手<17,0,换手,1.5,0),COLOR0000BB;
STICKLINE(换手>11 AND 换手<17,0,换手,0.9,0),COLOR0000DD;
STICKLINE(换手>11 AND 换手<17,0,换手,0.3,0),COLOR0000FF;
高潮换手:换手>17,COLORGREEN,NODRAW;
STICKLINE(换手>17,0,换手,2.3,0),COLOR006000;
STICKLINE(换手>17,0,换手,2.1,0),COLOR007500;
STICKLINE(换手>17,0,换手,1.8,0),COLOR009100;
STICKLINE(换手>17,0,换手,1.3,0),COLOR00A600;
STICKLINE(换手>17,0,换手,0.8,0),COLOR00BB00;
STICKLINE(换手>17,0,换手,0.3,0),COLOR00CC00;
DRAWICON(换手>25,换手,15);
五日换手:MA(换手,5);
十日换手:MA(换手,60);
DRAWTEXT_FIX(ISLASTBAR,0,0 ,0,'说明:低换小于2%,浅绿;温和大于2%小于5%时,用粉色;热换大于5%小于11%时,黄色;烫换大于11%小于17%时,红色;高潮大于17% ;绿色。');
1946411689.png
|