日线流量
A1:=EXTDATA(1);
A2:=EXTDATA(2);
A3:=EXTDATA(3);
A4:=EXTDATA(4);
A5:=(A1);
A6:=(A2);
A7:=(A3);
A8:=(A4);
A9:=((A7 + A8) + A5) + A6;
A10:=((A7 + A5) * DYNAINFO(11)) / 100;
A11:=((A8 + A6) * DYNAINFO(11)) / 100;
A12:=A10 + A11;
A13:=(A12 / A9) * 100;
资金增减:A10 - A11,PRECIS2,linethick0,colorRed;
A14:=A7 - A8;
主力资金:(A14 * DYNAINFO(11)) / 100,PRECIS2,linethick0;
主力存量:SUM(((A14 * A13) / 100),0),PRECIS2,linethick0;
A15:=(A5 / A7) + (A6 / A8);
DRAWTEXTREL(450,0,'□ 大单买入: '+NUMTOSTRN(A7,0)),linethick1,Color5050FF;
DRAWTEXTREL(800,0,'占: '+NUMTOSTRN(((A7 / A9) * 100),2)),linethick1,Color5050FF;
DRAWTEXTREL(450,200,'□ 大单卖出: '+NUMTOSTRN(A8,0)),linethick1,colorGreen;
DRAWTEXTREL(800,200,'占: '+NUMTOSTRN(((A8 / A9) * 100),2)),linethick1,colorGreen;
DRAWTEXTREL(450,400,'□ 大单买卖差: '+NUMTOSTRN(A14,0)),linethick1,ColorCCFFCC;
DRAWTEXTREL(800,400,'占: '+NUMTOSTRN(((A14 / A9) * 100),2)),linethick1,ColorCCFFCC;
DRAWTEXTREL(450,600,'□ 小单买入: '+NUMTOSTRN(A5,0)),linethick1,colorMagenta;
DRAWTEXTREL(800,600,'占: '+NUMTOSTRN(((A5 / A9) * 100),2)),linethick1,colorMagenta;
DRAWTEXTREL(450,800,'□ 小单卖出: '+NUMTOSTRN(A6,0)),linethick1,Color008000;
DRAWTEXTREL(800,800,'占: '+NUMTOSTRN(((A6 / A9) * 100),2)),linethick1,Color008000;
STICKLINE((A9 AND (DISPSTATUS = 2)),0,A9,50,1),colorWhite;
STICKLINE(((((A6 + A5) + A8) + A7) AND (DISPSTATUS = 2)),0,A9,45,0),Color5050FF;
STICKLINE((((A6 + A5) + A8) AND (DISPSTATUS = 2)),0,((A6 + A5) + A8),45,0),colorGreen;
STICKLINE(((A6 + A5) AND (BARSTATUS = 2)),0,(A6 + A5),45,0),colorMagenta;
STICKLINE((A6 AND (BARSTATUS = 2)),0,A6,45,0),Color008000;
A16:=EMA((WINNER(CLOSE) * 70),3);
A17:=EMA(((WINNER((CLOSE * 1.1)) - WINNER((CLOSE * 0.9))) * 80),3);
A18:=(A16 / (A16 + A17)) * 100;
A19:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);
A20:=REF((EMA(A19,3)),1);
A21:=VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN)));
A22:=(IF((CLOSE > OPEN),(A21 * (HIGH - LOW)),(IF((CLOSE < OPEN),(A21 * (((HIGH - OPEN) + CLOSE) - LOW)),(VOL / 2))))) + (IF((CLOSE > OPEN),(0 - (A21 * (((HIGH - CLOSE) + OPEN) - LOW))),(IF((CLOSE < OPEN),(0 - (A21 * (HIGH - LOW))),(0 - (VOL / 2))))));
A23:=(A22 / 20) / 1.15;
A24:=((A23 * 0.55) + ((REF(A23,1)) * 0.33)) + ((REF(A23,2)) * 0.22);
资金流量:EMA(A24,3),PRECIS2,linethick0,ColorFFFF54;
周流量:SUM(资金流量,5),PRECIS2,linethick0;
流入力度:A23 / 1000,PRECIS2,linethick0;
A25:=INTPART(A18);
DRAWTEXTREL(20,0,'■ 主买金額: '+NUMTOSTRN(A10,2)),linethick1,colorRed;
DRAWTEXTREL(20,200,'■ 主卖金額: '+NUMTOSTRN(A11,2)),linethick1,colorGreen;
DRAWTEXTREL(20,400,'■ 控盘力度: '+NUMTOSTRN(A25,0)),linethick1,colorMagenta;
DRAWTEXTREL(20,600,'■ 5日均量: '+NUMTOSTRN(DYNAINFO(38),0)),linethick1,colorWhite;
DRAWTEXTREL(20,800,'■ 散户跟风: '+NUMTOSTRN(A15,2)),linethick1,ColorFFFF54;
流入力度L: PERCENTBAR(REF(流入力度,0),REF(流入力度,0)),COLORRED;
需要设置扩展数据 |