OPEN-SOURCE SCRIPT
更新済 StonkGame Major Market Open/Close

Plots vertical lines for Tokyo, London, and New York session opens and closes — auto-adjusted to your chart's timezone.
Open lines = lighter, dashed style.
Close lines = solid, full-color style.
Helps identify key liquidity windows, session-driven volatility, and clean market structure — without chart clutter.
Fully customizable colors and line styles for a professional, minimal look.
Open lines = lighter, dashed style.
Close lines = solid, full-color style.
Helps identify key liquidity windows, session-driven volatility, and clean market structure — without chart clutter.
Fully customizable colors and line styles for a professional, minimal look.
リリースノート
🕒 StonkGame Major Market SessionsThis script plots vertical lines for the open and close of Tokyo, London, and New York trading sessions, adjusted to your selected timezone.
✅ Fully customizable:
• Choose which sessions to display
• Set your timezone (e.g., New York, London, UTC, Tokyo)
• Customize line colors and styles
• Includes alert options for NY Open/Close
📌 Instructions:
Add to chart
Open settings ⚙️
Select your timezone
Toggle sessions and customize appearance
Ideal for intraday traders who rely on session-based volatility and flow timing.
Built with clean Pine Script v6 and best practices.
リリースノート
Cleaned up the code and removed the alert functions since they weren’t really needed. Rewrote the time match logic to be more reliable across timeframes and cleaned up some helper functions to make the whole thing more efficient and easier to read. Also updated the chart screenshot to actually show what the script is supposed to look like — just the session lines, nothing else cluttering it.オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。