Skip to main content

RSI MA for Amibroker (AFL)

jai3222 about 16 years ago Amibroker (AFL)

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

This is basically a derivative of derivative. In this case RSI from price action, and in turn MA of that RSI. Preferable to use in larger time frames like 15/30/60 Mins for swing trading.

Screenshots

Indicator / Formula

Copy & Paste Friendly
SetChartOptions(0,0,chartGrid30|chartGrid70);
periods = Param( "Periods", 15, 1, 200, 1 );
Plot( RSI( periods), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style")  );

Plot(70,"",colorGrey40,1);
Plot(30,"30",colorGrey40,1);
Plot(50,"50",colorLightGrey,styleDashed);
Plot(75,"75",colorLightGrey,styleDashed);
Plot(25,"25",colorLightGrey,styleDashed);

//Plot(MA(Close,9),"9sma", colorBrown,styleDashed, 0,0,0);

_SECTION_BEGIN("MA1");
P = ParamField("Price field",-1);
Periods = Param("Periods", 9, 2, 300, 1, 10 );
Plot( MA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") ); 
_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.