OPEN-SOURCE SCRIPT
Aktualisiert 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.
Versionshinweise
🕒 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.
Versionshinweise
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.Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.