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
Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?