Skip to Content

Relative Strength Index (RSI)

Learn about relative strength index on Composer and follow our step-by-step guide to calculate this important momentum indicator.

In this article, you’ll learn about Relative Strength Index (RSI) and how it’s used in Composer.

What is RSI?

RSI is a technical indicator used to measure momentum in a certain look-back period, signaling whether the asset is overbought/oversold. The RSI will be an oscillator between 0 and 100, attempting to measure the momentum of price. Values above 70 signaling an asset may be overbought (and therefore overvalued), while 30 and below signals the asset is oversold (and therefore undervalued), in the time period selected.

RSI Formula

There are two steps to calculating RSI, shown below:

The first step is to calculate the relative strength over a look-back period of N days. Say we’re looking at a period of two weeks—for average gains, we add together every day that closed in a gain, with days that ended in losses equaling 0, and divide it by N. The same is done for average losses, only vice versa—we add together the return of every day that ended in a loss, with days that ended in gains equaling 0, and divide it by N. We then divide the average gains by the average losses.

Step 1 in calculating the relative strength index for an asset.

The second step is normalizing the relative strength and turning it into an indicator that oscillates between 0 and 100. We take the output from step one, add 1 to it, then divide 100 by that number. From there, we subtract it from 100 to find our RSI in the specified look-back period.This creates an index that roughly measures the momentum of the asset in relation to the average gains or losses taken on the asset in the specified time period.

Step 2 for calculating relative strength index.

Where do you see RSI in Composer?

RSI can be used in conditional and filter blocks. In the example above, we’d be taking the 60-day RSI of SPY and comparing it to the value 25. The conditional will be “true” if the 60-day RSI of SPY is greater than 25. A value below 25 would signal that SPY is oversold, and may be under-valued as a result.RSI can also be used in filter blocks—for example, grouping 10 assets together and selecting the bottom 2 or 3 RSI values, in order to hold assets that are considered under-valued.

RSI can be used within an IF/THEN conditional to develop systematic investment strategies on Composer.

More Information on RSI

Since RSI is a complex topic, we’d recommend checking out this article.

Important Disclosures

Investing in securities involves risks, including the risk of loss, including principal. Composer Securities LLC is a broker-dealer registered with the SEC and member of FINRA / SIPC. The SEC has not approved this message.

Certain information contained in here has been obtained from third-party sources. While taken from sources believed to be reliable, Composer has not independently verified such information and makes no representations about the accuracy of the information or its appropriateness for a given situation. In addition, this content may include third-party advertisements; Composer has not reviewed such advertisements and does not endorse any advertising content contained therein.

This content is provided for informational purposes only, as it was prepared without regard to any specific objectives, or financial circumstances, and should not be relied upon as legal, business, investment, or tax advice. You should consult your own advisers as to those matters. References to any securities or digital assets are for illustrative purposes only and do not constitute an investment recommendation or offer to provide investment advisory services. Furthermore, this content is not intended as a recommendation to purchase or sell any security and performance of certain hypothetical scenarios described herein is not necessarily indicative of actual results. Any investments referred to, or described are not representative of all investments in strategies managed by Composer, and there can be no assurance that the investments will be profitable or that other investments made in the future will have similar characteristics or results.

Charts and graphs provided within are for informational purposes solely and should not be relied upon when making any investment decision. Past performance is not indicative of future results. The content speaks only as of the date indicated. Any projections, estimates, forecasts, targets, prospects, and/or opinions expressed in these materials are subject to change without notice and may differ or be contrary to opinions expressed by others. Please see Composer's Legal Page for additional important information.