OPEN-SOURCE SCRIPT
更新済 Asia Session High/Low/Mid + Range Deviations

## Asia Session Range and Deviation Levels
This indicator identifies the high, low, and midpoint established during a configurable Asian trading session. After the session closes, the completed range is projected forward as a set of reference levels that can be used to observe support, resistance, breakouts, retests, and intraday price expansion during later sessions.
### How It Works
The script tracks price throughout the selected Asian session and continuously updates:
* Asian session high
* Asian session low
* Range midpoint
* Full-range deviation levels
* Optional half-range deviation levels
Once the Asian session ends, all values are locked and remain unchanged until the next session begins.
Deviation levels are calculated from the completed Asian range:
* 0.5x, 1.5x, and 2.5x range extensions
* 1x, 2x, and 3x range extensions
The same completed range measurement is projected above the session high and below the session low.
### Line Extension Modes
The indicator provides two projection modes:
**End of Trading Day**
Completed levels extend to a configurable trading-day closing time. Their common endpoint provides a visual reference for where the selected trading day ends.
**Next Asian Session**
Completed levels remain active throughout the following sessions and terminate when the next Asian session begins.
### Session and Timezone Controls
Users can configure:
* Asian session start and end times
* Session timezone
* DST-aware timezone presets
* Manual timezone selection
* Trading-day closing hour and minute
* Number of historical sessions retained
Because Pine Script cannot automatically read the chart’s selected timezone, the indicator uses the timezone selected in its settings.
### Display Controls
The appearance of each component can be customized independently, including:
* High and low line colors
* Midpoint visibility and styling
* Full-deviation line styling
* Half-deviation line styling
* Line width and pattern
* Asian session range box
* Number of deviation levels displayed
### Intended Use
The indicator is designed as an intraday reference tool. Traders may use the completed Asian range to study how price responds to established overnight boundaries and measured range expansions during London, New York, or other subsequent sessions.
The script does not generate entries, exits, trade signals, or performance projections. Its levels are descriptive references derived from historical session prices and should be combined with the trader’s own analysis and risk-management process.
This indicator identifies the high, low, and midpoint established during a configurable Asian trading session. After the session closes, the completed range is projected forward as a set of reference levels that can be used to observe support, resistance, breakouts, retests, and intraday price expansion during later sessions.
### How It Works
The script tracks price throughout the selected Asian session and continuously updates:
* Asian session high
* Asian session low
* Range midpoint
* Full-range deviation levels
* Optional half-range deviation levels
Once the Asian session ends, all values are locked and remain unchanged until the next session begins.
Deviation levels are calculated from the completed Asian range:
* 0.5x, 1.5x, and 2.5x range extensions
* 1x, 2x, and 3x range extensions
The same completed range measurement is projected above the session high and below the session low.
### Line Extension Modes
The indicator provides two projection modes:
**End of Trading Day**
Completed levels extend to a configurable trading-day closing time. Their common endpoint provides a visual reference for where the selected trading day ends.
**Next Asian Session**
Completed levels remain active throughout the following sessions and terminate when the next Asian session begins.
### Session and Timezone Controls
Users can configure:
* Asian session start and end times
* Session timezone
* DST-aware timezone presets
* Manual timezone selection
* Trading-day closing hour and minute
* Number of historical sessions retained
Because Pine Script cannot automatically read the chart’s selected timezone, the indicator uses the timezone selected in its settings.
### Display Controls
The appearance of each component can be customized independently, including:
* High and low line colors
* Midpoint visibility and styling
* Full-deviation line styling
* Half-deviation line styling
* Line width and pattern
* Asian session range box
* Number of deviation levels displayed
### Intended Use
The indicator is designed as an intraday reference tool. Traders may use the completed Asian range to study how price responds to established overnight boundaries and measured range expansions during London, New York, or other subsequent sessions.
The script does not generate entries, exits, trade signals, or performance projections. Its levels are descriptive references derived from historical session prices and should be combined with the trader’s own analysis and risk-management process.
リリースノート
cosmetic changeリリースノート
added the toggle feature for extending lines to the eod or until the start of the next sessionオープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。