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! ¸.·´¯`·.´¯`·.¸¸.·´¯`·.¸
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?
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 )