TheLark

FREE INDICATOR, aPPO: (ADVANCED) PRICE PERCENTAGE OSCILLATOR

This is a re-up of my original post a couple of days ago, I made a slight change to the scaling and wanted to make sure you all got the new code!

I felt the PPO offered here was a bit basic, so turned it more into the MACD's look and feel, except this is fully customizable through the options menu for non-coders to make it look exactly as they wish.

To use the code simply click the arrow in the upper right and click "make it mine".
Alternatively you can grab the source here: pastebin.com/YRtTXE84
Copy and past the code into a new script, removing the default text it gives.

Feel free to leave a comment below if you like it, have a question, or idea!
¸.·´¯`·.´¯`·.¸¸.·´¯`·.¸ If you like the latest in indicators be sure to follow me, more scripts coming soon! ¸.·´¯`·.´¯`·.¸¸.·´¯`·.¸
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?
study(title="Advanced Percentage Price Oscillator", shorttitle="Advanced PPO")

//•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•//   
//                                             //
//           ADVANCED PPO BY THELARK           //
//                 ~ 2-10-14 ~                 //
//                                             //
//                     •/•                     //
//                                             //
//    https://www.tradingview.com/u/TheLark    //
//                                             //
//•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•/•//

src = close
shortlen=input(9, minval=1, title="Short Length") 
longlen=input(26, minval=1, title="Long Length")
dosig=input(true,title="Show Signal?")
dohist=input(true,title="Show Histogram?")
smooth=input(9, minval=1, title="Signal Smoothing")

short = ema(src, shortlen)
long = ema(src, longlen)
ppo = ((short - long)/long)*100
sig = ema(ppo,smooth)

plot(ppo, title="PPO", color=#0094FF)
plot(dosig?sig:na, title="signal", color=#FA6901)
plot(dohist?ppo-sig:na,color=#FF006E,style=histogram )