以下是MFI指标
MFI:(H-L)*1000000/V,STICK;
A1:=MFI>=REF(MFI,1)*1.1 AND V>=REF(V,1)*1.1;
A2:=MFI<=REF(MFI,1)*0.9 AND V<=REF(V,1)*0.9;
A3:=MFI>=REF(MFI,1)*1.1 AND V<=REF(V,1)*0.9;
A4:=MFI<=REF(MFI,1)*0.9 AND V>=REF(V,1)*1.1;
STICKLINE(A1,0,MFI,0.1,1),COLORGREEN;
STICKLINE(A2,0,MFI,0.1,1),COLORBLUE;
STICKLINE(A3,0,MFI,0.1,1),COLORBROWN;
STICKLINE(A4,0,MFI,0.1,1),COLORMAGENTA;
MA5:MA(MFI,5);
绿灯:IF(A1,MFI,DRAWNULL),STICK,COLORGREEN;
衰退:IF(A2,MFI,DRAWNULL),STICK,COLORBLUE;
伪装:IF(A3,MFI,DRAWNULL),STICK,COLORBROWN;
蛰伏:IF(A4,MFI,DRAWNULL),STICK,COLORMAGENTA;