Time-MoE reframes time-series forecasting as a scalable, decoder-only Transformer tuned for trading data. It keeps strict causality (no future leakage), supports variable history/forecast lengths, and is designed for real-time streams.
Instead of window aggregation, it tokenizes every time step, preserving tick-level detail. Tokens are embedded with SwiGLU, combining smooth nonlinear features with gating to stay stable under noise.
The core adds Sparse Mixture-of-Experts: only a small set of specialist subnetworks activates per token, so capacity scales to billions of parameters without exploding inference cost.
Forecasting is multiscale via parallel heads trained for multiple horizons, with dynamic head selection at runtime based on market conditions.
The MQL5 path breaks this into testable modules: tokenization via 1D convolution, an OpenCL-...
π Read | Docs | @mql5dev
Instead of window aggregation, it tokenizes every time step, preserving tick-level detail. Tokens are embedded with SwiGLU, combining smooth nonlinear features with gating to stay stable under noise.
The core adds Sparse Mixture-of-Experts: only a small set of specialist subnetworks activates per token, so capacity scales to billions of parameters without exploding inference cost.
Forecasting is multiscale via parallel heads trained for multiple horizons, with dynamic head selection at runtime based on market conditions.
The MQL5 path breaks this into testable modules: tokenization via 1D convolution, an OpenCL-...
π Read | Docs | @mql5dev
β€28π8β1π1
MetaTrader 5 ships with many built-in indicators, but no terminal-level search. Access still depends on Navigator or Insert menus, which adds friction during frequent indicator switching and increases accidental selection risk.
A practical workaround is a searchable indicator panel implemented in MQL5 with clear separation of concerns. Core modules: IndicatorCatalog (name to ENUM_INDICATOR map), SearchEngine (case-insensitive substring filtering), ChartLauncher (IndicatorCreate plus ChartIndicatorAdd with window selection), and SearchPanel (Standard Library UI with timer-driven updates).
This structure keeps catalog data centralized, search logic reusable, and platform API calls isolated, while allowing indicators to be located and attached from one panel without manual category browsing.
π Read | NeuroBook | @mql5dev
A practical workaround is a searchable indicator panel implemented in MQL5 with clear separation of concerns. Core modules: IndicatorCatalog (name to ENUM_INDICATOR map), SearchEngine (case-insensitive substring filtering), ChartLauncher (IndicatorCreate plus ChartIndicatorAdd with window selection), and SearchPanel (Standard Library UI with timer-driven updates).
This structure keeps catalog data centralized, search logic reusable, and platform API calls isolated, while allowing indicators to be located and attached from one panel without manual category browsing.
π Read | NeuroBook | @mql5dev
β€17π15π3
This article builds a compact MQL5 implementation of the AvellanedaβStoikov market-making model, replacing fixed symmetric grids with quotes that adapt to inventory and market conditions. The core outputs are a reservation price (mid adjusted against current position) and an optimal spread that expands with volatility and tightens with liquidity.
Inputs are estimated online from a rolling window: volatility from price increments, and a practical retail proxy for order-flow intensity derived from mean absolute moves. The code is structured as a testable model class plus a self-check harness to catch sign and scaling errors.
A chart indicator plots reservation, bid, and ask in real time, making inventory skew and spread changes visible. A controlled simulation on EURUSD H1 shows the adaptive quotes keeping inventory near flat and improving P&L versus a fi...
π Read | AlgoBook | @mql5dev
Inputs are estimated online from a rolling window: volatility from price increments, and a practical retail proxy for order-flow intensity derived from mean absolute moves. The code is structured as a testable model class plus a self-check harness to catch sign and scaling errors.
A chart indicator plots reservation, bid, and ask in real time, making inventory skew and spread changes visible. A controlled simulation on EURUSD H1 shows the adaptive quotes keeping inventory near flat and improving P&L versus a fi...
π Read | AlgoBook | @mql5dev
β€16π16π₯2π1π1
Classic trading robots often fail because indicators trigger without context: session liquidity, widened spreads, day-of-week effects, and event risk. ML models can score direction, but still miss timing and execution constraints.
A practical mitigation is a local LLM layer that can veto trades when conditions are unfavorable. Self-hosting reduces API cost, avoids rate limits, and keeps strategy data off third-party servers.
Ollama enables a local setup in minutes: pull a base model, run it, then create a custom model via a Modelfile with risk rules, low temperature, and a defined context window. Extend it with larger models, longer context, multi-timeframe inputs, calendar data, and post-trade review logs to reduce false entries and drawdown.
π Read | VPS | @mql5dev
A practical mitigation is a local LLM layer that can veto trades when conditions are unfavorable. Self-hosting reduces API cost, avoids rate limits, and keeps strategy data off third-party servers.
Ollama enables a local setup in minutes: pull a base model, run it, then create a custom model via a Modelfile with risk rules, low temperature, and a defined context window. Extend it with larger models, longer context, multi-timeframe inputs, calendar data, and post-trade review logs to reduce false entries and drawdown.
π Read | VPS | @mql5dev
β€37π10π2β1π±1π1π€‘1
Static take-profits and fixed trailing stops often fail for the same reason: they ignore market structure. Price frequently turns at swing extremes, order blocks, and liquidity zones, so round-number targets get missed and tight trails exit on normal pullbacks.
The article proposes a hybrid exit model: take partial profit at a first structural level, then trail only the remaining position using CRT-derived anchors. Stops move only when price reaches new structural levels, reducing noise-driven stop-outs while banking realized gains.
Implementation in MQL5 centers on a reusable class using Standard Library trade/position APIs. It detects CRT patterns from higher-timeframe OHLC mapping, computes range/signal extremes, executes volume-safe partial closes, and applies one-way stop improvements, with an EA wrapper exposing inputs and chart visualization for vali...
π Read | Signals | @mql5dev
The article proposes a hybrid exit model: take partial profit at a first structural level, then trail only the remaining position using CRT-derived anchors. Stops move only when price reaches new structural levels, reducing noise-driven stop-outs while banking realized gains.
Implementation in MQL5 centers on a reusable class using Standard Library trade/position APIs. It detects CRT patterns from higher-timeframe OHLC mapping, computes range/signal extremes, executes volume-safe partial closes, and applies one-way stop improvements, with an EA wrapper exposing inputs and chart visualization for vali...
π Read | Signals | @mql5dev
β€35π11π¨βπ»4β1
OrderSend() logic tends to sprawl across an EA, duplicating lot rounding, stop validation, retry lists, and slippage checks. The article consolidates these concerns into a CExecutionGateway that becomes the only execution entry point, keeping strategy code focused on trade decisions.
The gateway normalizes volume via CLotNormalizer using symbol min/max/step with caching and float-safe rounding, and enforces broker stop-distance rules via CSlTpValidator, including a spread-based fallback when stops level is reported as zero.
A structured CGatewayResult replaces fragile bool/retcode handling, reporting success, slippage rejection, submitted SL/TP, fill price/volume, attempts used, and a human-readable reason. Filling-mode resolution and centralized retryable retcodes reduce avoidable rejections across brokers.
A thin demo EA shows integration, while a test s...
π Read | NeuroBook | @mql5dev
The gateway normalizes volume via CLotNormalizer using symbol min/max/step with caching and float-safe rounding, and enforces broker stop-distance rules via CSlTpValidator, including a spread-based fallback when stops level is reported as zero.
A structured CGatewayResult replaces fragile bool/retcode handling, reporting success, slippage rejection, submitted SL/TP, fill price/volume, attempts used, and a human-readable reason. Filling-mode resolution and centralized retryable retcodes reduce avoidable rejections across brokers.
A thin demo EA shows integration, while a test s...
π Read | NeuroBook | @mql5dev
β€21π7π4β‘3β2π1
Multi-timeframe Renko for MT5 consolidates M5/M15/H1/H4 into a single custom symbol updated from ticks. Each timeframe maintains EMA state, Renko direction, last update time, and a signal-strength metric, then a synthesizer builds a unified price stream and writes bricks via CustomRatesUpdate().
Combination options include simple average, weighted average (default weights 1/2/3/4), and a consensus rule requiring 3-of-4 agreement with weighted fallback.
Brick sizing can be fixed or ATR-adaptive using daily ATR with a multiplier (commonly 0.3β0.7). Supports historical rebuild from M5 and real-time updates, enabling indicators, strategy testing, and EAs on the synthetic symbol.
π Read | AlgoBook | @mql5dev
Combination options include simple average, weighted average (default weights 1/2/3/4), and a consensus rule requiring 3-of-4 agreement with weighted fallback.
Brick sizing can be fixed or ATR-adaptive using daily ATR with a multiplier (commonly 0.3β0.7). Supports historical rebuild from M5 and real-time updates, enabling indicators, strategy testing, and EAs on the synthetic symbol.
π Read | AlgoBook | @mql5dev
β€43π14π¨βπ»5β‘3π2π2β1
Quantora Trade Manager MT4 is a trade management utility focused on risk control for existing positions. It does not generate signals or place new orders, but automates common protective actions on open trades.
Core functions include automatic stop loss and take profit placement, break-even handling, and trailing stop management to lock in gains during favorable moves. Management can be applied to manual-only trades, all positions, or subsets filtered by magic number, with independent handling for buy and sell orders.
Account-level controls include daily profit and loss limits to cap exposure across the session. An integrated dashboard summarizes key account and position metrics for faster monitoring and operational checks.
π Read | Quotes | @mql5dev
Core functions include automatic stop loss and take profit placement, break-even handling, and trailing stop management to lock in gains during favorable moves. Management can be applied to manual-only trades, all positions, or subsets filtered by magic number, with independent handling for buy and sell orders.
Account-level controls include daily profit and loss limits to cap exposure across the session. An integrated dashboard summarizes key account and position metrics for faster monitoring and operational checks.
π Read | Quotes | @mql5dev
β€31π11π2π1
Quantora Break Even Manager for MT4 is a position management utility that shifts stop loss to break-even after a configurable profit threshold is reached. It does not place orders or provide trade signals, and is limited to risk control on existing positions.
The tool monitors open trades and applies break-even rules based on user settings, including a trigger level and an optional offset to lock in a small gain. It can operate on manual orders, all positions, or a subset filtered by magic number, with independent handling for buy and sell directions.
Additional controls include symbol filtering, a compact dashboard for account and trade status, and a one-click action to apply break-even immediately to eligible positions. Designed for consistent automation of profit protection with minimal workflow overhead.
π Read | AlgoBook | @mql5dev
The tool monitors open trades and applies break-even rules based on user settings, including a trigger level and an optional offset to lock in a small gain. It can operate on manual orders, all positions, or a subset filtered by magic number, with independent handling for buy and sell directions.
Additional controls include symbol filtering, a compact dashboard for account and trade status, and a one-click action to apply break-even immediately to eligible positions. Designed for consistent automation of profit protection with minimal workflow overhead.
π Read | AlgoBook | @mql5dev
π16β€14π¨βπ»3π2π1
Quantora Trailing Stop Manager for MT4 is a trade management utility focused on stop-loss automation. It does not place orders and does not generate trade signals.
Trailing is enabled only after a configurable profit threshold is reached. Once active, the stop loss is adjusted in defined steps, using parameters for start level, trailing distance, and update increment, with an optional minimum-profit wait condition.
Operation can be applied to manual trades, all open positions, or a filtered set via magic number. Buy and sell orders can be managed with separate settings.
A compact dashboard displays current status and key values, and a one-click action can apply trailing immediately to qualifying positions.
π Read | NeuroBook | @mql5dev
Trailing is enabled only after a configurable profit threshold is reached. Once active, the stop loss is adjusted in defined steps, using parameters for start level, trailing distance, and update increment, with an optional minimum-profit wait condition.
Operation can be applied to manual trades, all open positions, or a filtered set via magic number. Buy and sell orders can be managed with separate settings.
A compact dashboard displays current status and key values, and a one-click action can apply trailing immediately to qualifying positions.
π Read | NeuroBook | @mql5dev
β€28π10πΎ4β2π2
Quantora Position Size Calculator for MT4 calculates a broker-compatible lot size from a defined risk and stop loss distance. It is a pre-trade risk utility and does not place orders or generate trade signals.
Risk can be set as a percentage or fixed amount, then converted using account balance, equity, or a custom account value. Stop loss input supports points or direct price difference.
Symbol parameters are read automatically, including tick value, tick size, and volume limits, to align sizing with contract specifications. Output includes basic risk/reward figures and an estimated margin requirement.
Designed for traders seeking consistent position sizing and risk control across instruments.
π Read | Freelance | @mql5dev
Risk can be set as a percentage or fixed amount, then converted using account balance, equity, or a custom account value. Stop loss input supports points or direct price difference.
Symbol parameters are read automatically, including tick value, tick size, and volume limits, to align sizing with contract specifications. Output includes basic risk/reward figures and an estimated margin requirement.
Designed for traders seeking consistent position sizing and risk control across instruments.
π Read | Freelance | @mql5dev
π13β€12π3π1
Quantora Risk Calculator MT4 is an open-source utility for pre-trade risk and reward estimation on MetaTrader 4. It calculates money risk, account risk percentage, potential profit, and reward-to-risk using symbol, direction, lot size, entry, stop loss, and take profit.
The tool supports buy and sell scenarios, works with balance, equity, or a custom account value, and allows current-chart or custom symbol selection. It includes automatic risk level classification with configurable thresholds.
Additional outputs cover margin requirement, margin vs free margin percentage, margin status, and position value, with warnings on excessive margin usage. A dashboard provides recalculation and reset controls.
No trades are opened and no signals are generated; results depend on broker contract specs, currency conversion, and execution conditions.
π Read | Quotes | @mql5dev
The tool supports buy and sell scenarios, works with balance, equity, or a custom account value, and allows current-chart or custom symbol selection. It includes automatic risk level classification with configurable thresholds.
Additional outputs cover margin requirement, margin vs free margin percentage, margin status, and position value, with warnings on excessive margin usage. A dashboard provides recalculation and reset controls.
No trades are opened and no signals are generated; results depend on broker contract specs, currency conversion, and execution conditions.
π Read | Quotes | @mql5dev
β€30π6π2π¨βπ»2π1
Quantora Margin Calculator for MT4 estimates required margin before placing an order. It is a standalone utility and does not execute trades or generate signals.
The calculation uses symbol, lot size, direction, and price, then outputs the expected free margin after entry and the projected margin level. This helps quantify account impact prior to execution.
Additional outputs include margin usage percentage and a basic safety classification based on the resulting figures. Symbol specifications such as contract size, leverage parameters, and volume limits are applied automatically to match instrument rules.
Designed for users who need a quick, consistent check of margin requirements ahead of trade placement.
π Read | AlgoBook | @mql5dev
The calculation uses symbol, lot size, direction, and price, then outputs the expected free margin after entry and the projected margin level. This helps quantify account impact prior to execution.
Additional outputs include margin usage percentage and a basic safety classification based on the resulting figures. Symbol specifications such as contract size, leverage parameters, and volume limits are applied automatically to match instrument rules.
Designed for users who need a quick, consistent check of margin requirements ahead of trade placement.
π Read | AlgoBook | @mql5dev
β€28π6π2π2π1
A volatility regime indicator plots a 0β100 historical percentile of current volatility in a separate subwindow and maps it into five regimes: LOW, NORMAL, ELEVATED, HIGH, EXTREME. Volatility can be computed via ATR, Parkinson high-low estimator, or historical returns, then compared to the last N bars with optional smoothing and a persistence filter to reduce regime flicker.
A chart panel aggregates regime status with MTF alignment, tick-volume percentile gating, optional external volatility index readout, and computed SL/TP using ATR multipliers and fixed R:R. A separate βprobability/grade/confidenceβ score is shown but is not the trade trigger.
Signal logic is strict: BUY/SELL only when regime is LOW, higher-timeframe check confirms, and volume is not in the low-percentile block. Typical uses include low-vol mean-reversion with MA(50) bias, alert...
π Read | Forum | @mql5dev
A chart panel aggregates regime status with MTF alignment, tick-volume percentile gating, optional external volatility index readout, and computed SL/TP using ATR multipliers and fixed R:R. A separate βprobability/grade/confidenceβ score is shown but is not the trade trigger.
Signal logic is strict: BUY/SELL only when regime is LOW, higher-timeframe check confirms, and volume is not in the low-percentile block. Typical uses include low-vol mean-reversion with MA(50) bias, alert...
π Read | Forum | @mql5dev
β€25π7π2π1
Spread Monitor is a statistical dashboard that classifies the current market spread against recent behavior, focusing on execution timing rather than trade direction.
It uses a rolling period to compute mean, standard deviation, and min/max spread. Z-Score thresholds flag two regimes: COMPRESSED when spreads are materially below the window average, and TOXIC FLOW / HIGH RISK when spreads exceed the upper threshold. Typical high-risk cases include news releases, session opens/closes, low liquidity, and broker-side widening.
Key outputs include live spread, rolling mean, relative spread %, standard deviation, Z-Score, window min/max, symbol/timeframe, and a three-state regime label.
Practical use is as an execution cost filter: avoid entries during abnormal widening, reduce slippage in volatility, gate automated systems by spread conditions, and compar...
π Read | Calendar | @mql5dev
It uses a rolling period to compute mean, standard deviation, and min/max spread. Z-Score thresholds flag two regimes: COMPRESSED when spreads are materially below the window average, and TOXIC FLOW / HIGH RISK when spreads exceed the upper threshold. Typical high-risk cases include news releases, session opens/closes, low liquidity, and broker-side widening.
Key outputs include live spread, rolling mean, relative spread %, standard deviation, Z-Score, window min/max, symbol/timeframe, and a three-state regime label.
Practical use is as an execution cost filter: avoid entries during abnormal widening, reduce slippage in volatility, gate automated systems by spread conditions, and compar...
π Read | Calendar | @mql5dev
π15β€13π3β1π1
Quantora Trade Manager MT5 is a trade-management utility focused on automated risk control for existing positions. It does not generate signals or place orders, and is designed to standardize handling of open trades.
The tool can assign stop loss and take profit when they are missing, and can adjust protection as positions move into profit using break-even and trailing stop logic.
Account-level controls include daily profit and loss limits intended to cap exposure across the session. It supports both manually opened trades and positions created by other expert advisors.
A lightweight dashboard provides status visibility and basic control, targeting users who want tighter risk governance without changing the underlying strategy.
π Read | Freelance | @mql5dev
The tool can assign stop loss and take profit when they are missing, and can adjust protection as positions move into profit using break-even and trailing stop logic.
Account-level controls include daily profit and loss limits intended to cap exposure across the session. It supports both manually opened trades and positions created by other expert advisors.
A lightweight dashboard provides status visibility and basic control, targeting users who want tighter risk governance without changing the underlying strategy.
π Read | Freelance | @mql5dev
β€19π7π€2π2β1
Quantora Break Even Manager for MT5 is a trade management utility focused on risk control. It does not place orders and does not generate entry signals.
The tool monitors open positions and moves stop loss to the break-even level after a configurable profit threshold is reached. An optional offset can be applied to secure a small positive result beyond break even.
Management can be applied to manual trades, all positions, or filtered by magic number, with separate handling for buy and sell orders. Symbol filtering is available to limit actions to selected instruments.
A compact dashboard provides basic account and position status. A one-click action can apply break-even rules immediately to trades that already meet the defined conditions.
π Read | Docs | @mql5dev
The tool monitors open positions and moves stop loss to the break-even level after a configurable profit threshold is reached. An optional offset can be applied to secure a small positive result beyond break even.
Management can be applied to manual trades, all positions, or filtered by magic number, with separate handling for buy and sell orders. Symbol filtering is available to limit actions to selected instruments.
A compact dashboard provides basic account and position status. A one-click action can apply break-even rules immediately to trades that already meet the defined conditions.
π Read | Docs | @mql5dev
π16β€8β‘2β1π1
Quantora Trailing Stop Manager for MT5 is a trade management utility focused on stop-loss automation. It does not place orders and does not produce trading signals.
Trailing activates only after a configurable profit threshold is reached. Stop loss is then adjusted incrementally using defined trailing distance and step parameters, with an optional safeguard to prevent any modifications before minimum profit is met.
The tool can manage manual trades, all open positions, or a filtered subset via magic number. Buy and sell positions can be handled with separate settings, and symbol filtering is available.
A compact dashboard provides status visibility and quick control, including a one-click action to apply trailing immediately to eligible trades.
π Read | Freelance | @mql5dev
Trailing activates only after a configurable profit threshold is reached. Stop loss is then adjusted incrementally using defined trailing distance and step parameters, with an optional safeguard to prevent any modifications before minimum profit is met.
The tool can manage manual trades, all open positions, or a filtered subset via magic number. Buy and sell positions can be handled with separate settings, and symbol filtering is available.
A compact dashboard provides status visibility and quick control, including a one-click action to apply trailing immediately to eligible trades.
π Read | Freelance | @mql5dev
β€13π6β1π1π1
Quantora Position Size Calculator for MT5 calculates lot size from defined risk and stop loss distance. It is a pre-trade risk utility and does not open positions or generate signals.
The calculator converts a chosen risk percentage or fixed currency amount into a broker-acceptable volume using account value and stop loss. It automatically applies symbol parameters including tick value, tick size, and volume step, plus minimum and maximum volume limits.
Account sizing can be based on balance, equity, or a custom value. Stop loss input supports points or direct price difference. Output includes risk and reward figures and an estimated margin requirement, targeting consistent position sizing across instruments.
π Read | AlgoBook | @mql5dev
The calculator converts a chosen risk percentage or fixed currency amount into a broker-acceptable volume using account value and stop loss. It automatically applies symbol parameters including tick value, tick size, and volume step, plus minimum and maximum volume limits.
Account sizing can be based on balance, equity, or a custom value. Stop loss input supports points or direct price difference. Output includes risk and reward figures and an estimated margin requirement, targeting consistent position sizing across instruments.
π Read | AlgoBook | @mql5dev
β€9π5π1π1π1
Quantora Session Clock for MT5 is a chart indicator focused on tracking major market sessions. It does not place, modify, or manage orders and is intended for informational use.
The dashboard shows Sydney, Tokyo, London, and New York with current state and countdowns to each open and close. Active sessions and overlap periods are highlighted to support quick timing checks during multi-market activity.
Configuration includes custom session hours and UTC offset to match broker time. Optional alerts can be enabled for session start and end events, with popup, sound, and push notification support.
π Read | CodeBase | @mql5dev
The dashboard shows Sydney, Tokyo, London, and New York with current state and countdowns to each open and close. Active sessions and overlap periods are highlighted to support quick timing checks during multi-market activity.
Configuration includes custom session hours and UTC offset to match broker time. Optional alerts can be enabled for session start and end events, with popup, sound, and push notification support.
π Read | CodeBase | @mql5dev
β€13π7π1π1
Quantora Risk Calculator MT5 is an open-source utility for MetaTrader 5 focused on pre-trade risk and reward estimation. It uses symbol, direction, lot size, entry, Stop Loss, and Take Profit to calculate money at risk, account risk percentage, potential profit, and reward-to-risk ratio.
The tool supports BUY/SELL scenarios, current or custom symbols, and balance, equity, or a custom account base. A configurable risk classification labels exposure from Excellent to Dangerous.
Margin analysis includes estimated margin requirement, margin as a percentage of free margin, status reporting, and a threshold-based warning when usage is high. Results are presented in a Quantora dashboard with spread, SL/TP distances, position value, and recalculation/reset controls.
It does not place orders or generate signals. Calculations depend on broker-provided symbol paramet...
π Read | Forum | @mql5dev
The tool supports BUY/SELL scenarios, current or custom symbols, and balance, equity, or a custom account base. A configurable risk classification labels exposure from Excellent to Dangerous.
Margin analysis includes estimated margin requirement, margin as a percentage of free margin, status reporting, and a threshold-based warning when usage is high. Results are presented in a Quantora dashboard with spread, SL/TP distances, position value, and recalculation/reset controls.
It does not place orders or generate signals. Calculations depend on broker-provided symbol paramet...
π Read | Forum | @mql5dev
π11β€7π1π1