// Downloaded From https://www.WiseStockTrader.com _SECTION_BEGIN("MFI"); periods = Param( "Periods", 14, 2, 200, 1 ); Plot( vmfi = MFI(periods), _DEFAULT_NAME(), ParamColor("Color", colorCycle ), ParamStyle("Style") ); Buy = Cross( vmfi, 20 ); Sell = Cross( 80, vmfi ); Title = StrFormat("\\c02 {{NAME}} | {{DATE}} | Open : %g | High : %g | Low : %g | Close : %g | Change = %.1f%% | Volume = " +WriteVal( V, 1.0 ) +" {{VALUES}}",O, H, L, C, SelectedValue( ROC( C, 1 )) ) +"\n"+("MFI Comment = ")+WriteIf(Vmfi<30 AND vmfi>LLV(Vmfi,14),EncodeColor(colorLime)+"Safe in, Buy", WriteIf(Vmfi<30 AND VmfiLLV(Vmfi,4),EncodeColor(colorWhite)+" Bullish ", WriteIf(Vmfi<50 AND VmfiLLV(Vmfi,4),EncodeColor(colorPaleBlue)+" bullish see the trend and if bearish sale", WriteIf(Vmfi<79.99 AND Vmfi80, EncodeColor(colorRed)+"Caution",""))))))); _SECTION_END(); _SECTION_BEGIN("Name"); GfxSetOverlayMode(1); GfxSelectFont("Tahoma", Status("pxheight")/20 ); GfxSetTextAlign( 6 );// center alignment //GfxSetTextColor( ColorRGB( 200, 200, 200 ) ); GfxSetTextColor( ColorHSB( 100, 100, 100 ) ); GfxSetBkMode(0); // transparent GfxTextOut( Name(), Status("pxwidth")/2, Status("pxheight")/12 ); GfxSelectFont("Tahoma", Status("pxheight")/12 ); GfxTextOut( "", Status("pxwidth")/2, Status("pxheight")/3 ); GfxSelectFont("Tahoma", Status("pxheight")/17 ); GfxTextOut( "AKBAR", Status("pxwidth")/2, Status("pxheight")/2 ); _SECTION_END();