OPEN-SOURCE SCRIPT

Relative Strength

업데이트됨
A relative strength overlay, similar to that of IBD shown on Marketsmith.

The value is not from 0-100, it is compared with the Nasdaq x2 ETF, QLD. Therefore, if greater than zero it will give you a good indication that the stock has a very good relative strength.

Feel free to change the comparison ETF to one of your choosing.
릴리즈 노트
In this updated/different version, the overlay is removed, and the stock price is removed from the scaling factor.

This allows you to compare the relative strength value between stocks.

The baseline will be a value of 75, which is the relative strength value of the 2x Nasdaq ETF "QLD". Therefore any stock with a value over 75 will have good relative strength.
릴리즈 노트
This latest update features a more logical & robust calculation of Relative Strength.

Normally, Relative Strength calculations account for the change in price of an asset to it's MA (usually 50 MA). It then compares this to the same behaviour of another stock or typically an index.

This means stocks which are moving up recently from it's 50 Day have a higher RS value.
PROs: Highlights stocks making strong moves.
CONs: Does not fully account for stocks that have made powerful moves but are currently consolidating.

Another way to calculate Relative Strength, would then be to look at the % price change of a stock, compared to the % price change of an index, over a certain period.
PROs: Highlights stocks that have made strong moves.
CONs: Does not fully account for stocks which are currently making strong moves.

A current example of this would be the stocks FSLY and TSLA (as of 11/10/2020).

FSLY is currently showing huge strength, breaking out of a long base & is behaving as a leading stock. However it's % change over the last 50 days has only been around ~35%.

TLSA on the other hand is currently basing, other stocks are moving up therefore, at the moment, it is not showing much strength. However if you look at how it has been behaving over the last few months, it is an absolute monster, this needs to be factored in.

SOLUTION:

My solution is to take both calculations of Relative Strength, and take a weighted average of the two. After analysing over 100 stocks with this method, I have found that the most reasonable weighting is a 1:0.67 split of the 50 day calculation vs Price Change calculation, as the latter has a wider value spread.

This indicator will show a singular value of the current RS of the stock, and also the values of the other two calculations.

A way to use this would be to make a spreadsheet & compare the RS values of stocks on your watchlist.

Happy Trading everyone!
ibdMoving AveragesrelativerelativestrengthstrengthTrend Analysis

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항