%>
『财富』:AMOUNT/100000000,linethick0,colorred;
量能:=『财富』/ma(『财富』,5);
『换手』:VOL/CAPITAL*100,colorgreen,linethick0;
//DRAWGBKLAST(c>0, STRIP(RGB(150,200,200),RGB(0,120,120),0));
var2:=if(c>=ref(c,1),『财富』,REVERSE(『财富』));
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 『换手』>5 ;
VAR7:=曲股量>0 AND 曲股量>ma1;
VAR8:=曲股量>0 AND 曲股量<ma1;
VAR9:=CROSS(MA1,曲股量 );
VARA:=曲股量<0 AND MA2>0;
VARB:=曲股量<0 AND MA2<0;
VARC:=量能>1;
VARD:=量能>2;
VARE:=量能>3;
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;
{股票教程网-股票公式网站 www.gwgz.net}
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;
{股票教程网-http://gwgz.net/承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}