源码
M:=14;
量:IF(C>200,VOL/1000000,VOL/100),linethick0;
换手:VOL/CAPITAL*100,linethick0,PRECISion2;
涨跌: (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
振幅:((H-L)/L)*100,linethick0,PRECISion2;
量比:VOL/MA(VOL,10),linethick0,colorffff00,PRECISion2;
主流资金:=WINNER(C)*100 COLORRED LINETHICK2;
STICKLINE(C<1,量,0),8,0),colorEEEE00;
STICKLINE(C>=O,0,IF(换手<1,量,0),8,1),color0033ff;
zjg: 换手>=8 and 主流资金>90;
地量:STICKLINE(C<1,0,量,6,0 ),colorffffff;
STICKLINE(C=1 and 换手<2,0,量,6,0 ),colorccffcc;
STICKLINE(C=2 and 换手<3,0,量,6,0 ),color00ffff;
活跃:STICKLINE(C=3 and 换手<5,0,量,6,0 ),color33AAff;
STICKLINE(C=5 and 换手<8,0,量,6,0 ),colorFF00FF;
STICKLINE(C=8 and 换手<15,0,量,6,0 ),color33FF00;
巨量:STICKLINE(C=15 and 换手<25,0,量,6,0 ),colorFFCC33;
怪异:STICKLINE(C=25,0,量,6,0),colorff6600;
累计率:sum(VOL/CAPITAL,300),Color008EFF,linethick0,PRECISION2;
STICKLINE(C>=O AND 换手>=1 and 换手<2,0,量,8,1 ),colorccffcc;
STICKLINE(C>=O AND 换手>=2 and 换手<3,0,量,8,1 ),color00FFFF;
STICKLINE(C>=O AND 换手>=3 and 换手<5,0,量,8,1 ),color33AAff;
STICKLINE(C>=O AND 换手>=5 and 换手<8,0,量,8,1 ),colorFF00FF;
STICKLINE(C>=O AND 换手>=8 and 换手<15,0,量,8,1 ),color33FF00;
STICKLINE(C>=O AND 换手>=15 and 换手<25,0,量,8,1 ),colorFFCC33;
STICKLINE(C>=O AND 换手>=25,0,量,8,1),COLORRED LINETHICK2;
STICKLINE(C>=O AND 换手>=8 and 主流资金>90,0,量,2,1 ),COLORRED LINETHICK2;
STICKLINE(C>=O AND 主流资金>90,0,量/2,2,1 ),ColorFF0000 LINETHICK2;
放量:if(ref(换手,1)<7 and 换手> 3*ref(换手,1) and 换手>8,量,0),colorRED;
放量2:if(ref(换手,1)<7 and 换手> 5*ref(换手,1) ,量,0),colorRED;
DRAWICON(放量,量,8);
STICKLINE(换手>5,0,量,1,0),colorRED;;
jcyl:o>ref(c,1) and 换手>8;
MA2:MA(量,13),colorff00ff;
MA3:MA(量,55),color00ff00;
TYP := (HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M));
zy:2*ref(换手,1)<换手 and CCI>100;
DRAWICON(zy=1,量,4),colorFFCC33;
评论(0)