karaaliissa

Forex Session

This Trading View script highlights the trading sessions for New York, European, and Asian markets on the chart and adds labels at the start of each session. The script uses Pine Script version 5 and converts local session times to UTC to accurately display the session times regardless of your local Time zone.

Features :

Session Times:
New York: 8:30 AM to 3:00 PM (Eastern Time, GMT-4)
European: 8:00 AM to 4:30 PM (London Time, GMT+1)
Asian: 9:00 AM to 6:00 PM (Tokyo Time, GMT+9)

Background Highlighting: The script shades the background for each session.
New York Session: Blue
European Session: Green
Asian Session: Red
Today's sessions are shaded with 90% opacity.
Tomorrow's sessions are shaded with 70% opacity.

How It Works :

Session Times Conversion: The script converts the session times from local timezones to UTC
using the timestamp function.

Background Coloring: The bgcolor function is used to shade the background for each session.
نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟