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

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?