ما الذي يعرضه
- Active global session windows
- London–New York overlap
- Configurable session times and timezone
Highlights Asia, London, New York and overlap windows using a configurable timezone.
//@version=6
indicator("Chartara — Session Lantern", overlay = true)
// Educational session overlay. Session labels do not imply liquidity or execution quality.
string timezoneInput = input.string("Etc/UTC", "Timezone")
string asiaSession = input.session("0000-0800:23456", "Asia session")
string londonSession = input.session("0800-1600:23456", "London session")
string newYorkSession = input.session("1300-2100:23456", "New York session")
bool showAsia = input.bool(true, "Show Asia")
bool showLondon = input.bool(true, "Show London")
bool showNewYork = input.bool(true, "Show New York")
bool inAsia = showAsia and not na(time(timeframe.period, asiaSession, timezoneInput))
bool inLondon = showLondon and not na(time(timeframe.period, londonSession, timezoneInput))
bool inNewYork = showNewYork and not na(time(timeframe.period, newYorkSession, timezoneInput))
color sessionColor = inLondon and inNewYork ? color.new(#B594FF, 84) : inNewYork ? color.new(#7CA8FF, 88) : inLondon ? color.new(#43D9B3, 88) : inAsia ? color.new(#F4C95D, 90) : na
bgcolor(sessionColor, title = "Active session")
plotchar(inAsia and not inAsia[1], "Asia opens", "A", location.top, color = #C59A25, size = size.tiny)
plotchar(inLondon and not inLondon[1], "London opens", "L", location.top, color = #16A085, size = size.tiny)
plotchar(inNewYork and not inNewYork[1], "New York opens", "N", location.top, color = #4D7FEA, size = size.tiny)
كل دليل يقود إلى مقارنة ذات صلة وليس إلى تسجيل إجباري.
هذا المحتوى للتثقيف والمعلومات العامة فقط، وليس نصيحة استثمارية أو مالية أو قانونية أو ضريبية. ينطوي تداول الفوركس وعقود الفروقات على مخاطر مرتفعة وقد يؤدي إلى خسارة كامل الأموال. تحقّق بشكل مستقل من القانون والتراخيص والشروط والملاءمة قبل اتخاذ أي قرار. لا تضمن Chartara الدقة أو الاكتمال أو النتائج.