使用说明:判断主力进场和波段分析,近期内红柱增多,阴柱很少,股价在相对底位说明有主力进场。看到小红箭头就进场。
N:=10;
WJ:=(HIGH+LOW+CLOSE)/3;
VD1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
VD2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);
VD3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
VD4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));
VD5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
VD6:=(VD1*VD5);
VD7:=(VD2*VD5);
VD8:=(VD3*VD5);
VD9:=(VD4*VD5);
■买入量:=(VD9+VD8),COLOR0066FF,NODRAW;
■卖出量:=(VD6+VD7),COLORCYAN,NODRAW;
■买入资金:■买入量*CLOSE/100,COLOR00FFFF,NODRAW;
■卖出资金:■卖出量*CLOSE/100,COLOR66FF00,NODRAW;
资金进出:■买入资金-■卖出资金,NODRAW;
买卖资金比:=资金进出/(■卖出资金+■买入资金);
买卖资金量比:买卖资金比+REF(买卖资金比,1),NODRAW;
STICKLINE(买卖资金量比 =0,0,买卖资金量比,0.5,0),COLORRED;
STICKLINE(买卖资金量比 0,0,买卖资金量比,0.9,0),COLORCYAN;
VAR1:=AMOUNT/VOL/7;
VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR3:=SUM(AMOUNT,N)/VAR1/7;
VAR4:=DMA(VAR2,VOL/VAR3);
抄底:(CLOSE-VAR4)/VAR4*100,COLORLIMAGENTA,NODRAW;
DRAWICON(CROSS(抄底,-8),-0.5,1);