stone8008

Percentage Price Oscillator

157 0 75
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
France
España
Italia
Polska
Türkiye
Россия
Brasil
Indonesia
Malaysia
ประเทศไทย
Việt Nam
日本
한국
简体
繁體
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Priority Support Contact Support Ideas Published Followers Following Private Messages Chat Sign Out