Dreadblitz

Premium Stochastic Oscillator

The PSO is a rewired version of a short-period stochastic . Unlike a standard stochastic oscillator, this indicator is normalized to register neutral values at zero while providing greater sensitivity to short-term price moves. This indicator uses a central zero line as a reference point and will oscillate above and below this point as price fluctuates. In addition, the PSO is smoothed by using a double exponential moving average to provide a more even response to turns in the market.

(from TASC magazine, August 2008 issue).

The Premium Stochastic Oscillator was introduced by technical analyst Lee Leibfarth.
Jan 16
Release Notes: color problem corrected
Remove from Favorite Scripts Add to Favorite Scripts

Comments

Beautiful :)
Reply
Why is that color color.new(#006400) green is never plotted on the chart? Can you fix it? Thank you.
Reply
sal157011 sal157011
@sal157011,
col = val>-maxLevel and val<-minLevel?color.new(#f4a560, 0) : val<-maxLevel ? color.new(#ff0000, 0) : val>minLevel and val<maxLevel? color.new(#32cd32, 0): val>maxLevel ? color.new(#006400, 0) : color.new(#a9a9a9, 0) //line 28

it was missing "and val<maxLevel" on line 28.
Reply
Dreadblitz sal157011
@sal157011, thank you very much, I just modified the line, greetings
Reply
Dreadblitz sal157011
@sal157011, hello friend is correct thank you very much for detecting the bug
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out