stone8008

Percentage Price Oscillator

109 0 41
The built-in Price Oscillator on this website did not contain the Signal line or the Histogram. Utilized existing script and modified to include both data points. My first attempt at any script so apologies for no comments.
Remove from Favorite Scripts Add to Favorite Scripts
study(title="Price Oscillator", shorttitle="PPO")
shortlen=input(12, minval=1)
longlen=input(26, minval=1)
siglen=input(9,minval=1)
src = input(close, title="Source")
short = ema(src, shortlen)
long = ema(src, longlen)
po = (short - long)/long*100
signal = ema(po, siglen)
difference = po - signal
plot(po, color=blue, title="PPO")
plot(signal, color=red, title="Signal")
plot(difference,color=green,style=histogram)
United States
United Kingdom
India
Deutschland
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
Malaysia
日本
한국
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing Priority Support Ideas Published Followers Following Private Messages Chat Sign Out