Sell Signal - William O'Neil's Rule Visualization

1. Volume increases compared to the previous day.
2. The price drops by a user-defined percentage (default: 0.2% or more).
The indicator highlights the background for bars meeting these conditions and adds a subtle circle above them. You can adjust the drop rate in the settings to match your preferences.
It could serve as a useful tool for identifying potential distribution days or profit-taking signals, helping traders manage risk during market pullbacks.
このインジケーターは、ウィリアム・オニールの売り抜け条件を可視化したもので、トレーダーの皆さんに役立つかもしれません。シグナルは次の条件を満たすと発生します:
1. 出来高が前日より増加している。
2. 価格がユーザー指定の割合(デフォルトは0.2%以上)で下落している。
条件を満たしたバーには背景色が付き、控えめな丸印が表示されます。設定で下落率を自由に調整することもできます。
このツールは、分配日や利益確定のシグナルを特定するのに役立つかもしれません。市場の調整局面でのリスク管理にご活用ください。
1. Volume increases compared to the previous day.
2. The closing price drops by a user-defined percentage (default: 0.2% or more) from the previous day’s close.
Additionally, you can specify how many consecutive days the condition must hold true (including today).
• 0: The signal is evaluated for the current day only.
• 1: The condition must hold true for today and the previous day.
• 2: The condition must hold true for today, the previous day, and two days ago, and so on.
The indicator highlights qualifying bars with a red background and places a small red circle above the bar when the conditions are met.
As I am still learning Pine Script, please let me know if you encounter any bugs, issues, or suggestions for improvement. Your feedback is greatly appreciated!
このインジケーターは、ウィリアム・オニールの売り抜け条件を可視化し、さらに連続日数のチェック機能を追加したものです。売りシグナルは、次の条件が満たされた場合に発生します:
1. 出来高が前日より増加している。
2. 終値が前日終値からユーザー設定の割合(デフォルトは0.2%以上)下落している。
さらに、条件が連続する日数を設定できます(当日を含めます)。
• 0:当日単体でシグナルを評価します。
• 1:当日と前日が連続して条件を満たした場合にシグナルを表示します。
• 2:当日、前日、2日前が連続して条件を満たした場合にシグナルを表示します。
条件を満たしたバーには赤い背景色が付き、シグナル発生時には小さな赤い丸がバーの上に表示されます。
Pineスクリプトにはまだ不慣れなため、もしバグや改善点があれば遠慮なくご指摘ください。皆様のフィードバックが大変励みになります!
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
Declinazione di responsabilità
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.