OPEN-SOURCE SCRIPT

Relative Strength Price Oscillator Indicator (RS PPO)

Atualizado
Percentage Price Oscillator (PPO)
The Percentage Price Oscillator (PPO) is a momentum oscillator that measures the difference between two moving averages as a percentage of the larger moving average. As with its cousin, MACD, the Percentage Price Oscillator is shown with a signal line, a histogram and a centerline. Signals are generated with signal line crossovers, centerline crossovers, and divergences.

PPO readings are not subject to the price level of the security and the PPO values for different securities can be compared, regardless of the price of the security.

Relative Strength (RS)
Relative strength is a strategy used in momentum investing and focuses on investing in stocks or other securities that have performed well relative to the market as a whole or to a relevant benchmark.

Chart
In the chart, Microsoft stock (MSFT) is plotted against the VanEck Semiconductor ETF (SMH).
In the example on the left, from the negative values of the RS PPO it can be seen that MSFT, although trending upward, is losing out in negative terms to the SMH etf.

In the example on the right, during a correction phase with a downward price trend, Microsoft held up relatively well compared to the Van Eck Semiconductor etf.
Notas de Lançamento
Percentage Price Oscillator (PPO)
The Percentage Price Oscillator (PPO) is a momentum oscillator that measures the difference between two moving averages as a percentage of the larger moving average. As with its cousin, MACD, the Percentage Price Oscillator is shown with a signal line, a histogram and a centerline. Signals are generated with signal line crossovers, centerline crossovers, and divergences.

PPO readings are not subject to the price level of the security and the PPO values for different securities can be compared, regardless of the price of the security.

Relative Strength (RS)
Relative strength is a strategy used in momentum investing and focuses on investing in stocks or other securities that have performed well relative to the market as a whole or to a relevant benchmark.

Chart
In the chart, Microsoft stock (MSFT) is plotted against the VanEck Semiconductor ETF (SMH).
In the example on the left, from the negative values of the RS PPO it can be seen that MSFT, although trending upward, is losing out in negative terms to the SMH etf.

In the example on the right, during a correction phase with a downward price trend, Microsoft held up relatively well compared to the Van Eck Semiconductor etf.


Updated (10/12/2024):
* added MA Type options
CRSOscillatorsRelative Strength ComparisonRS

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal