VAR1:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN)/10000);
买:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖:=IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2));
买线:=(买/卖)*10000000;
平均线:=MA(买线,10);
红箭头买:crOSS(买线,平均线);