OPEN-SOURCE SCRIPT
Opening Range Formation Trace - ORB & Initial Balance

Opening Range Formation Trace is an intraday research indicator that records a configurable opening range, preserves the chronology of its formation, and tracks neutral post-range evidence after the range is complete.
It is intended for users who want to study more than the final opening-range high and low. The script focuses on how the range was built, when its extremes formed, how efficiently price traveled during the opening window, and what occurred after the range locked.
The default opening-range duration is 15 minutes. Setting Range duration to 60 minutes provides an Initial Balance-style workflow.
Session configuration
The script includes reference presets for:
- US equities open
- Tokyo cash open
- London cash open
- CME equity regular trading hours
- Exchange-time opening
- Custom IANA timezone and opening time
The opening time, duration, active weekdays, projection period, and sampling resolution are configurable.
Session presets are editable reference anchors. They are not an exchange holiday or early-close calendar. Users should confirm that the selected opening time and chart session match the instrument being studied.
What makes this implementation distinct
Cumulative formation trace
A conventional opening-range display normally shows only the completed high and low. This script also preserves cumulative high-low envelopes at configurable elapsed-time checkpoints during the opening window.
Each trace slice shows the range that had been reached by that point in time. The slices are cumulative and are not treated as independent mini-ranges.
The trace colors distinguish whether a checkpoint added:
- Upper-side expansion
- Lower-side expansion
- Expansion on both sides
- No new final extreme
This makes it possible to inspect whether the opening range developed through an early directional move, alternating expansion, late acceleration, or rotation.
Independent research checkpoints
The visual trace can use between two and eight time slices. Formation classification does not depend on the selected number of visual slices.
Classification uses separate fixed research checkpoints:
- The halfway point of the opening-range duration
- A user-configurable early checkpoint
This separation allows users to change visual detail without unintentionally changing the definition of the formation classification.
Opening-range measurements
The script calculates the following transparent measurements:
Opening-range width
The completed high-low distance. It is available in native price units and as a percentage of the sampled opening price.
Width percentile
The current width is compared with prior complete opening ranges calculated from the same current configuration.
At least five prior complete observations are required before a percentile is displayed. Equal values receive a midpoint rank. The current observation is ranked before it is added to the comparison history.
The percentile is a relative description of recent opening-range width. It is not a probability of a breakout, target, or profitable result.
Sampled path efficiency
Path efficiency compares the absolute distance from the opening sample to the final sampled close with the cumulative sampled closing-price path traveled during the opening window.
A higher value indicates a more direct sampled path. A lower value indicates more back-and-forth movement.
Path efficiency is descriptive. It is not a confidence score or prediction.
Close location
Close location expresses where the final sampled close sits inside the completed range.
A value near zero is close to the range low. A value near one is close to the range high.
Expansion skew
Expansion skew compares the distance expanded above the opening price with the distance expanded below it.
Positive values indicate more upper-side expansion. Negative values indicate more lower-side expansion. Values near zero indicate more balanced expansion.
Late expansion share
Late expansion share measures how much of the final opening-range width was added after the halfway checkpoint.
This value describes when the range expanded. It does not forecast the next move.
Early checkpoint width share
This measures how much of the final width had already formed at the independent early checkpoint.
Final extreme order
The script records whether the final high or final low was first established earlier in the sampled sequence. When both final extremes are first observed in the same sampled interval, the order is reported as simultaneous rather than inventing a more precise sequence.
Formation classifications
Completed and non-partial opening ranges are assigned to one of eight descriptive formation states:
- Upper-led drive
- Lower-led drive
- Late upper expansion
- Late lower expansion
- Late two-sided expansion
- Rotational formation
- Two-sided formation
- Mixed formation
The classifications are derived from path efficiency, close location, expansion skew, late expansion share, and early checkpoint width share.
All classification thresholds are exposed as user inputs. The classifications are descriptive research labels and are not buy or sell signals.
Research equilibrium
The script can display one of four opening-range equilibrium references:
- Volume-weighted sampled HLC3
- Arithmetic mean of sampled HLC3
- Opening-range midpoint
- Sampled opening price
When usable volume is unavailable, the volume-weighted method falls back to the arithmetic mean of sampled HLC3.
Post-range evidence
After a complete opening range locks, the script can track a neutral sequence of observable events.
Accepted departure
The first accepted departure can occur above or below the completed range.
Users can define acceptance using:
- Sample close
- Sample wick
- A buffer measured as a fraction of the completed range
- A required number of consecutive samples
The word accepted refers only to this configurable operational definition. It does not claim institutional participation or predict continuation.
Re-entry
After the first accepted departure, the script records whether price returns through the departed range boundary.
Opposite-edge traverse
After re-entry, the script records whether a later sample reaches the opposite opening-range edge.
Re-entry and opposite-edge traversal are not credited from the same sampled interval. The opposite edge is evaluated only from a later sample so the script does not invent an intrabar order that the available data cannot prove.
Additional post-range observations include:
- Upper-edge test count
- Lower-edge test count
- Closing-sample dwell inside, above, and below the range
- Maximum upper reach measured in completed-range units
- Maximum lower reach measured in completed-range units
Visual research panel
The fixed research panel summarizes the rightmost relevant opening range in the current chart view.
It can display:
- Formation classification
- Width percentile
- Path efficiency
- Late expansion share
- Current post-range state
- Accepted-departure, re-entry, and traverse progression
- Upper and lower edge-test counts
- Maximum reach above and below the range
- Sampling or fallback resolution
The panel is a research summary. Its colors and state labels do not constitute trade instructions.
Realtime and historical behavior
The script is designed for standard intraday candlestick charts.
It intentionally disables processing on synthetic chart types and daily-or-higher charts because their price construction or session assumptions can make opening-range chronology ambiguous.
Lower-timeframe sampling can be selected from 1, 3, 5, or 15 minutes. When the selected sampling timeframe is higher than the chart timeframe, the chart timeframe is used instead.
During a live opening window, the developing high, low, trace, equilibrium, and panel can update as new completed samples become available. Developing values should therefore be treated as provisional until the configured range has ended.
The script does not request future data and does not use lookahead.
Historical lower-timeframe bars contain finalized OHLC values. They do not reproduce every update that occurred while those bars were live.
Visible chart adaptive mode
In Visible chart adaptive mode, the script uses the current chart viewport to prioritize opening-range sessions that intersect the displayed period. Scrolling or zooming causes the visual layer to be recalculated for the newly visible history.
Most recent sessions mode is also available for users who prefer a rolling, live-first display.
Confirmed chart-bar fallback
The amount of available lower-timeframe history depends on the symbol, chart history, and TradingView plan.
When lower-timeframe arrays are unavailable on older confirmed bars, the optional fallback can continue the study with confirmed chart-timeframe bars if the chart timeframe can fit inside the configured opening-range duration.
Fallback sessions are identified as coarse-resolution observations in the research panel. They should not be interpreted as having the same chronological precision as lower-timeframe sessions.
If the first available sample begins after the configured session open, the session is marked as partial. Formation classification, width-history inclusion, and post-range evidence are intentionally disabled for that incomplete session.
Alerts and Data Window outputs
Neutral alert conditions are available for:
- Opening range locked
- Accepted departure above
- Accepted departure below
- Range re-entry
- Opposite-edge traverse
The alert conditions describe observable events and are exposed on confirmed chart bars.
Research measurements are also available in the Data Window without adding values to the chart status line.
Suggested workflow
1. Use a standard intraday candlestick chart.
2. Select the session preset or custom timezone and opening time that match the intended research window.
3. Set the opening-range duration. Use 60 minutes for an Initial Balance-style study.
4. Select the finest practical sampling resolution available for the chart and instrument.
5. Review the formation trace before interpreting the completed classification.
6. Use the panel to compare width, path efficiency, late expansion, and the post-range event sequence.
7. Treat all readings as market-context observations and combine them with independent analysis and risk controls.
Limitations
The script does not maintain an official exchange calendar and does not automatically adjust for holidays or early closes.
Results depend on the selected session, duration, sampling timeframe, chart session, and classification thresholds.
Historical lower-timeframe availability varies by symbol and TradingView plan.
Coarse chart-bar fallback has lower chronological resolution than lower-timeframe sampling.
Volume-weighted equilibrium depends on the quality and meaning of the volume data supplied for the instrument.
Width percentile describes the script's available comparison sample and is not a probability of future behavior.
Formation classifications and post-range evidence describe observed price behavior. They do not guarantee continuation, reversal, support, resistance, or profitability.
The script does not place orders, calculate position size, generate targets or stops, produce a strategy backtest, or provide financial advice.
日本語説明
Opening Range Formation Traceは、設定した寄り付きレンジを記録し、そのレンジがどのような順序と速度で形成されたか、完成後に価格がどのように推移したかを研究するための日中足インジケーターです。
完成した高値と安値だけでなく、形成途中の累積高安、最終極値の記録順序、経路効率、上下拡張の偏り、後半拡張比率などを表示します。
既定の形成時間は15分です。形成時間を60分に設定すると、Initial Balance型の研究に使用できます。
セッション設定
以下の基準時刻プリセットを備えています。
- 米国株式市場
- 東京現物市場
- ロンドン現物市場
- CME株価指数RTH
- 取引所時間
- IANA時間帯と開始時刻を指定するカスタム設定
これらは編集可能な基準時刻です。取引所の祝日や短縮取引日を自動判定する公式カレンダーではありません。
累積形成トレース
形成時間を2から8個の経過時間区間に分け、各時点までに到達していた累積高値と累積安値を保存します。
各区間は独立した小レンジではありません。
色によって、上側拡張、下側拡張、両側拡張、新しい最終極値なしを区別します。
形成分類で使用する50%地点と初動チェックポイントは、表示トレースの分割数から独立しています。そのため、表示の細かさを変更しても分類定義が意図せず変化しません。
主な研究値
レンジ幅
完成した高値と安値の差です。価格単位と始値比率で確認できます。
幅パーセンタイル
現在の設定で計算された過去の完全なレンジ幅と比較します。
表示には最低5件の過去観測が必要です。同値は中間順位として扱い、現在値を履歴へ追加する前に順位を計算します。
この順位は過去レンジ幅に対する相対位置であり、ブレイクや利益の確率ではありません。
経路効率
寄り付きサンプルからレンジ内最終終値までの純移動距離を、形成中に終値が移動した累積経路で割った値です。
高い値は比較的直接的な経路、低い値は往復の多い経路を示します。予測の信頼度ではありません。
終値位置
完成レンジ内での最終終値位置を0から1で表します。
拡張偏り
始値より上へ拡張した距離と、始値より下へ拡張した距離を比較します。
後半拡張比率
形成時間の50%地点以降に追加された最終レンジ幅の比率です。
初動幅比率
ユーザー指定の初動チェックポイント時点で、最終レンジ幅の何割が既に形成されていたかを示します。
形成分類
完全なレンジを以下の8状態へ分類します。
- 上側主導ドライブ
- 下側主導ドライブ
- 後半上側拡張
- 後半下側拡張
- 後半両側拡張
- 回転型形成
- 両側形成
- 混合形成
分類は経路効率、終値位置、拡張偏り、後半拡張比率、初動幅比率から判定します。
すべての基準値をユーザーが変更できます。分類は研究用の記述であり、売買シグナルではありません。
レンジ後の検証
レンジ完成後は、以下の順序を中立的に記録します。
受容離脱
完成レンジの上側または下側への最初の受容離脱です。
終値またはヒゲ、レンジ幅に対する余白、必要な連続サンプル数を設定できます。
受容という言葉は、この設定による操作的な判定だけを意味します。機関投資家の参加や継続を保証するものではありません。
再侵入
最初の受容離脱後に、価格が離脱したレンジ境界を通って戻ったかを記録します。
反対端到達
再侵入後の、より後のサンプルで反対側のレンジ端へ到達したかを記録します。
再侵入と反対端到達を同一サンプルから同時に認定せず、利用可能なデータから証明できない時系列を作らない設計です。
上端と下端のテスト回数、レンジ内外の終値滞在比率、レンジ幅を1Rとした上下最大到達量も記録します。
リアルタイムと過去表示
標準の日中足ローソク足チャートを対象としています。
合成足および日足以上では、セッション時系列が曖昧になるため処理を停止します。
サンプリング足は1分、3分、5分、15分から選択できます。
リアルタイムのレンジ形成中は、新しい確定サンプルに応じて高値、安値、トレース、均衡値、研究パネルが更新されます。形成終了までは発展中の値として扱ってください。
将来データやlookaheadは使用しません。
表示中チャート適応モードでは、スクロールまたはズームした期間と交差する過去セッションを優先して再描画します。
古い履歴で下位足を取得できない場合、条件を満たす確定チャート足を使うフォールバックを選択できます。フォールバックを使用したセッションは、研究パネルで粗い解像度として明示します。
開始前半のデータがないセッションは不完全レンジとして表示し、形成分類、幅履歴への追加、レンジ後検証を停止します。
制限事項
取引所の祝日や短縮取引日を自動判定しません。
結果はセッション、形成時間、サンプリング足、チャートセッション、分類しきい値によって変わります。
利用できる下位足履歴は、銘柄、履歴量、TradingViewプランによって異なります。
チャート足フォールバックは、下位足処理よりも時系列解像度が低くなります。
出来高加重均衡値は、銘柄から提供される出来高データの品質に依存します。
幅パーセンタイルは利用可能な過去標本内の順位であり、将来の確率ではありません。
形成分類とレンジ後イベントは観測された値動きを記述するものであり、継続、反転、支持、抵抗、利益を保証しません。
このインジケーターは注文、ポジションサイズ、利益目標、損切り、ストラテジーバックテストを提供せず、金融助言を行うものではありません。
It is intended for users who want to study more than the final opening-range high and low. The script focuses on how the range was built, when its extremes formed, how efficiently price traveled during the opening window, and what occurred after the range locked.
The default opening-range duration is 15 minutes. Setting Range duration to 60 minutes provides an Initial Balance-style workflow.
Session configuration
The script includes reference presets for:
- US equities open
- Tokyo cash open
- London cash open
- CME equity regular trading hours
- Exchange-time opening
- Custom IANA timezone and opening time
The opening time, duration, active weekdays, projection period, and sampling resolution are configurable.
Session presets are editable reference anchors. They are not an exchange holiday or early-close calendar. Users should confirm that the selected opening time and chart session match the instrument being studied.
What makes this implementation distinct
Cumulative formation trace
A conventional opening-range display normally shows only the completed high and low. This script also preserves cumulative high-low envelopes at configurable elapsed-time checkpoints during the opening window.
Each trace slice shows the range that had been reached by that point in time. The slices are cumulative and are not treated as independent mini-ranges.
The trace colors distinguish whether a checkpoint added:
- Upper-side expansion
- Lower-side expansion
- Expansion on both sides
- No new final extreme
This makes it possible to inspect whether the opening range developed through an early directional move, alternating expansion, late acceleration, or rotation.
Independent research checkpoints
The visual trace can use between two and eight time slices. Formation classification does not depend on the selected number of visual slices.
Classification uses separate fixed research checkpoints:
- The halfway point of the opening-range duration
- A user-configurable early checkpoint
This separation allows users to change visual detail without unintentionally changing the definition of the formation classification.
Opening-range measurements
The script calculates the following transparent measurements:
Opening-range width
The completed high-low distance. It is available in native price units and as a percentage of the sampled opening price.
Width percentile
The current width is compared with prior complete opening ranges calculated from the same current configuration.
At least five prior complete observations are required before a percentile is displayed. Equal values receive a midpoint rank. The current observation is ranked before it is added to the comparison history.
The percentile is a relative description of recent opening-range width. It is not a probability of a breakout, target, or profitable result.
Sampled path efficiency
Path efficiency compares the absolute distance from the opening sample to the final sampled close with the cumulative sampled closing-price path traveled during the opening window.
A higher value indicates a more direct sampled path. A lower value indicates more back-and-forth movement.
Path efficiency is descriptive. It is not a confidence score or prediction.
Close location
Close location expresses where the final sampled close sits inside the completed range.
A value near zero is close to the range low. A value near one is close to the range high.
Expansion skew
Expansion skew compares the distance expanded above the opening price with the distance expanded below it.
Positive values indicate more upper-side expansion. Negative values indicate more lower-side expansion. Values near zero indicate more balanced expansion.
Late expansion share
Late expansion share measures how much of the final opening-range width was added after the halfway checkpoint.
This value describes when the range expanded. It does not forecast the next move.
Early checkpoint width share
This measures how much of the final width had already formed at the independent early checkpoint.
Final extreme order
The script records whether the final high or final low was first established earlier in the sampled sequence. When both final extremes are first observed in the same sampled interval, the order is reported as simultaneous rather than inventing a more precise sequence.
Formation classifications
Completed and non-partial opening ranges are assigned to one of eight descriptive formation states:
- Upper-led drive
- Lower-led drive
- Late upper expansion
- Late lower expansion
- Late two-sided expansion
- Rotational formation
- Two-sided formation
- Mixed formation
The classifications are derived from path efficiency, close location, expansion skew, late expansion share, and early checkpoint width share.
All classification thresholds are exposed as user inputs. The classifications are descriptive research labels and are not buy or sell signals.
Research equilibrium
The script can display one of four opening-range equilibrium references:
- Volume-weighted sampled HLC3
- Arithmetic mean of sampled HLC3
- Opening-range midpoint
- Sampled opening price
When usable volume is unavailable, the volume-weighted method falls back to the arithmetic mean of sampled HLC3.
Post-range evidence
After a complete opening range locks, the script can track a neutral sequence of observable events.
Accepted departure
The first accepted departure can occur above or below the completed range.
Users can define acceptance using:
- Sample close
- Sample wick
- A buffer measured as a fraction of the completed range
- A required number of consecutive samples
The word accepted refers only to this configurable operational definition. It does not claim institutional participation or predict continuation.
Re-entry
After the first accepted departure, the script records whether price returns through the departed range boundary.
Opposite-edge traverse
After re-entry, the script records whether a later sample reaches the opposite opening-range edge.
Re-entry and opposite-edge traversal are not credited from the same sampled interval. The opposite edge is evaluated only from a later sample so the script does not invent an intrabar order that the available data cannot prove.
Additional post-range observations include:
- Upper-edge test count
- Lower-edge test count
- Closing-sample dwell inside, above, and below the range
- Maximum upper reach measured in completed-range units
- Maximum lower reach measured in completed-range units
Visual research panel
The fixed research panel summarizes the rightmost relevant opening range in the current chart view.
It can display:
- Formation classification
- Width percentile
- Path efficiency
- Late expansion share
- Current post-range state
- Accepted-departure, re-entry, and traverse progression
- Upper and lower edge-test counts
- Maximum reach above and below the range
- Sampling or fallback resolution
The panel is a research summary. Its colors and state labels do not constitute trade instructions.
Realtime and historical behavior
The script is designed for standard intraday candlestick charts.
It intentionally disables processing on synthetic chart types and daily-or-higher charts because their price construction or session assumptions can make opening-range chronology ambiguous.
Lower-timeframe sampling can be selected from 1, 3, 5, or 15 minutes. When the selected sampling timeframe is higher than the chart timeframe, the chart timeframe is used instead.
During a live opening window, the developing high, low, trace, equilibrium, and panel can update as new completed samples become available. Developing values should therefore be treated as provisional until the configured range has ended.
The script does not request future data and does not use lookahead.
Historical lower-timeframe bars contain finalized OHLC values. They do not reproduce every update that occurred while those bars were live.
Visible chart adaptive mode
In Visible chart adaptive mode, the script uses the current chart viewport to prioritize opening-range sessions that intersect the displayed period. Scrolling or zooming causes the visual layer to be recalculated for the newly visible history.
Most recent sessions mode is also available for users who prefer a rolling, live-first display.
Confirmed chart-bar fallback
The amount of available lower-timeframe history depends on the symbol, chart history, and TradingView plan.
When lower-timeframe arrays are unavailable on older confirmed bars, the optional fallback can continue the study with confirmed chart-timeframe bars if the chart timeframe can fit inside the configured opening-range duration.
Fallback sessions are identified as coarse-resolution observations in the research panel. They should not be interpreted as having the same chronological precision as lower-timeframe sessions.
If the first available sample begins after the configured session open, the session is marked as partial. Formation classification, width-history inclusion, and post-range evidence are intentionally disabled for that incomplete session.
Alerts and Data Window outputs
Neutral alert conditions are available for:
- Opening range locked
- Accepted departure above
- Accepted departure below
- Range re-entry
- Opposite-edge traverse
The alert conditions describe observable events and are exposed on confirmed chart bars.
Research measurements are also available in the Data Window without adding values to the chart status line.
Suggested workflow
1. Use a standard intraday candlestick chart.
2. Select the session preset or custom timezone and opening time that match the intended research window.
3. Set the opening-range duration. Use 60 minutes for an Initial Balance-style study.
4. Select the finest practical sampling resolution available for the chart and instrument.
5. Review the formation trace before interpreting the completed classification.
6. Use the panel to compare width, path efficiency, late expansion, and the post-range event sequence.
7. Treat all readings as market-context observations and combine them with independent analysis and risk controls.
Limitations
The script does not maintain an official exchange calendar and does not automatically adjust for holidays or early closes.
Results depend on the selected session, duration, sampling timeframe, chart session, and classification thresholds.
Historical lower-timeframe availability varies by symbol and TradingView plan.
Coarse chart-bar fallback has lower chronological resolution than lower-timeframe sampling.
Volume-weighted equilibrium depends on the quality and meaning of the volume data supplied for the instrument.
Width percentile describes the script's available comparison sample and is not a probability of future behavior.
Formation classifications and post-range evidence describe observed price behavior. They do not guarantee continuation, reversal, support, resistance, or profitability.
The script does not place orders, calculate position size, generate targets or stops, produce a strategy backtest, or provide financial advice.
日本語説明
Opening Range Formation Traceは、設定した寄り付きレンジを記録し、そのレンジがどのような順序と速度で形成されたか、完成後に価格がどのように推移したかを研究するための日中足インジケーターです。
完成した高値と安値だけでなく、形成途中の累積高安、最終極値の記録順序、経路効率、上下拡張の偏り、後半拡張比率などを表示します。
既定の形成時間は15分です。形成時間を60分に設定すると、Initial Balance型の研究に使用できます。
セッション設定
以下の基準時刻プリセットを備えています。
- 米国株式市場
- 東京現物市場
- ロンドン現物市場
- CME株価指数RTH
- 取引所時間
- IANA時間帯と開始時刻を指定するカスタム設定
これらは編集可能な基準時刻です。取引所の祝日や短縮取引日を自動判定する公式カレンダーではありません。
累積形成トレース
形成時間を2から8個の経過時間区間に分け、各時点までに到達していた累積高値と累積安値を保存します。
各区間は独立した小レンジではありません。
色によって、上側拡張、下側拡張、両側拡張、新しい最終極値なしを区別します。
形成分類で使用する50%地点と初動チェックポイントは、表示トレースの分割数から独立しています。そのため、表示の細かさを変更しても分類定義が意図せず変化しません。
主な研究値
レンジ幅
完成した高値と安値の差です。価格単位と始値比率で確認できます。
幅パーセンタイル
現在の設定で計算された過去の完全なレンジ幅と比較します。
表示には最低5件の過去観測が必要です。同値は中間順位として扱い、現在値を履歴へ追加する前に順位を計算します。
この順位は過去レンジ幅に対する相対位置であり、ブレイクや利益の確率ではありません。
経路効率
寄り付きサンプルからレンジ内最終終値までの純移動距離を、形成中に終値が移動した累積経路で割った値です。
高い値は比較的直接的な経路、低い値は往復の多い経路を示します。予測の信頼度ではありません。
終値位置
完成レンジ内での最終終値位置を0から1で表します。
拡張偏り
始値より上へ拡張した距離と、始値より下へ拡張した距離を比較します。
後半拡張比率
形成時間の50%地点以降に追加された最終レンジ幅の比率です。
初動幅比率
ユーザー指定の初動チェックポイント時点で、最終レンジ幅の何割が既に形成されていたかを示します。
形成分類
完全なレンジを以下の8状態へ分類します。
- 上側主導ドライブ
- 下側主導ドライブ
- 後半上側拡張
- 後半下側拡張
- 後半両側拡張
- 回転型形成
- 両側形成
- 混合形成
分類は経路効率、終値位置、拡張偏り、後半拡張比率、初動幅比率から判定します。
すべての基準値をユーザーが変更できます。分類は研究用の記述であり、売買シグナルではありません。
レンジ後の検証
レンジ完成後は、以下の順序を中立的に記録します。
受容離脱
完成レンジの上側または下側への最初の受容離脱です。
終値またはヒゲ、レンジ幅に対する余白、必要な連続サンプル数を設定できます。
受容という言葉は、この設定による操作的な判定だけを意味します。機関投資家の参加や継続を保証するものではありません。
再侵入
最初の受容離脱後に、価格が離脱したレンジ境界を通って戻ったかを記録します。
反対端到達
再侵入後の、より後のサンプルで反対側のレンジ端へ到達したかを記録します。
再侵入と反対端到達を同一サンプルから同時に認定せず、利用可能なデータから証明できない時系列を作らない設計です。
上端と下端のテスト回数、レンジ内外の終値滞在比率、レンジ幅を1Rとした上下最大到達量も記録します。
リアルタイムと過去表示
標準の日中足ローソク足チャートを対象としています。
合成足および日足以上では、セッション時系列が曖昧になるため処理を停止します。
サンプリング足は1分、3分、5分、15分から選択できます。
リアルタイムのレンジ形成中は、新しい確定サンプルに応じて高値、安値、トレース、均衡値、研究パネルが更新されます。形成終了までは発展中の値として扱ってください。
将来データやlookaheadは使用しません。
表示中チャート適応モードでは、スクロールまたはズームした期間と交差する過去セッションを優先して再描画します。
古い履歴で下位足を取得できない場合、条件を満たす確定チャート足を使うフォールバックを選択できます。フォールバックを使用したセッションは、研究パネルで粗い解像度として明示します。
開始前半のデータがないセッションは不完全レンジとして表示し、形成分類、幅履歴への追加、レンジ後検証を停止します。
制限事項
取引所の祝日や短縮取引日を自動判定しません。
結果はセッション、形成時間、サンプリング足、チャートセッション、分類しきい値によって変わります。
利用できる下位足履歴は、銘柄、履歴量、TradingViewプランによって異なります。
チャート足フォールバックは、下位足処理よりも時系列解像度が低くなります。
出来高加重均衡値は、銘柄から提供される出来高データの品質に依存します。
幅パーセンタイルは利用可能な過去標本内の順位であり、将来の確率ではありません。
形成分類とレンジ後イベントは観測された値動きを記述するものであり、継続、反転、支持、抵抗、利益を保証しません。
このインジケーターは注文、ポジションサイズ、利益目標、損切り、ストラテジーバックテストを提供せず、金融助言を行うものではありません。
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.