Skip to main content

RMI Indicator for Amibroker (AFL)

indiainfo2008 almost 15 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 3)
  • Tags:
    oscillator, amibroker

RMI indicator

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("RMI");
 period = Param( "Period", 20, 1, 200, 1 );
 momentum = Param( "Momentum", 5, 1, 200, 1 );
 uplevel=Param("uplevel",66,50,100,1);
 downlevel=Param("downlevel",34,0,50,1);
 Plot( RMI(period, momentum), _DEFAULT_NAME(), ParamColor( "Color", colorBlack ), ParamStyle("Style"),0,-1  );
 PlotOHLC( RMI(period, momentum),RMI(period, momentum),50,RMI(period, momentum), "", IIf( RMI(period, momentum) > 50, colorGreen, colorRed ),  styleCloud | styleClipMinMax, downlevel, uplevel,0,-1 ); 
 
 Plot( uplevel, _DEFAULT_NAME(), colorGreen, styleDashed  );
 Plot( downlevel, _DEFAULT_NAME(), colorGreen, styleDashed  );

_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.