Skip to main content

Fibonacci Retracements and RSI for Amibroker (AFL)

kaiji over 16 years ago Amibroker (AFL)

  • Rating:
    4 / 5 (Votes 2)
  • Tags:
    amibroker, fibonacci

This indicator points out well-known Fibonacci retracement levels of 23.6%, 38.2%, and 61.8% to find important support/resistance levels on an RSI chart.

Indicator / Formula

Copy & Paste Friendly
barvisible = Status("barvisible");
r = RSI( 14 );
maxr = LastValue( Highest( IIf( barvisible, r, 0 ) ) );
minr = LastValue( Lowest( IIf( barvisible, r, 100 ) ) );
ranr = maxr - minr;
Plot( r, "RSI(14)", colorRed );
Plot( maxr , "0%", colorGrey50 );
Plot( maxr - 0.236 * ranr, "-23.6%", colorPaleGreen );
Plot( maxr - 0.382 * ranr, "-38.2%", colorPaleBlue );
Plot( maxr - 0.50 * ranr, "-50.0%", colorOrange );
Plot( maxr - 0.618 * ranr, "-61.8%", colorPaleBlue );
Plot( minr , "-100%", colorGrey50 );
GraphXSpace = 3;

2 comments

Leave Comment

Please login here to leave a comment.