Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Multi-Timeframe Candle Map - indicator for MetaTrader 5

Talal N Z Aljarusha
Talal N Z Aljarusha
4.5 (12)
Building innovative trading technologies that empower traders to better understand financial markets, improve decision-making, and optimize their trading workflows.
Every solution is designed with a strong focus on reliability, performance, usability, and continuous innovation.
| English Русский 中文 Español Deutsch 日本語 Português 한국어 Français Italiano Türkçe
Views:
2169
Rating:
(4)
Published:
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Multi-Timeframe Candle Map shows where the current price is sitting inside the developing candle of four selected timeframes.

The idea is simple. A raw price distance is difficult to compare between M15, H1, H4 and D1 because every candle has a different range. The indicator normalizes the location into a percentage:

position = (current price - candle low) / (candle high - candle low) * 100

A reading near 0% means price is close to that candle's low. A reading near 100% means it is close to the high. Each timeframe is drawn as a vertical gauge so the relationship can be read without switching charts.

What the panel shows

- Four configurable timeframes
- Vertical price position from candle low to candle high
- Near Low, Lower Half, Upper Half and Near High classification
- Current candle body direction
- Time remaining before each candle closes
- Average position across the selected timeframes
- Spread between the highest and lowest readings
- A summary when several timeframes are located near the same edge

The spread value is useful when reading agreement. A small spread means the selected candles have similar normalized locations. A large spread means the timeframes are describing different parts of their ranges, so the context is mixed.

Inputs

InpTimeframe1 to InpTimeframe4 select the candles displayed in the panel.

InpUseBidPrice uses the live Bid price. When disabled, the current candle close supplied by CopyRates is used.

InpEdgeThreshold defines what is considered near a candle high or low. With the default value of 20, readings from 0-20% are Near Low and readings from 80-100% are Near High.

InpAlignmentCount controls how many timeframes must be near the same edge before the panel reports an alignment.

InpEnableAlerts optionally reports a new high-edge or low-edge alignment.

The code is also intended as a practical example for developers. It demonstrates CopyRates across multiple timeframes, percentage normalization, timer-based refresh, chart-object panels and state-controlled alerts.

This indicator does not predict direction and does not generate entry signals. A candle can be near its high and still reverse, or remain near its high while the trend continues. The readings should be treated as location context only.

SR Zone Scanner SR Zone Scanner

Multi-timeframe Support & Resistance zone scanner with strength rating and instant alerts — M15, H1, H4, D1.

Equity Guard — Daily Loss Limit Guardian with Panic Panel Equity Guard — Daily Loss Limit Guardian with Panic Panel

Account-level daily loss guardian: when your daily loss reaches a configurable trigger, it closes all positions and pending orders and keeps the account flat until the next daily reset. Limits in percent or money, configurable reset time (server time), draggable visual panel with live gauge, and manual CLOSE ALL / LOCK buttons with click-to-confirm. Works on any broker, symbol, account size and currency — hedging and netting, no DLLs.

Consecutive Bars (with history) Consecutive Bars (with history)

An oscillator that shows 4 line studies: 1 for consecutive up bars, 1 for consecutive down bars, 1 for the average consecutive up bars, and 1 for the average consecutive down bars.

MQTTFive — MQTT 5.0 Client Library MQTTFive — MQTT 5.0 Client Library

MQTTFive — a fully-featured implementation of the MQTT 5.0 client for MQL5. Features: • MQTT v5.0 — all packet types, properties, QoS 0/1/2 • TCP + TLS via the native MQL5 Socket API • Will messages with properties (will_delay_interval, payload_format, message_expiry) • Topic aliases for outgoing PUBLISH messages • Flow Control (Receive Maximum) • Subscription Options (no_local, retain_as_published, retain_handling) • Binary and UTF-8 payloads • Automatic retry for QoS 1/2 • Zero DLL dependencies — pure MQL5 Tested with Mosquitto 5.0 (15 tests, all PASS). Documentation: https://github.com/chekh/MQTTFive Licence: MIT