外内比:DYNAINFO(23)/DYNAINFO(22),LINETHICK2;
YE:=(HIGH+LOW+CLOSE)/3;
YE1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
YE2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-YE);
YE3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
YE4:=IF(HIGH=LOW,1,YE-MIN(CLOSE,OPEN));
YE5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
YE6:=SUM((YE1*YE5),1);
YE7:=SUM((YE2*YE5),1);
YE8:=SUM((YE3*YE5),1);
YE9:=SUM((YE4*YE5),1);
主买:=(YE9+YE8);
主卖:=(YE6+YE7)*(-1);
净买:=主买+主卖;
日净买率:净买*100/CAPITAL,COLORRED,LINETHICK1;
三日净买率:SUM(日净买率,3),COLORYELLOW,LINETHICK1;