{古长量价}
n:=9;m:=3;P:=2;
RAV:=(CLOSE-LLV(LOW,n));
RAV1:=(HHV(HIGH,n)-LLV(LOW,n));
RAV2:=RAV/RAV1;
RAV3 := (HIGH + LOW + CLOSE+REF(C,1)+O)/5;
RAV4:=RAV2*100;
RAV5:=SMA(RAV4,M,1);
RAV6:=SMA(RAV5,M,1);
RAV7:=SUM(IF(RAV3>REF(RAV3,1),RAV3*VOL,0),N)/SUM(IF(RAV3<REF(RAV3,1),RAV3*VOL,0),N);
资金趋势:100-(100/(1+RAV7)),colorFFF000;
价格趋势:(M*RAV5-P*RAV6)*1.1;80;20;