VAR1:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
买:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
波动:买/VOL*10,COLORRED,NODRAW;
波动3:MA(波动,5),COLORBLacK,STICK,COLORBLACK;
STICKLINE(波动3<REF(波动3,1),0,波动3,3,0),COLOR009900;
STICKLINE(波动3<REF(波动3,1),0,波动3,2.2,0),COLOR00BB00;
STICKLINE(波动3<REF(波动3,1),0,波动3,1.5,0),COLOR00DD00;
STICKLINE(波动3<REF(波动3,1),0,波动3,0.5,0),COLOR00FF00;
STICKLINE(波动3>REF(波动3,1),0,波动3,3,0),COLOR000099;
STICKLINE(波动3>REF(波动3,1),0,波动3,2.2,0),COLOR0000CC;
STICKLINE(波动3>REF(波动3,1),0,波动3,1.5,0),COLOR0000FF;
STICKLINE(波动3>REF(波动3,1),0,波动3,0.5,0),COLORCC66FF;
波动2:MA(波动,10),COLORBLUE;
{- }
STICKLINE(6.5,6.5,10,7,0),COLOR9F9F5F;
STICKLINE(3.5,3.5,0,7,0),COLOR324800;
STICKLINE(波动3>6.5,波动3,6.5,7,0),COLORMAGENTA;
STICKLINE(波动3<3.5,波动3,3.5,7,0),COLORMAGENTA;
STICKLINE(波动3>7,波动3,7,7,0),COLORRED;
STICKLINE(波动3<3,波动3,3,7,0),COLORRED;
强波动2:IF(波动2>REF(波动2,1),波动2,DRAWNULL),crOSSDOT,COLORCYAN,LINETHICK2;