OPEN-SOURCE SCRIPT
已更新 Premier Stochastic Oscillator (PSO) [andre_007]

This is a improved version of Premier Stochastic Oscillator (PSO), coded by "LazyBear".
"The indicator was first introduced by technical analyst Lee Leibfarth in the August 2008 issue of the journal Technical Analysis of Stocks & Commodities".
Inprovements:
Introduction to indicator:
"Stochastic oscillators have long been used to help traders and investors identify areas where trend changes are likely.
Leibfarth developed the PSO to take advantage of a standard stochastic oscillator's strengths while enhancing it to become more reactive to market activity.
The result is a faster indicator that provides earlier signals for potential trend changes".
More info:
investopedia.com/articles/trading/10/premier_stochastic_oscillator_explained.asp
"The indicator was first introduced by technical analyst Lee Leibfarth in the August 2008 issue of the journal Technical Analysis of Stocks & Commodities".
Inprovements:
- The script was update to version 4 of PineScript.
- Added support for diferents times frames.
- For example, now it's possible to stay in intraday and at same time see a weekly version of this indicator.
- Possibility to customize the thresholds.
Introduction to indicator:
"Stochastic oscillators have long been used to help traders and investors identify areas where trend changes are likely.
Leibfarth developed the PSO to take advantage of a standard stochastic oscillator's strengths while enhancing it to become more reactive to market activity.
The result is a faster indicator that provides earlier signals for potential trend changes".
More info:
investopedia.com/articles/trading/10/premier_stochastic_oscillator_explained.asp
版本注释
New version with some corrections and improvements.- Added legends to lines
- Added overbought and oversold colored zones
- Changed default colors for easier viewing
版本注释
I've implemented some fine tuning for visibility.When the indicator is in the 'overbought' or 'oversold' areas, the color will be highlighted.
Furthermore, I think I owed the more detailed description of how to use this indicator.
Then move on.
What to look for:
According to Lee Leibfarth's paper:
"[...] the PSO is best suited for trading changes in market direction (countertrend trading) [...]
The thresholds are defined by horizontal lines at +/-0.20 and +/-0.90.
These thresholds create two symmetric buy and sell areas with the following rules:
- Long trades: (1) Premier stochastic crosses below 0.90, (2) premier stochastic crosses below 0.20
- Short trades: (1) Premier stochastic crosses above -0.90, (2) premier stochastic crosses above -0.20~
However, we can adapt this indicator to our own trading system, and nothing prevents us from using a trend movement, instead of counter-trend mentioned by the author.
It is noteworthy that the probability of winning increases if we use this indicator in conjunction with other tools, such as using a longer timeframe in parallel along with a price-action analysis.
版本注释
Updated to PineScript version 5.版本注释
1. Code converted to Pine Script version 6.2. Refined timeframe selection and added repaint control, as per best practice recommendations.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
To contribute to my work:
⚡Bitcoin Lightning: forwardocean64@walletofsatoshi.com
🟠Bitcoin: bc1qv0j28wjsg6l8fdkphkmgfz4f55xpph893q0pdh
🔵PayPal: paypal.com/donate/?hosted_button_id=D9KRKY5HMSL9S
⚡Bitcoin Lightning: forwardocean64@walletofsatoshi.com
🟠Bitcoin: bc1qv0j28wjsg6l8fdkphkmgfz4f55xpph893q0pdh
🔵PayPal: paypal.com/donate/?hosted_button_id=D9KRKY5HMSL9S
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
To contribute to my work:
⚡Bitcoin Lightning: forwardocean64@walletofsatoshi.com
🟠Bitcoin: bc1qv0j28wjsg6l8fdkphkmgfz4f55xpph893q0pdh
🔵PayPal: paypal.com/donate/?hosted_button_id=D9KRKY5HMSL9S
⚡Bitcoin Lightning: forwardocean64@walletofsatoshi.com
🟠Bitcoin: bc1qv0j28wjsg6l8fdkphkmgfz4f55xpph893q0pdh
🔵PayPal: paypal.com/donate/?hosted_button_id=D9KRKY5HMSL9S
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。