Skip to main content

RSI in Heiken Ashi for Amibroker (AFL)

thegame.t2 over 16 years ago Amibroker (AFL)

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

It shows the RSI of Heikin-Ahshi candles with respect to overbought/oversold levels.

Screenshots

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("RSI in Heiken Ashi");

periods = Param( "Periods", 15, 1, 200, 1 );

HaClose = (RSIa(Open, periods)+RSIa(High, periods)+RSIa(Low,periods)+RSIa(Close,periods))/4;

HaOpen = AMA( Ref( HaClose, -1 ), 0.5 );

HaHigh = Max( RSIa(High, periods), Max( HaClose, HaOpen ) );

HaLow = Min( RSIa(Low,periods), Min( HaClose, HaOpen ) );

PlotOHLC( HaOpen, HaHigh, HaLow, HaClose, _DEFAULT_NAME(), colorBlack, styleCandle );

Plot(70,"",colorRed,styleLine);

Plot(30,"",colorGreen,styleLine);

_SECTION_END();

3 comments

almost 16 years ago

Hi and thanks a lot for this RSI.
It is indeed very efficient to determine tops, bottoms and pivots.

Cheers.

about 14 years ago

hi,this indi looks great,can anyone atach the .ex file ,I don’t know how to program an indicator,thanks in advance!

Leave Comment

Please login here to leave a comment.