A1:=(DVOL/CLOSE)/2;
A2:=SUM(IF(A1>500 AND CLOSE>REF(CLOSE,1),A1,0),0);
A3:=SUM(IF(A1>500 AND CLOSE
A4:=SUM(IF(A1<100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A5:=SUM(IF(A1<100 AND CLOSE
机构买盘:=A2,LINETHICK3, COLORRED;
机构卖盘:=A3,LINETHICK3,COLORGREEN;
TH:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),N);
TL:=SUM(IF(CLOSE
TQ:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),N);
VR:=100*(TH*2+TQ)/(TL*2+TQ);
MAVR:=MA(VR,M);
B:VR/MAVR;
BB:机构买盘/机构卖盘;
BBB:BB/REF(BB,1);
DRAWICON(BB/REF(BB,1)>1.05 AND BB>7 AND BBB/REF(BBB,1)>4,10,13);
DRAWICON(BB/REF(BB,1)>1.05 AND BB>7 AND BBB/REF(BBB,1)>4,20,13);
DRAWICON(BB/REF(BB,1)>1.05 AND BB>7 AND BBB/REF(BBB,1)>4,30,13);
DRAWICON(BB/REF(BB,1)>1.05 AND BB>7 AND BBB/REF(BBB,1)>4,40,13);
DRAWICON(BB/REF(BB,1)>1.05 AND BB>7 AND BBB/REF(BBB,1)>4,50,13);
DRAWICON(BB/REF(BB,1)>1.05 AND BB>7 AND BBB/REF(BBB,1)>4,300,1);
DRAWTEXT(BB/REF(BB,1)>1.05 AND BB>7 AND BBB/REF(BBB,1)>4,400,'买')COLORYELLOW;
DRAWTEXT(BB>120 AND BBB/REF(BBB,1)>4,1000+BB,'全买')COLORYELLOW;
STICKLINE(BB>120 AND BBB/REF(BBB,1)>4,0,2000,1,0)COLORRED;