{猎庄三号副图源码如下}
涨停:=REF(C,1)/REF(C,2)>1.095 AND REF(C,2)/REF(C,3)>1.095 AND REF(C,3)/REF(C,4)>1.095;
涨停天数:=BARSLAST(涨停)<6;
VAR26:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR27:=EMA(VAR26,100);
VAR28:=2*(VAR26-VAR27);
VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1);
AA:=IF( VAR28>0.1,VAR29,0)*5;
MA35:=MA(AA,35);
猎庄三号: 涨停天数 AND MA35>REF(MA35,1) AND AA>MA35
AND REF(C,3)>REF(O,3) AND C>O
AND REF(C,2)<REF(O,2) AND REF(C,1)<REF(O,1),COLORBLACK;
STICKLINE(猎庄三号,0.8,1,5,0),COLORYELLOW;
STICKLINE(猎庄三号,0.8,1,3,0),COLORRED;
STICKLINE(猎庄三号,0.8,0.5,1,0),COLORGREEN;
DRAWTEXT(猎庄三号,0.1,'猎庄三号'),COLORMAGENTA;
{猎庄量能副图源码如下}
VAR26:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR27:=EMA(VAR26,100);
VAR28:=2*(VAR26-VAR27);
VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1);
AA:=IF( VAR28>0.1,VAR29,0)*5;
量能:AA,VOLSTICK;
MA35:MA(量能,35),COLORYELLOW;
{猎庄分时副图源码如下}
资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK;
资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN),STICK;
资金流量:资金流入+资金流出;
DRAWBAND(资金流量,RGB(150,0,150),0,RGB(0,100,0));
成交额:=V*C/100;
A1:=SUM((IF(((成交额/8>20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);
A2:=SUM((IF(((成交额/8>20) AND (CLOSE<(REF(CLOSE,1)))),成交额,0)),0);
买盘:(A1),LINETHICK2,COLORRED;
卖盘:(A2),LINETHICK2,COLORGREEN;
进出:买盘-卖盘,COLORYELLOW,NODRAW;
{猎庄二号副图源码如下}
VAR1:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR2:=EMA(VAR1,100);
VAR3:=2*(VAR1-VAR2);
VAR4:=POW(VAR3,3)*0.1+POW(VAR3,1);
AA:=IF( VAR3>0.1,VAR4,0)*5, COLORRED;
MA35:=MA(AA,35);
一字涨停:=C/REF(C,1)>1.0975 AND H=O;
AA2:=AA>REF(AA,1) AND REF(AA,1)<REF(AA,2) AND
REF(C<O,1) AND O/REF(O,1)>=0.993 AND REF(C,1)/REF(C,2)<=0.97;
猎庄二号:AA>MA35 AND AA2 AND (DYNAINFO(4)<=500) AND NOT(一字涨停),COLORBLACK;
STICKLINE(猎庄二号,0.8,1,5,0),COLORYELLOW;
STICKLINE(猎庄二号,0.8,1,3,0),COLORRED;
STICKLINE(猎庄二号,0.4,0.8,1.5,0),COLORMAGENTA;
STICKLINE(猎庄二号,0.4,0.8,1,0),COLORLIRED;
DRAWTEXT(猎庄二号,0.1,'猎庄二号'),COLORYELLOW;
{猎庄量能副图源码如下}