{资金流入副图源码如下}
ABC0:=(2*O+H+L+3*C)/7;
ABC1:=CAPITAL*ABC0;
ABC2:=SMA(AMOUNT,10,1)/1000;
ABC3:=MA(C*3,5);
ABC4:=ABC2*C*3/ABC3*1/10;
ABC5:=ABC2*O*3/ABC3*1/10;
ABC6:=ABC2*H*3/ABC3*1/10;
ABC7:=ABC2*L*3/ABC3*1/10;
ABC8:=(2*ABC5+ABC6+ABC7+3*ABC4)/7;
ABC9:=DMA(EMA(ABC4,2),SUM(V,1)*ABC8);
ABC10:=EMA(ABC9,2);
ABCA:=ABC9>ABC10;
ABCB:=EMA(ABC1-ABC9,1);
ABCC:=REF(ABCB,1);
ABCD:=ABCB>ABCC;
ABCS:=ABCD AND C>O;
ABCE:=(ABCB-ABCC)*15;
ABCF:=(ABC9-ABC10)*15000;
ABCG:=(ABCC-ABCB)*(-1);
ABCH:=IF(ABCB>ABCC,ABCE/1000,0);
ABCN:=IF(ABCB<ABCC,ABCE/1000,0);
ABCT:=IF(ABCA AND ABCS,ABCF/10000,0);
ABCL:=IF(ABCA AND ABCB<ABCC,ABCE/1000,0);
资金流入:ABCH,POINTDOT,COLORRED;
流入强烈:ABCT,POINTDOT,COLORYELLOW;
STICKLINE(ABCB>ABCC,0,ABCE,3,1),COLORRED;
STICKLINE(ABCA AND ABCS,0,ABCF,3,0),COLORYELLOW;
{双黄擒牛追踪主图源码如下}
操作线:MA(CLOSE,5)DOTLINE;
生命线:MA(CLOSE,60)COLORMAGENTA;
A:=IF((CLOSE > 126.32),(AMOUNT / 100000),VOL);
主力:=MA(A,4),LINETHICK0,COLORYELLOW;
警戒线:=MA(A,180),COLORMAGENTA;
ABC0:=(2*O+H+L+3*C)/7;
ABC1:=CAPITAL*ABC0;
ABC2:=SMA(AMOUNT,10,1)/1000;
ABC3:=MA(C*3,5);
ABC4:=ABC2*C*3/ABC3*1/10;
ABC5:=ABC2*O*3/ABC3*1/10;
ABC6:=ABC2*H*3/ABC3*1/10;
ABC7:=ABC2*L*3/ABC3*1/10;
ABC8:=(2*ABC5+ABC6+ABC7+3*ABC4)/7;
ABC9:=DMA(EMA(ABC4,2),SUM(V,1)*ABC8);
ABC10:=EMA(ABC9,2);
ABCA:=ABC9>ABC10;
ABCB:=EMA(ABC1-ABC9,1);
ABCC:=REF(ABCB,1);
ABCD:=ABCB>ABCC;
ABCS:=ABCD AND C>O;
ABCE:=(ABCB-ABCC)*15;
ABCF:=(ABC9-ABC10)*15000;
ABCG:=(ABCC-ABCB)*(-1);
ABCH:=IF(ABCB>ABCC,ABCE/1000,0);
ABCN:=IF(ABCB<ABCC,ABCE/1000,0);
ABCT:=IF(ABCA AND ABCS,ABCF/10000,0);
ABCL:=IF(ABCA AND ABCB<ABCC,ABCE/1000,0);
STICKLINE(CROSS(主力,警戒线)AND ABCB>ABCC AND (ABCA AND ABCS),O,C,0.1,1),COLORRED;
STICKLINE(CROSS(主力,警戒线)AND ABCB>ABCC AND (ABCA AND ABCS),O,C,3,0),COLORYELLOW;
DRAWICON(CROSS(主力,警戒线)AND ABCB>ABCC AND (ABCA AND ABCS),L*1.002,25);
DRAWTEXT(CROSS(主力,警戒线)AND ABCB>ABCC AND (ABCA AND ABCS),L*0.98, '★擒牛')COLORYELLOW LINETHICK6;