
DML SmartMoneyZone
DML SmartMoneyZone is a specialized tool for the MetaTrader platform, used to identify and visualize zones of stability and liquidity flow in the market. The indicator analyzes historical data from the DeepMarketLevel.com service to automatically detect and draw periods on the chart where the DML level's value remained unchanged for a specified time.
For the indicator to work correctly, you must download the appropriate DLL library and add your trading account number in the "Licenses" tab on the DeepMarketLevel.com website to authorize the downloading of DML levels for that account.

Global Parameters
Basic global settings for the indicator.
- Symbol Selection Mode: Symbol selection. `Automatic` detects the symbol from the chart. `Manual` allows for custom input below.
- Manual Name For Symbol: A field for manually entering the instrument's name (e.g., `EURUSD`).
- Broker Server Time (GMT): The time offset of the broker's server relative to GMT (UTC+0), crucial for correct data synchronization.
- Magic Number: A unique identification number. Must be changed if you use multiple instances of the indicator on the same symbol.

Candles Parameters
Parameters that define how the indicator identifies and draws FlowZone areas.
- Days Look Back: How far back (in days) the zones should be displayed on the chart.
- Days History to Download: How many days of history should be downloaded from the DML server for analysis.
- Tolerance [Points]: The tolerance in points, which determines how close subsequent level values must be to be considered stable. When this level is exceeded, the indicator automatically identifies the end of the SmartMoneyZone.
- Min Minutes In Line: The minimum time (in minutes) that a level must be stable for a price movement beyond that level to automatically identify the end of the SmartMoneyZone.
- Plot FlowZone Big/Small Candles: Options for drawing FlowZone areas as one large or multiple smaller, consecutive candles. FlowZone areas interrupt the drawing of SmartMoneyZone areas.
- Start/Stop Display Time: The hours during which the zones will be visible on the chart.

Visual Parameters
Appearance settings for SmartMoneyZone areas.
- Fill Candle: Fills the rectangles representing the zone bodies with color.
- Up/Down Bar Body/Wick Color: Defines colors for the bodies and wicks of bullish and bearish zones.
- Line Colors: Allows defining colors for individual lines drawn within the zones (Open, Close, High, Low, 50% Body, etc.).
- Lines Width/Style: The thickness and style of all lines drawn within the zones.

Button Parameters
In this section, you can configure the on-chart button that serves to quickly enable or disable the visibility of all FlowZone areas.
- Show Button: Enables (`true`) or disables (`false`) the button's visibility.
- Buttons Position: Specifies in which of the four corners of the chart the button should be placed.
- Button Color and Button Text Color: Allow you to define the background and text color of the button.
- customTooltip: The text that will appear in a tooltip when you hover your cursor over the button.
- Button X/Y Size: The width and height of the button in pixels.
- Buton X/Y Position: The position (offset) of the button relative to the chosen corner, measured in pixels.
- Button Font Size: The font size for the text on the button.

Alerts & Display Parameters
Sections for alerts and additional display options.
- Proximity Alerts: These alerts notify you when the market price approaches one of the lines drawn within a FlowZone. An alert for a specific line must first be manually activated (`CTRL` + Click on the line).
- Use Proximity Alerts: The main on/off switch for this entire feature.
- Proximity Activation Distance [Points]: Defines a buffer zone around the line (in points).
- Popup Alerts / Mobile Alerts (Push): Choose the delivery method (pop-up window or mobile notification).
- New Candle Alerts: This alert type notifies you the moment a new FlowZone is identified and drawn on the chart.
- Use New Candle Alert: The on/off switch for this specific alert type.
- Popup Alerts / Mobile Alerts (Push): Choose the delivery method for the notification.
- Always Display Levels: These parameters "pin" selected lines to the chart, making them always visible regardless of the `Look Back Days Of History` setting.
- Always Display Extended Levels: If `true`, any line you manually extend (`SHIFT` + Click) will remain visible.
- Always Display Alert Levels: If `true`, any line for which you activate an alert (`CTRL` + Click) will remain visible.

Levels Parameters
A section to define which DML levels should be analyzed. The indicator aggregates data from all levels provided here to build a single, comprehensive view of the SmartMoneyZone areas.
- DML Level Name (01-12): Fields to enter the names of up to 12 DML levels. Fill in as many as you need—empty fields will be ignored.