Chỉ số dòng tiền là một chỉ báo mạnh mẽ từ 0 đến 100. nó sử dụng để hiển thị dòng tiền theo độ mạnh.
The money flow index (MFI) is an oscillator that ranges from 0 to 100. It is used to show the money flow (an approximation of the dollar value of a day’s trading) over several days.

SetChartOptions(0,0,ChartGrid50,0,100);
periods = Param("Periods", 14, 1, 200, 1);Levelup = Param("Level up",80,1,100,1);Leveldown = Param("Level down",20,1,100,1);
z = MFI(periods);
LineColor = ParamColor("Line Color", colorLightBlue);LineStyle = ParamStyle("Line Style", styleLine);LevelupColor = ParamColor("Overbought Color",colorRed);LeveldownColor = ParamColor("Oversold Color",colorGreen);
Plot(z, "MFI ("+ periods + ")", LineColor , LineStyle);Plot(Levelup,"Level UP ",LevelupColor,styleDashed);Plot(Leveldown,"Level Down",LeveldownColor,styleDashed);PlotOHLC(z,z,50,z,"",IIf(z>50, LevelupColor, LeveldownColor), styleCloud| styleNoLabel| styleClipMinMax, Leveldown, Levelup);
Leave a Reply
You must be logged in to post a comment.