万手:VOL/10000,COLORLIBLUE,NODRAW;
换手率:HSL,NODRAW;
卅日地量:IF(LLV(万手,N)=万手,万手,DRAWNULL)COLORGREEN,NODRAW;
地量60日:IF(LLV(万手,60)=万手,万手,DRAWNULL)COLORFF6600,NODRAW;
百日地量:IF(LLV(万手,100)=万手,万手,DRAWNULL)COLORMAGENTA,NODRAW;
一年地量:IF(LLV(万手,240)=万手,万手,DRAWNULL)COLOR990077,NODRAW;
卅日天量:IF(HHV(万手,30)=万手,万手,DRAWNULL)COLORYELLOW,NODRAW;
天量60日:IF(HHV(万手,60)=万手,万手,DRAWNULL)COLOR0077FF,NODRAW;
百日天量:IF(HHV(万手,100)=万手,万手,DRAWNULL)COLORRED,NODRAW;
一年天量:IF(HHV(万手,240)=万手,万手,DRAWNULL)COLOR000077,NODRAW;
NL:=IF(万手/MA(万手,34)*100>100,万手*1.5,DRAWNULL)COLORYELLOW,NODRAW;
STICKLINE(NL,0,万手*1.5,0,0),COLORYELLOW;
STICKLINE(万手,万手,0,2.2,0),COLOR666666; {灰色}
STICKLINE(万手,万手,0,1.6,0),COLOR999999;
STICKLINE(万手,万手,0,0.9,0),COLORBCCCCC;
STICKLINE(万手,万手,0,0.27,0),COLORFFFFFF;
STICKLINE(卅日地量,万手,0,2.2,0),COLOR006600; {绿色}
STICKLINE(卅日地量,万手,0,1.6,0),COLOR008800;
STICKLINE(卅日地量,万手,0,0.9,0),COLOR00AA00;
STICKLINE(卅日地量,万手,0,0.27,0),COLOR00EE00;
STICKLINE(地量60日,万手,0,2.2,0),COLOR990000; {蓝色}
STICKLINE(地量60日,万手,0,1.6,0),COLORBB2200;
STICKLINE(地量60日,万手,0,0.9,0),COLOREE3300;
STICKLINE(地量60日,万手,0,0.27,0),COLORFF5500;
STICKLINE(百日地量,万手,0,2.2,0),COLOR880088; {粉色}
STICKLINE(百日地量,万手,0,1.6,0),COLORBB00BB;
STICKLINE(百日地量,万手,0,0.9,0),COLOREE00EE;
STICKLINE(百日地量,万手,0,0.27,0),COLORFF55FF;
STICKLINE(一年地量,万手,0,2.2,0),COLOR440033; {紫色}
STICKLINE(一年地量,万手,0,1.6,0),COLOR660044;
STICKLINE(一年地量,万手,0,0.9,0),COLOR770055;
STICKLINE(一年地量,万手,0,0.27,0),COLOR990077;
STICKLINE(卅日天量,万手,0,2.2,0),COLOR007777; {黄s}
STICKLINE(卅日天量,万手,0,1.6,0),COLOR00AAAA;
STICKLINE(卅日天量,万手,0,0.9,0),COLOR00DDDD;
STICKLINE(卅日天量,万手,0,0.27,0),COLOR44FFFF;
STICKLINE(天量60日,万手,0,2.2,0),COLOR0011AA; {橘黄}
STICKLINE(天量60日,万手,0,1.6,0),COLOR0033CC;
STICKLINE(天量60日,万手,0,0.9,0),COLOR0055EE;
STICKLINE(天量60日,万手,0,0.27,0),COLOR0099FF;
STICKLINE(百日天量,万手,0,2.2,0),COLOR000066; {红色}
STICKLINE(百日天量,万手,0,1.6,0),COLOR000088;
STICKLINE(百日天量,万手,0,0.9,0),COLOR0000AA;
STICKLINE(百日天量,万手,0,0.27,0),COLOR1111EE;
STICKLINE(一年天量,万手,0,2.2,0),COLOR000033; {酱红}
STICKLINE(一年天量,万手,0,1.6,0),COLOR000055;
STICKLINE(一年天量,万手,0,0.9,0),COLOR000077;
STICKLINE(一年天量,万手,0,0.27,0),COLOR002299;
A:=万手/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(C>O,A*(H-L),IF(C<O,A*((H-O)+(C-L)),V/2)),COLORYELLOW,NODRAW;
主卖:=-IF(C>O,0-A*((H-C)+(O-L)),IF(C<O,0-A*(H-L),0-V/2)),COLORLIBLUE,NODRAW;
总量:=(主买+主卖);
净量:=主买-主卖;
短量:=A-总量>0;
STICKLINE(主买,0,-2,0,0),COLORRED;
STICKLINE(净量,0,-2,0,0),COLORYELLOW;
STICKLINE(短量,0,-2,0,0),COLORMAGENTA; |