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
Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?