거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
지표

Session Daylight Gradient — Ambient Forex Session Overlay - MetaTrader 5용 지표

조회수:
308
평가:
(2)
게시됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

session-daylight

Overview

Session Daylight Gradient is an ambient session awareness indicator for MetaTrader 5.
Instead of drawing heavy session boxes, it uses a soft background gradient that visually communicates the current market regime—quiet hours, rising activity, peak volatility, and fade-out—at a glance.

This helps traders stay aligned with typical session behavior without cluttering the chart.


What You See on the Chart

  • Session Daylight Background:
    A colored gradient that changes smoothly through the trading day:

    • Pacific (quiet / reset)

    • Asia (range / consolidation)

    • London (activity increase)

    • London/NY overlap (peak volatility)

    • NY fade-out into Pacific

  • Session Event Markers (optional):
    Vertical separator lines and compact labels for key events such as:

    • Asia Open / Asia Close

    • London Open / London Session

    • NY Open (overlap start)

    • London Close

    • NY Close / Pacific Open

  • Sunrays (optional):
    Add highlighted time windows for scheduled events (e.g., economic news).
    You can enter multiple times in a simple list, and each is drawn as a “sunray” band around the timestamp.


Why It’s Useful

Most session indicators show boxes that dominate the chart. This indicator focuses on low-noise, high-information visuals:

  • You instantly sense whether you are in a calmer session or a high-volatility window.

  • The background is subtle (opacity adjustable), so price action remains the priority.

  • Event markers give structure without forcing you to read a timetable every day.


Timezone Handling (Important)

Markets trade globally, but brokers and PCs can use different time references.
This indicator provides three modes:

  • UTC — Recommended for consistent global session definitions.

  • Broker/Server Time — Uses your broker’s server time (chart time).

  • PC Local Time — Uses your computer’s local time.

Additionally, you can apply a Manual DST Shift (hours) to correct cases where daylight saving time causes session alignment to appear off by one hour.


Main Inputs

General Settings

  • EnableGradient — Enable/disable the background gradient.

  • EnableSunrays — Enable/disable news highlight bands.

  • SessionTimeMode — Choose UTC / Broker-Server / PC Local.

  • ManualDSTShiftHours — Manually shift session reference by hours (+1 / -1 / 0).

Session Times (HH:MM)

Customize session windows using simple strings:

  • AsiaStart / AsiaEnd

  • LondonOpenStart / LondonOpenEnd

  • OverlapStart / OverlapEnd

  • NYCloseStart / NYCloseEnd

  • PacificStart / PacificEnd (wraps midnight by design)

Colors & Intensity

  • PacificColor , AsiaColor , LondonColor , NYColor

  • MaxOpacity — Controls how subtle the background is (0–255).

  • SmoothingStrength — Smooth transition strength.

Visual Separators

  • ShowSessionLines

  • SessionLineColor , SessionLineStyle , SessionLineWidth

Sunrays

  • SunrayTimes — Example: 14:30; 16:00 or 2026-01-11 14:30; 16:00

  • SunrayWidthMinutes , SunrayOpacity , SunrayColor


Performance Notes

The indicator draws chart objects (rectangles/lines/text) only for the visible range plus a buffer.
If you use very low timeframes with a large visible history, consider reducing visible bars or disabling some visual features for maximum responsiveness.


Typical Workflow

  1. Attach the indicator to any chart.

  2. Set SessionTimeMode to UTC (recommended).

  3. If sessions appear shifted, adjust ManualDSTShiftHours .

  4. Enable ShowSessionLines for clearer structure.

  5. Add SunrayTimes if you want news/event highlights.




CPlotManager (Auto Buffer and Plot Manager) CPlotManager (Auto Buffer and Plot Manager)

Automates MQL5 buffer and plot index management. Eliminates manual counting, simplifies Z-order layering, and handles complex plot types (Candles, Color Lines) with a single line of code.

The Playground Series v1 to V4 - A combination of trading concepts The Playground Series v1 to V4 - A combination of trading concepts

The Playground EA series was created for experimentation with Fair Value Gaps (FVGs) and liquidity concepts

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

MACD Signals MACD Signals

Indicator edition for new platform.