fa
Feedback
MQL5 Algo Trading

MQL5 Algo Trading

رفتن به کانال در Telegram

The best publications of the largest community of algotraders. Subscribe to stay up-to-date with modern technologies and trading programs development.

نمایش بیشتر

📈 تحلیل کانال تلگرام MQL5 Algo Trading

کانال MQL5 Algo Trading (@mql5dev) در بخش زبانی انگلیسی بازیگری فعال است. در حال حاضر جامعه شامل 512 361 مشترک است و جایگاه 153 را در دسته فناوری و برنامه‌ها و رتبه 5 را در منطقه المملكة المتحدة دارد.

📊 شاخص‌های مخاطب و پویایی

از زمان ایجاد در невідомо، پروژه رشد سریعی داشته و 512 361 مشترک جذب کرده است.

بر اساس آخرین داده‌ها در تاریخ 20 ژوئن, 2026، کانال فعالیت پایداری دارد. در ۳۰ روز گذشته تغییر اعضا برابر 8 770 و در ۲۴ ساعت گذشته برابر 25 بوده و همچنان دسترسی گسترده‌ای حفظ شده است.

  • وضعیت تأیید: تأیید نشده
  • نرخ تعامل (ER): میانگین تعامل مخاطب 3.43% است و در ۲۴ ساعت نخست پس از انتشار، محتوا معمولاً 1.89% واکنش نسبت به کل مشترکان کسب می‌کند.
  • دسترسی پست‌ها: هر پست به طور میانگین 17 582 بازدید دریافت می‌کند. در اولین روز معمولاً 9 655 بازدید جمع‌آوری می‌شود.
  • واکنش‌ها و تعامل: مخاطبان به‌طور فعال حمایت می‌کنند؛ میانگین واکنش به هر پست 39 است.
  • علایق موضوعی: محتوا بر موضوعات کلیدی مانند indicator, chart, mql5, candle, range تمرکز دارد.

📝 توضیح و سیاست محتوایی

نویسنده این فضا را محل بیان دیدگاه‌های شخصی توصیف می‌کند:
The best publications of the largest community of algotraders. Subscribe to stay up-to-date with modern technologies and trading programs development.

به لطف به‌روزرسانی‌های پرتکرار (آخرین داده در تاریخ 22 ژوئن, 2026)، کانال همواره به‌روز و دارای دسترسی بالاست. تحلیل‌ها نشان می‌دهد مخاطبان به‌طور فعال با محتوا تعامل دارند و آن را به نقطه اثرگذاری مهم در دسته فناوری و برنامه‌ها تبدیل کرده‌اند.

512 361
مشترکین
+2524 ساعت
+2 1687 روز
+8 77030 روز
آرشیو پست ها
A standalone MQL5 include library is available for adding balance/equity mini-charts and extra optimization criteria to exist
A standalone MQL5 include library is available for adding balance/equity mini-charts and extra optimization criteria to existing Expert Advisors. After placing Advanced Optimization Report Saver.mqh into \MQL5\Include\, the file can be included and its exported functions called from standard EA handlers to save frames and custom metrics. The library adds inputs such as toggling statistics collection and setting the chart width in pixels. Using the Moving Average example EA, the required changes are limited to small additions near the end of the code after existing trade checks. For large parameter grids, readability and runtime can be improved by replacing linear steps with an enum scale (e.g., 1,2,3,5,7,10,15,20,30,50,70,100). This reduces optimization passes, speeds up processing, and shrinks saved output while making average lines clearer. Update 2026-02... 👉 Read | CodeBase | @mql5dev #MQL5 #MT5 #EA

An MT5 indicator example demonstrates sending trade signals through terminal global variables, leaving execution logic to ext
An MT5 indicator example demonstrates sending trade signals through terminal global variables, leaving execution logic to external code. It targets quick testing workflows rather than a complete trading system. Recommended usage is a 5‑second chart on any liquid instrument. The signal is derived by counting candle colors over the lookback window: the majority color selects the direction, mapped to CALL or PUT. A configurable reverse mode flips the rule so the minority color drives the output. Signal publication can be verified in the terminal by opening the Global Variables window (F3) and checking the values being written and updated in real time. 👉 Read | NeuroBook | @mql5dev #MQL5 #MT5 #Indicator

A quantified liquidity model is turned into an MT5 tool: consolidation zones (A–B) are measured, then validated only when a b
A quantified liquidity model is turned into an MT5 tool: consolidation zones (A–B) are measured, then validated only when a breakout impulse (to C) reaches a configurable multiple of the zone depth, with 1:3 as the tested baseline. The indicator encodes this as deterministic rules in MQL5. It separates logic from presentation via inputs (LookbackBars, RatioMultiplier, colors, projection length), manages its own OHLC/time arrays for consistent indexing, and combines chart rectangles with eight buffers so zones are both visible and EA-consumable. Lifecycle handling is treated as a first-class concern: strict object naming, cleanup on deinit, buffer clearing by time validity, and forward projection for retest tracking. Live testing on XAUUSD showed zones mapped cleanly to real consolidations and many breakouts meeting or exceeding the 1:3 threshold, su... 👉 Read | Quotes | @mql5dev #MQL5 #MT5 #Indicator

Part 15 extends an MQL5 canvas dashboard with header blur/shadow rendering and corrected mouse wheel scrolling behavior for t
Part 15 extends an MQL5 canvas dashboard with header blur/shadow rendering and corrected mouse wheel scrolling behavior for text panels. Blur is used for fog-like gradients via per-pixel opacity blending. Shadows are rendered with multi-pass rounded rectangles, offset and alpha-faded by distance and blur radius. Bicubic interpolation and antialiased primitives are applied for higher quality scaling and lines. Implementation adds grouped inputs for shadow color, opacity percent, distance, and blur radius. Header drawing is reworked to allocate extra padding, prevent clipping, and keep borders/icons aligned. Hit testing expands to include the shadow area while excluding button regions. Minimize/maximize and OnInit resize the header canvas using the same extra padding. OnChartEvent removes wheel logic that altered chart scale, so wheel scrolling affect... 👉 Read | Forum | @mql5dev #MQL5 #MT5 #Indicator

Larry Williams’ approach reduces chart interpretation and focuses on short-term price events that can be defined and tested.
Larry Williams’ approach reduces chart interpretation and focuses on short-term price events that can be defined and tested. Patterns are expressed as rules built from OHLC relationships, designed for automation and statistical validation. A single MQL5 Expert Advisor is structured to run one strategy at a time, hold one position at a time, and apply uniform risk and exit handling. Signals are confirmed via a volatility-based breakout level, with the baseline mode entering directly at the open. The strategy set includes: buy on open, buy after a down close, buy after three down closes, buy after a measured pullback, buy after a bearish outside bar, and a short setup fading three bullish closes. A day-of-week filter is applied to measure time-based effects. Stops are configurable (range-based or prior-bar extreme). Exits support profit-on-next-open, fixed h... 👉 Read | Docs | @mql5dev #MQL5 #MT5 #EA

MetaTrader 5 optimization can be made visual by attaching tester handlers to an EA and using frame mode. Agents run passes, O
MetaTrader 5 optimization can be made visual by attaching tester handlers to an EA and using frame mode. Agents run passes, OnTester() collects pass metrics and deal-by-deal balance, then FrameAdd() sends a frame to the terminal-side EA where OnTesterPass() renders and stores results. The UI design uses a separate chart with a five-tab control: live pass chart plus post-run tabs for top-3 by Sharpe, Net Profit, Profit Factor, and Recovery Factor. Each tab pairs balance charts with two tables: pass results and EA inputs, plus a replay control. Implementation is organized into MQL5 control classes (canvas, panels, labels, buttons, tab control), a refined table control, and three core components: progress bar, special chart renderer, and frame viewer, backed by sortable frame objects for ranking and selection. 👉 Read | Forum | @mql5dev #MQL5 #MT5 #AlgoTrading

Locking is the simultaneous holding of a LONG and a SHORT position of equal volume on the same instrument. Price exposure is
Locking is the simultaneous holding of a LONG and a SHORT position of equal volume on the same instrument. Price exposure is neutralized because gains on one leg are offset by losses on the other, keeping the net result largely unchanged while both legs remain open. A typical implementation opens BUY and SELL immediately, then widens each side via averaging. Subsequent handling options include closing both legs and restarting, closing one leg and keeping the other running, applying trailing stops to one or both sides, or moving one leg to breakeven while keeping the other active. Parallel locks can be run on other instruments or isolated via separate MagicNumber values. Key constraints remain: doubled commissions and potential negative swaps, margin still tied up, and higher decision complexity when selecting which leg to close and timing the exit. 👉 Read | AppStore | @mql5dev #MQL5 #MT5 #EA

A practical control for MT4/MT5 Expert Advisors is the ability to detect duplicate instances on the same chart and react base
A practical control for MT4/MT5 Expert Advisors is the ability to detect duplicate instances on the same chart and react based on defined conditions. This can prevent double order placement, duplicated timers, and repeated event handling when templates are applied or charts are restored. Using Expert.mqh from the referenced library, the EA can implement an instance check during initialization by scanning chart context and comparing identifiers such as symbol, timeframe, magic number, input signature, or a custom instance key. If a match is found, the EA can block startup, switch to read-only mode, or disable trading while continuing to monitor state changes. 👉 Read | AlgoBook | @mql5dev #MQL5 #MT5 #EA

Locking is a trade state where long and short positions of equal volume are held on the same instrument. Price movement impac
Locking is a trade state where long and short positions of equal volume are held on the same instrument. Price movement impact is neutralized because gains on one side are offset by losses on the other, effectively freezing the net result until positions are modified or closed. The VR Locker Lite approach begins by opening BUY and SELL immediately, then increases exposure on both sides through averaging, expanding the lock structure. Common lock management paths include closing both legs and restarting the cycle, partially unlocking by holding one leg longer, applying trailing stops to one or both legs, shifting a leg to breakeven while keeping upside exposure, or creating additional locks on other symbols or via separate MagicNumber instances. Key considerations include doubled commissions and potential swap costs, margin being tied up while the ... 👉 Read | Calendar | @mql5dev #MQL4 #MT4 #AlgoTrading

“Heads or Tails” is a high-risk short-term trading approach used in equities and FX. Direction is selected randomly, commonly
“Heads or Tails” is a high-risk short-term trading approach used in equities and FX. Direction is selected randomly, commonly via a coin flip equivalent, while fundamental factors and objective signals are ignored. Typical flow includes instrument selection, random buy/sell decision, and forced exit by time, take-profit, or stop-loss. The method is simple to implement but offers no basis for statistical edge and weakens risk control and capital allocation. In automation, logic often checks that no positions are open (b + s = 0), then calls a pseudo-random generator (0–32767). Parity via modulo 2 selects direction: even opens a long position, odd opens a short position, each followed by an immediate return. Use is mainly educational for platform mechanics or experimental testing, not for repeatable performance over long horizons. 👉 Read | Quotes | @mql5dev #MQL4 #MT4 #AlgoTrading

Reversal patterns have weak formal definitions and no reliable math base beyond statistics. Practical validation comes from b
Reversal patterns have weak formal definitions and no reliable math base beyond statistics. Practical validation comes from backtesting plus visual checks in the MetaTrader 5 Strategy Tester, prioritizing speed and sample size over perfect data. Multiple Top is popular due to simple structure and frequent occurrence across instruments and timeframes. The concept extends beyond Double Top to Triple Top and Head and Shoulders, but consistent trading rules are rarely quantified, which makes algorithmic framing useful. Implementation focus: bar-by-bar detection, custom top/bottom logic (not fractals), and a class-based “observer” that stores sequential steps. Workflow includes selecting relevant extrema near the current market, deciding pattern direction, filtering invalid selections, and defining a horizontal neckline between the first and last peak, ... 👉 Read | Forum | @mql5dev #MQL5 #MT5 #AlgoTrading

A modified ZigZag indicator has been proposed with an alternative reversal condition. Instead of using a fixed percentage dev
A modified ZigZag indicator has been proposed with an alternative reversal condition. Instead of using a fixed percentage deviation to confirm a swing, the turning point is triggered when price reaches a defined ratio relative to the last confirmed local high or low. This approach makes the threshold dependent on the prior extremum rather than an absolute percent move. It can change how frequently pivots are printed across different price levels and volatility regimes, and may reduce sensitivity to nominal price scale. Use cases include swing structure tracking, adaptive pivot detection, and upstream signal generation for pattern or trend logic. 👉 Read | CodeBase | @mql5dev #MQL4 #MT4 #Indicator

TelegramTradeNotify is a lightweight MT4 utility EA that pushes trade notifications to Telegram via the Bot API sendMessage e
TelegramTradeNotify is a lightweight MT4 utility EA that pushes trade notifications to Telegram via the Bot API sendMessage endpoint. MT4 has no deal events comparable to MT5, so detection is order-based. The EA periodically scans OrdersTotal() and OrdersHistoryTotal(); a new active order triggers an open alert, and a new history record triggers a close alert. Configuration requires a Telegram bot token and a target Chat ID (user, group, or @channelusername). In MT4, enable “Allow WebRequest for listed URL” and whitelist https://api.telegram.org, then attach the EA to any chart and set the inputs. Supports optional BUY/SELL-only filtering, UTF-8 URL encoding for non-ASCII text, optional web page preview disable, configurable timeout, and message prefix. If WebRequest fails, validate firewall/DNS and note some VPS networks may block Telegram; a relay can be... 👉 Read | Docs | @mql5dev #MQL4 #MT4 #EA

MQL5’s SQLite API is capable but forces manual SQL, repeated boilerplate, and fragile error handling. The article builds a li
MQL5’s SQLite API is capable but forces manual SQL, repeated boilerplate, and fragile error handling. The article builds a lightweight ORM that moves SQL out of EA logic and replaces it with strongly-typed models and a fluent, reusable interface. The framework is assembled from small components: a generic dictionary for named field access, an ORMField class that stores column metadata and values, a BaseModel that generates CREATE/INSERT/UPDATE queries and binds rows back into variables, and a database wrapper that centralizes core SQLite calls. A DatabaseORM layer adds connection management, transactions, CRUD, selection helpers, and structured error reporting. Models can be defined manually, via reflection-style OnGet/OnSet binding, or through macros for fast Code-First table definitions. Practical samples show storing and querying backtest reports with Sel... 👉 Read | Freelance | @mql5dev #MQL5 #MT5 #EA

ProjectTemplateGen.mq5 is an MT5 script utility that generates a standardized Expert Advisor project layout via MQL5 file sys
ProjectTemplateGen.mq5 is an MT5 script utility that generates a standardized Expert Advisor project layout via MQL5 file system APIs, operating within the platform sandbox. It creates directories and writes ready-to-compile .mq5 sources with event handler skeletons, with runtime configuration through input parameters. The implementation focuses on dynamic path construction using relative locations, comprehensive file-operation error handling with explicit error codes, and reliable cleanup via FileClose(). Output content is syntactically valid MQL5 and formatted consistently to support scaling. Generated artifacts are placed under MQL5\Files\[ProjectName]\ due to security restrictions, requiring a manual move to MQL5\Experts\ before development continues. Potential extensions include multi-file templates (indicators, libraries), emitting JSON/XML config file... 👉 Read | VPS | @mql5dev #MQL5 #MT5 #script

This article turns subjective supply/demand zone spotting into a reproducible workflow by quantifying the “impulsive exit” th
This article turns subjective supply/demand zone spotting into a reproducible workflow by quantifying the “impulsive exit” that signals imbalance. The key simplification is modeling a zone with a single higher-timeframe candle and measuring momentum via an Impulse Ratio (close-open)/(high-low), paired with an absolute size filter normalized by ATR. This avoids fragile multi-candle base rules while keeping the structure tradable across timeframes. A three-stage pipeline connects research to execution: an MQL5 scanner exports swing-point candle metrics to CSV, Python/Jupyter performs distribution and success-rate comparisons to optimize thresholds (e.g., impulse and ATR-scaled body size), then an MQL5 EA encodes the validated rules to project zones and support systematic retest strategies. 👉 Read | Freelance | @mql5dev #MQL5 #MT5 #AlgoTrading

Socket-based IPC is being positioned as the next step for a MetaTrader 5 replay/simulator order system, keeping the design po
Socket-based IPC is being positioned as the next step for a MetaTrader 5 replay/simulator order system, keeping the design portable across apps and operating systems. RTD/DDE with Excel is useful for teaching, but it is effectively one-way. A bidirectional channel enables calculations to run outside MQL5 and feed results back into an EA without recompilation. A practical architecture places Python between MT5 and Excel. MT5 keeps client-side socket code in MQL5, while Python hosts the server side and can later swap Excel for other tooling. Excel integration is handled via xlwings, which runs Python in place of some VBA workflows. Setup covers Python install with PATH, pip upgrades, installing xlwings, licensing for non-commercial use, and registering the Excel add-in via UI or xlwings CLI. 👉 Read | Forum | @mql5dev #MQL5 #MT5 #Python

Graph theory can be applied to price action by modeling swing highs/lows as nodes and chronological transitions as directed e
Graph theory can be applied to price action by modeling swing highs/lows as nodes and chronological transitions as directed edges. Breadth-First Search (BFS) then traverses this structure level-order from a configurable historical root, keeping analysis time-consistent. An EA design follows: detect swings, build an alternating high/low directed graph, run BFS to assign depth, classify nodes via higher-high/higher-low vs lower-high/lower-low logic, then aggregate a weighted bias score from -1 to +1 with recent levels prioritized. Execution is gated by bias thresholds, optional swing-break confirmation, and CTrade-based order management. Modes cover bar lookback, multi-day context, or yesterday-only, with on-chart rendering of nodes, edges, levels, and current trade permission state. 👉 Read | Signals | @mql5dev #MQL5 #MT5 #AlgoTrading

NOA2 (NeuroBoids) blends classic Boids flocking with per-agent neural networks to solve continuous optimization. Agents still
NOA2 (NeuroBoids) blends classic Boids flocking with per-agent neural networks to solve continuous optimization. Agents still follow cohesion, separation, and alignment, but a small MLP learns from each agent’s own search history to adjust speed and dynamically reweight those rules. The key idea is localized learning: agents near strong candidates naturally shift toward exploitation, while others remain exploratory. This produces heterogeneous behavior without centralized coordination, improving coverage early and refinement later. The implementation defines an agent with position/velocity, an experience buffer, best-local tracking, and online weight updates. The NOA2 class adds configurable swarm distances/weights, speed limits, neural influence, and stagnation-aware exploration. Movement combines standard Boids forces with neural outputs, plus boundary... 👉 Read | Forum | @mql5dev #MQL5 #MT5 #AlgoTrading

Part 6 refactors a dynamic multi-pair EA around execution quality rather than entry style, adding an adaptive spread module t
Part 6 refactors a dynamic multi-pair EA around execution quality rather than entry style, adding an adaptive spread module that continuously measures real-time spreads per symbol and blocks trading when costs spike. Spreads are evaluated with both absolute limits and ATR-normalized thresholds, then symbols are ranked by a composite cost-efficiency score. Only the top set stays active, creating a smart routing layer that reallocates attention as liquidity changes and re-enables symbols when conditions recover. Strategy logic remains simple (EMA crossover with RSI confirmation), but runs only after eligibility checks. The implementation emphasizes scalability: timer-driven spread scans, one-symbol-per-tick processing, instrument-aware pip/lot sizing, standardized CTrade execution, and a chart dashboard for transparency and diagnostics. 👉 Read | AppStore | @mql5dev #MQL5 #MT5 #EA