N:=14;
M:=6;
TYP := (HIGH + LOW + CLOSE)/3;
V1:=SUM(IF(TYP>REF(TYP,1),TYP*vol,0),N)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),N);
mfi:100-(100/(1+V1)),COLORRED;
MFMA:MA(MFI,M),COLORFFFF00;
80,POINTDOT,LINETHICK2,COLORYELLOW;
20,POINTDOT,LINETHICK2;
{
选股公式:
N:=16;
M:=6;
TYP:=(HIGH + LOW + CLOSE)/3;
V1:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),14)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),14);
MFI:=100-(100/(1+V1));
XG:MFI>REF(MFI,1);
}