Skip to main content

MFI line for Amibroker (AFL)

jara about 9 years ago Amibroker (AFL)

  • Rating:
    5 / 5 (Votes 1)
  • Tags:
    amibroker

Compare MFI to MA14

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("MFI");
periods = Param( "Periods", 14, 2, 200, 1 );

FLAG=IIf(MFI()>MA(MFI(),periods),1,0);
color=IIf(FLAG==1,colorBrightGreen,colorRed);
Plot(MFI(),"", color );


Plot(20,"",ColorRGB(195,158,255)); Plot(70,"",ColorRGB(195,158,255)); 
_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.