var3:=(c-ref(c,1))/ref(c,1)*100;
var4:=var3*36;
var5:=var4-var2;
曲股量:=EMA(SUM(var5,5),5);
ma1:=ema(曲股量,5);
ma2:=ema(ma1,5);
VAR6:= 量能 2 AND REF(量能 1 ,1 ) AND 『换手』 4 OR 『换手』
VAR7:=曲股量 0 AND 曲股量
VAR8:=曲股量 0 AND 曲股量
VAR9:=CROSS(MA1,曲股量 );
VARA:=曲股量 0 AND MA2
VARB:=曲股量 0 AND MA2
VARC:=量能
VARD:=量能
VARE:=量能
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=IF(CLOSE OPEN,AA*(HIGH-LOW),IF(CLOSE OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主动卖盘:=IF(CLOSE OPEN,AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,AA*(HIGH-LOW),VOL/2));
『买盘比重』:主动买盘/(主动卖盘+主动买盘),linethick0,color3399FF;
『五日均额』:MA(『财富』,5),color3333ff;
『十日均额』:MA(『财富』,10),coloryellow;
STICKLINE(『买盘比重』 =0.5,0,-hhv(『财富』,0)*0.02,5 ,0),COLOR00ffff;
STICKLINE(c,0,『财富』,5 ,1),COLORblack,linethick2;{背景};
『强势:STICKLINE(VAR7 ,0 ,『财富』,5 ,0),color0000DD;
出货:STICKLINE(VAR8 or vara ,0 ,『财富』,5 ,0 ),COLORFF9900;
减仓:STICKLINE(VAR9 ,0 ,『财富』,5 ,0 ),COLORWHITE;
持币』:STICKLINE(VARB ,0 ,『财富』,5 ,0 ),COLOR00CC00;
STICKLINE(VAR7,『财富』* 『买盘比重』 ,0,5,0),color000055;
STICKLINE(VAR7,『财富』*『买盘比重』,0,3,0),color000077;
STICKLINE(VAR7,『财富』*『买盘比重』,0,0,0),color000099;
STICKLINE(VAR8 or vara,『财富』*『买盘比重』,0,5,0),COLOR440000;
STICKLINE(VAR8 or vara,『财富』*『买盘比重』,0,3,0),COLOR660000;
STICKLINE(VAR8 or vara,『财富』*『买盘比重』,0,0,0),COLORF90000;
STICKLINE(VARB,『财富』*『买盘比重』,0,5,0),COLOR001100;
STICKLINE(VARB,『财富』*『买盘比重』,0,3,0),COLOR003300;
STICKLINE(VARB,『财富』*『买盘比重』,0,0,0),COLOR006600;
{盖印}
DRAWRECTABS(0,0,30,35,rgb(250,60,80)),color000099;
DRAWRECTABS(0,30,30,45,rgb(250,250,80)),color009999;
DRAWTEXTABS(2,5,'笑看'),colorFFFFFF,LINETHICK1;
DRAWTEXTABS(2,18,'人生 '),colorFFFFFF,LINETHICK1;
DRAWTEXTABS(2,30,'原创'),color0000FF,LINETHICK1;