ProfitProgrammers

Relative Price Oscillator

Here is a new experimental indicator we've been working on. The idea was to compare two EMA's of period midpoints to the actual closing price. The steps that were taken are listed below:

1.Calculate an EMA based on each period's midpoint ((High * Low) /2) for the last 9 periods.

2.Calculate an EMA based on each period's midpoint for the last 100 periods.

3. Divide the difference of the two EMA's by the closing price. ((EMA1 - EMA2) / Close).

4. Smooth the value from step #3 with an 18 period EMA. Multiply by 1000 for better scaling/visibility.


Using:

Bullish when line is green, bearish when line is red. Buy on first green, then sell on first red.

There is also an option to color the candles based on the RPO line.

-Profit Programmers
www.profitprogrammer.com
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?