Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

RS - Relative Strength explorer for Amibroker (AFL)

4 / 5 (Votes 5)
amibroker, relative strength

Relative strength is a measure of the price trend of a stock or other financial instrument compared to another stock, instrument or industry. It is calculated by taking the price of one asset and dividing it by another.

check following links for better understanding.

when using this afl, please change the RS base ticker in parameters to your desired index.
presently we have given “NIFTY-I” which is national stock exchange (NSE-INDIA) index

SHORT LOWER VALUE OF relative strength
LONG HIGHER VALUE OF relative strength


Indicator / Formula

Copy & Paste Friendly
base = ParamStr("RS base ticker", GetBaseIndex() );
Plot( RelStrength(base), _SECTION_NAME() + "(" + base + ")", ParamColor( "color", colorCycle ), ParamStyle("Style")  );


1. nareshpriya

this is a scanner. one that u have in amibroker plots graph only. with this afl, u can scan the chart in different time frames like hrly daily or weekly and take decisions. anyway no issues. next time. btw thx for keeping the site clean and free from spam :)

2. bodisaudi


3. nok431129


4. duonglt

How to get code RS. Thanks

5. hirenvyas

getting Error with this Code LN:4, Col:22

error 21

Relative strength base symbol not found

Leave Comment

Please login here to leave a comment.