OPEN-SOURCE SCRIPT
Advanced RVOL Timed Buy Candidate

## Advanced RVOL Timed Buy Candidate
このインジケーターは、日足を対象に、通常よりも出来高が増えている銘柄を検出するための相対出来高(RVOL)インジケーターです。
単純に当日の出来高を見るだけではなく、指定時刻までの出来高進捗率から1日の推定出来高を計算し、引け前や午前中など、ユーザーが設定した時刻に購入候補を通知できます。
### 主な特徴
#### 1. 現在足を除外した平均出来高
現在進行中の日足を平均計算に含めず、過去の確定済み出来高と比較します。
これにより、当日の大きな出来高によって平均値そのものが上昇し、出来高増加の検出が遅れる問題を軽減します。
平均期間は以下から選択できます。
* 任意の日数
* 月初から
* 四半期初から
* 年初来
* 決算発表後
データ数が不足している場合は、任意日数の移動平均へ自動的に切り替えることもできます。
#### 2. 相対出来高(RVOL)の表示
当日の出来高を平均出来高で割り、通常時と比較して何倍の出来高が発生しているかを表示します。
例:
* RVOL 1.00倍:平均と同程度
* RVOL 1.50倍:平均の1.5倍
* RVOL 2.00倍:平均の2倍
オシレーターでは、平均出来高を0%として表示します。
* 0%:平均と同じ
* +50%:平均の1.5倍
* +100%:平均の2倍
#### 3. 指定時刻での推定RVOL判定
最大2つの途中判定時刻を設定できます。
例:
* 10:00時点
* 15:24時点
それぞれの時刻について、「通常はその時刻までに1日の出来高の何%が消化されるか」を設定します。
例として、平均1日出来高が100万株、10:00までの通常進捗率を30%と設定し、10:00時点で45万株の出来高がある場合、推定RVOLは次のようになります。
45万株 ÷(100万株 × 30%)=1.50倍
この機能により、日足の確定を待たずに、出来高ペースが通常より速い銘柄を検出できます。
#### 4. 決算フィルター
決算発表日や決算直後は、通常とは異なる大きな出来高が発生しやすいため、購入候補から除外できます。
除外する営業日数は設定可能です。
* 0:決算日のみ除外
* 1:決算日と翌営業日を除外
* 2:決算日とその後2営業日を除外
決算日には「E」マークを表示でき、除外期間の背景色も設定できます。
#### 5. 価格条件フィルター
出来高だけでは、買いによる上昇と売りによる急落を区別できません。
そのため、以下の価格条件を任意で追加できます。
* 陽線であること
* 終値が当日の値幅上部にあること
* 直近高値を終値で突破していること
「終値位置」は、その日の安値から高値までの範囲内で、終値がどこにあるかを表します。
70%に設定した場合、終値が当日の値幅の上位30%以内にあることが必要です。
#### 6. アラート
以下のアラートを利用できます。
* 途中判定1の購入候補
* 途中判定2の購入候補
* 日足確定時の購入候補
途中判定アラートを使用する場合、PulseWireのアラート頻度は「バーにつき1回」に設定してください。
スクリプトや設定を変更した場合は、既存のアラートを削除して再作成する必要があります。
### 推奨初期設定
* チャート:日足
* 平均出来高:過去20日
* 購入候補基準:平均の150%
* 特大出来高基準:平均の200%
* 陽線条件:オン
* 終値位置:70%
* 高値突破条件:オフ
* 決算後の除外日数:1営業日
* 途中判定1:10:00
* 10:00までの出来高進捗率:30%
* 途中判定2:15:24
* 15:24までの出来高進捗率:90%
出来高の時間帯別分布は銘柄によって異なるため、進捗率は対象銘柄や市場に合わせて調整してください。
### 注意事項
このインジケーターは日足での使用を前提としています。
指定時刻のアラートは、時刻だけで自動実行されるものではありません。PulseWireが新しい価格または出来高データを受信した時点でスクリプトが再計算されます。
そのため、売買が少ない銘柄では、指定時刻ちょうどに通知されない場合があります。
また、途中判定で使用する当日の価格、出来高、ローソク足は未確定です。その後の取引によって、陽線・終値位置・高値突破などの条件が変化する可能性があります。
本インジケーターは、出来高と価格条件に基づいて銘柄候補を抽出するための補助ツールです。売買を推奨するものではなく、利益を保証するものでもありません。実際の投資判断は、価格帯別出来高、VWAP、トレンド、企業業績、流動性、リスク管理などと併せて行ってください。
## Advanced RVOL Timed Buy Candidate
This indicator is a daily-chart Relative Volume tool designed to identify stocks experiencing unusually strong volume activity.
In addition to comparing the current volume with historical average volume, it can estimate full-day relative volume from the volume accumulated by a user-defined time. This allows users to receive potential buy-candidate alerts during the morning session or shortly before the market close.
### Main Features
#### 1. Average volume excluding the current bar
The current daily bar is excluded from the average-volume calculation.
This prevents unusually high current-day volume from raising the reference average and delaying the detection of a potential volume expansion.
The following averaging periods are available:
* Custom number of days
* Month to date
* Quarter to date
* Year to date
* Since the latest earnings release
When insufficient data is available, the indicator can automatically fall back to the custom moving-average period.
#### 2. Relative Volume display
Relative Volume is calculated by dividing the current volume by the selected average volume.
Examples:
* RVOL 1.00x: volume is equal to the average
* RVOL 1.50x: volume is 1.5 times the average
* RVOL 2.00x: volume is twice the average
The oscillator uses average volume as the zero line.
* 0%: equal to average volume
* +50%: 1.5 times average volume
* +100%: twice average volume
#### 3. Time-based projected RVOL
The indicator provides two configurable intraday evaluation times.
Examples:
* 10:00
* 15:24
For each evaluation time, users can define the percentage of normal daily volume that is typically completed by that time.
For example, assume:
* Average daily volume: 1,000,000 shares
* Expected volume progress by 10:00: 30%
* Actual volume at 10:00: 450,000 shares
The projected RVOL is:
450,000 ÷ (1,000,000 × 30%) = 1.50x
This feature helps identify stocks whose volume is developing faster than normal without waiting for the daily bar to close.
#### 4. Earnings filter
Earnings announcements and the sessions immediately following them often produce unusually high volume that may not represent normal accumulation.
The earnings filter can exclude the earnings session and a configurable number of subsequent trading days.
Examples:
* 0: Exclude the earnings session only
* 1: Exclude the earnings session and the next trading day
* 2: Exclude the earnings session and the following two trading days
An “E” marker can be displayed on earnings sessions, and the excluded period can be highlighted with a background color.
#### 5. Price-action filters
High volume alone cannot distinguish strong buying pressure from heavy selling.
Optional price-action filters are therefore included:
* Require a bullish candle
* Require the close to finish in the upper portion of the daily range
* Require a closing-price breakout above a recent high
The close-location value measures where the close is positioned between the session low and high.
For example, a setting of 70% requires the close to finish within the upper 30% of the session’s range.
#### 6. Alerts
The following alert conditions are available:
* Timed evaluation 1 buy candidate
* Timed evaluation 2 buy candidate
* Daily-close buy candidate
For timed alerts, set the PulseWire alert frequency to “Once Per Bar.”
After changing the script or its input settings, existing alerts must be deleted and recreated because PulseWire alerts use a server-side snapshot of the script and settings from the time the alert was created.
### Suggested Starting Settings
* Chart timeframe: Daily
* Average-volume period: 20 days
* Buy-candidate threshold: 150% of average
* Mega-volume threshold: 200% of average
* Bullish candle filter: Enabled
* Minimum close location: 70%
* Breakout filter: Disabled
* Earnings exclusion: Earnings day plus one trading day
* Timed evaluation 1: 10:00
* Expected volume progress by 10:00: 30%
* Timed evaluation 2: 15:24
* Expected volume progress by 15:24: 90%
Intraday volume distribution varies by stock and market, so the expected volume-progress settings should be adjusted for the instruments being monitored.
### Important Notes
This indicator is designed primarily for use on the daily timeframe.
Timed alerts are not triggered by an independent clock. Pine Script recalculates when PulseWire receives a new price or volume update.
As a result, thinly traded stocks may not generate an alert at the exact selected time.
Price, volume, candle direction, close location, and breakout status remain provisional before the daily bar closes. A timed signal may therefore differ from the final daily-close result.
This indicator is a screening and decision-support tool based on volume and price conditions. It is not financial advice, does not recommend any security, and does not guarantee future performance. Users should combine its signals with additional analysis, including VWAP, volume profile, trend structure, company fundamentals, liquidity, position sizing, and risk management.
このインジケーターは、日足を対象に、通常よりも出来高が増えている銘柄を検出するための相対出来高(RVOL)インジケーターです。
単純に当日の出来高を見るだけではなく、指定時刻までの出来高進捗率から1日の推定出来高を計算し、引け前や午前中など、ユーザーが設定した時刻に購入候補を通知できます。
### 主な特徴
#### 1. 現在足を除外した平均出来高
現在進行中の日足を平均計算に含めず、過去の確定済み出来高と比較します。
これにより、当日の大きな出来高によって平均値そのものが上昇し、出来高増加の検出が遅れる問題を軽減します。
平均期間は以下から選択できます。
* 任意の日数
* 月初から
* 四半期初から
* 年初来
* 決算発表後
データ数が不足している場合は、任意日数の移動平均へ自動的に切り替えることもできます。
#### 2. 相対出来高(RVOL)の表示
当日の出来高を平均出来高で割り、通常時と比較して何倍の出来高が発生しているかを表示します。
例:
* RVOL 1.00倍:平均と同程度
* RVOL 1.50倍:平均の1.5倍
* RVOL 2.00倍:平均の2倍
オシレーターでは、平均出来高を0%として表示します。
* 0%:平均と同じ
* +50%:平均の1.5倍
* +100%:平均の2倍
#### 3. 指定時刻での推定RVOL判定
最大2つの途中判定時刻を設定できます。
例:
* 10:00時点
* 15:24時点
それぞれの時刻について、「通常はその時刻までに1日の出来高の何%が消化されるか」を設定します。
例として、平均1日出来高が100万株、10:00までの通常進捗率を30%と設定し、10:00時点で45万株の出来高がある場合、推定RVOLは次のようになります。
45万株 ÷(100万株 × 30%)=1.50倍
この機能により、日足の確定を待たずに、出来高ペースが通常より速い銘柄を検出できます。
#### 4. 決算フィルター
決算発表日や決算直後は、通常とは異なる大きな出来高が発生しやすいため、購入候補から除外できます。
除外する営業日数は設定可能です。
* 0:決算日のみ除外
* 1:決算日と翌営業日を除外
* 2:決算日とその後2営業日を除外
決算日には「E」マークを表示でき、除外期間の背景色も設定できます。
#### 5. 価格条件フィルター
出来高だけでは、買いによる上昇と売りによる急落を区別できません。
そのため、以下の価格条件を任意で追加できます。
* 陽線であること
* 終値が当日の値幅上部にあること
* 直近高値を終値で突破していること
「終値位置」は、その日の安値から高値までの範囲内で、終値がどこにあるかを表します。
70%に設定した場合、終値が当日の値幅の上位30%以内にあることが必要です。
#### 6. アラート
以下のアラートを利用できます。
* 途中判定1の購入候補
* 途中判定2の購入候補
* 日足確定時の購入候補
途中判定アラートを使用する場合、PulseWireのアラート頻度は「バーにつき1回」に設定してください。
スクリプトや設定を変更した場合は、既存のアラートを削除して再作成する必要があります。
### 推奨初期設定
* チャート:日足
* 平均出来高:過去20日
* 購入候補基準:平均の150%
* 特大出来高基準:平均の200%
* 陽線条件:オン
* 終値位置:70%
* 高値突破条件:オフ
* 決算後の除外日数:1営業日
* 途中判定1:10:00
* 10:00までの出来高進捗率:30%
* 途中判定2:15:24
* 15:24までの出来高進捗率:90%
出来高の時間帯別分布は銘柄によって異なるため、進捗率は対象銘柄や市場に合わせて調整してください。
### 注意事項
このインジケーターは日足での使用を前提としています。
指定時刻のアラートは、時刻だけで自動実行されるものではありません。PulseWireが新しい価格または出来高データを受信した時点でスクリプトが再計算されます。
そのため、売買が少ない銘柄では、指定時刻ちょうどに通知されない場合があります。
また、途中判定で使用する当日の価格、出来高、ローソク足は未確定です。その後の取引によって、陽線・終値位置・高値突破などの条件が変化する可能性があります。
本インジケーターは、出来高と価格条件に基づいて銘柄候補を抽出するための補助ツールです。売買を推奨するものではなく、利益を保証するものでもありません。実際の投資判断は、価格帯別出来高、VWAP、トレンド、企業業績、流動性、リスク管理などと併せて行ってください。
## Advanced RVOL Timed Buy Candidate
This indicator is a daily-chart Relative Volume tool designed to identify stocks experiencing unusually strong volume activity.
In addition to comparing the current volume with historical average volume, it can estimate full-day relative volume from the volume accumulated by a user-defined time. This allows users to receive potential buy-candidate alerts during the morning session or shortly before the market close.
### Main Features
#### 1. Average volume excluding the current bar
The current daily bar is excluded from the average-volume calculation.
This prevents unusually high current-day volume from raising the reference average and delaying the detection of a potential volume expansion.
The following averaging periods are available:
* Custom number of days
* Month to date
* Quarter to date
* Year to date
* Since the latest earnings release
When insufficient data is available, the indicator can automatically fall back to the custom moving-average period.
#### 2. Relative Volume display
Relative Volume is calculated by dividing the current volume by the selected average volume.
Examples:
* RVOL 1.00x: volume is equal to the average
* RVOL 1.50x: volume is 1.5 times the average
* RVOL 2.00x: volume is twice the average
The oscillator uses average volume as the zero line.
* 0%: equal to average volume
* +50%: 1.5 times average volume
* +100%: twice average volume
#### 3. Time-based projected RVOL
The indicator provides two configurable intraday evaluation times.
Examples:
* 10:00
* 15:24
For each evaluation time, users can define the percentage of normal daily volume that is typically completed by that time.
For example, assume:
* Average daily volume: 1,000,000 shares
* Expected volume progress by 10:00: 30%
* Actual volume at 10:00: 450,000 shares
The projected RVOL is:
450,000 ÷ (1,000,000 × 30%) = 1.50x
This feature helps identify stocks whose volume is developing faster than normal without waiting for the daily bar to close.
#### 4. Earnings filter
Earnings announcements and the sessions immediately following them often produce unusually high volume that may not represent normal accumulation.
The earnings filter can exclude the earnings session and a configurable number of subsequent trading days.
Examples:
* 0: Exclude the earnings session only
* 1: Exclude the earnings session and the next trading day
* 2: Exclude the earnings session and the following two trading days
An “E” marker can be displayed on earnings sessions, and the excluded period can be highlighted with a background color.
#### 5. Price-action filters
High volume alone cannot distinguish strong buying pressure from heavy selling.
Optional price-action filters are therefore included:
* Require a bullish candle
* Require the close to finish in the upper portion of the daily range
* Require a closing-price breakout above a recent high
The close-location value measures where the close is positioned between the session low and high.
For example, a setting of 70% requires the close to finish within the upper 30% of the session’s range.
#### 6. Alerts
The following alert conditions are available:
* Timed evaluation 1 buy candidate
* Timed evaluation 2 buy candidate
* Daily-close buy candidate
For timed alerts, set the PulseWire alert frequency to “Once Per Bar.”
After changing the script or its input settings, existing alerts must be deleted and recreated because PulseWire alerts use a server-side snapshot of the script and settings from the time the alert was created.
### Suggested Starting Settings
* Chart timeframe: Daily
* Average-volume period: 20 days
* Buy-candidate threshold: 150% of average
* Mega-volume threshold: 200% of average
* Bullish candle filter: Enabled
* Minimum close location: 70%
* Breakout filter: Disabled
* Earnings exclusion: Earnings day plus one trading day
* Timed evaluation 1: 10:00
* Expected volume progress by 10:00: 30%
* Timed evaluation 2: 15:24
* Expected volume progress by 15:24: 90%
Intraday volume distribution varies by stock and market, so the expected volume-progress settings should be adjusted for the instruments being monitored.
### Important Notes
This indicator is designed primarily for use on the daily timeframe.
Timed alerts are not triggered by an independent clock. Pine Script recalculates when PulseWire receives a new price or volume update.
As a result, thinly traded stocks may not generate an alert at the exact selected time.
Price, volume, candle direction, close location, and breakout status remain provisional before the daily bar closes. A timed signal may therefore differ from the final daily-close result.
This indicator is a screening and decision-support tool based on volume and price conditions. It is not financial advice, does not recommend any security, and does not guarantee future performance. Users should combine its signals with additional analysis, including VWAP, volume profile, trend structure, company fundamentals, liquidity, position sizing, and risk management.
Open-source script
In true PulseWire spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by PulseWire. Read more in the Terms of Use.
Open-source script
In true PulseWire spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by PulseWire. Read more in the Terms of Use.
