VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:=VOL,POINTDOT;
主動買盤:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
主動賣盤:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;
凈買萬:(主動買盤+主動賣盤)/100,COLORRED;
十日換手:SUM(VOL/CAPITAL*100,10);
流通(億):=CAPITAL/1000000,POINTDOT;
{虛擬量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虛擬量,0,-1,-1),COLOR00C0C0;}
VOLUME:VOL,VOLSTICK;
VOL1:MA(VOLUME,M1), COLORWHITE;
VOL2:MA(VOLUME,M2),COLORYELLOW;
VOL3:MA(VOLUME,M3),COLORFF00FF;
成交額(KW):AMOUNT/10000000,POINTDOT;
增減力度:(MA(CLOSE,34.000) - CLOSE) / MA(CLOSE, 34.000) * 10.000,COLOR6666FF;
STICKLINE(FILTER(CROSS(0.019100,增減力度),21), VOL*0.8,0,1,0),COLORYELLOW;
DRAWTEXT(FILTER(CROSS(0.019100,增減力度),21), VOL*0.8,'跟蹤'),COLORWHITE;
VAR1D:=MA(C,30);
VAR2:=MA(CLOSE, 6);
VAR3:=MA(CLOSE, 10);
VAR4:=MA(CLOSE, 20);
VAR5:=MA(CLOSE, 30);
VAR6:=(VAR2+VAR3+VAR4+VAR5)/4;
VAR7:=(VAR6-REF(VAR6, 15))/REF(VAR6, 15)*100;
VAR9:=EMA(VAR7, 8);
移動:=10*(C-VAR1D)/STD(C,30),COLORWHITE,LINETHICK0;
估算:=EMA(移動,10),COLORGREEN;
{STICKLINE(CROSS(移動,估算),0,VOL,1,0),COLORWHITE;}{淺紫反轉(zhuǎn)點};
均反:STICKLINE(VAR7>1*REF(VAR7, 1) AND CROSS(移動,估算), 0,VOL,1.2,0),COLORWHITE;
DRAWTEXT(均反, VOL,'反'),COLORWHITE;
{壓力線,未來}
QM:=INTPART(3*8/5);
QR:=REF(VOL,QM)=HHV(VOL,2*QM+1);
QT:=FILTER(QR,QM);
QY:=BACKSET(QT,QM+1);
QU:=FILTER(QY,QM);
QI:=BACKSET(ISLASTBAR,BARSLAST(QU)+1);{未來函數(shù)}
QP:=QI>REF(QI,1);
最大成交量:=HHV(V,50);{計算50日內(nèi)最大成交量的數(shù)字}
距離天數(shù):=BARSLAST(V=最大成交量);{計算最大成交量出現(xiàn)那天距離今天的天數(shù)}
QS:DRAWLINE(QU,V,QP,V,1),LINETHICK2,COLORMAGENTA;
|