Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Rejoignez notre page de fans
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
- Publié par:
- Muharrem Rogova
- Vues:
- 264
- Note:
- Publié:
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
- Automatic retry logic with configurable max attempts and delay
- Requote handling with separate retry path from rejections
- Slippage calculation in pips with violation detection
- Auto-normalization of SL/TP against broker stop level
- Auto-detection of fill policy (FOK / IOC / RETURN)
- Full execution statistics (success rate, avg slippage, avg exec time, volume)
- Market orders (Buy / Sell) and pending orders (Limit / Stop, Buy / Sell)
- Position management (close, partial close, modify SL/TP, close-all-by-magic)
- Human-readable result codes with 10 execution states
DEMO EA INCLUDED:
Attach to any chart:
— Dashboard with BUY, SELL, CLOSE ALL action buttons
— Live execution statistics with color-coded metrics
— Success rate gauge (green >=95%, amber >=80%, red below)
— Total attempts, successful, rejections, requotes, timeouts, slippage violations
— Avg and max slippage in pips, avg execution time in ms, total volume executed
— RESET button to clear stats mid-session
USAGE:
#include "ASQ_OrderExecutor.mqh"
CASQOrderExecutor exec;
exec.Initialize(_Symbol, 20260417);
exec.SetMaxRetries(3);
exec.SetMaxSlippage(30);
exec.SetVerboseLogging(true);
ENUM_ASQ_EXEC_RESULT result = exec.Buy(0.10, sl, tp, "Strategy A");
if(result == ASQ_EXEC_SUCCESS)
Print("Executed at ", exec.GetStats().avgSlippagePips, " pips slip");
exec.CloseAllByMagic();
Place both files in the same folder — compiles instantly, no subfolder setup needed.
This is the open-source execution engine behind Quant Athena Gold v2 on the MQL5 Market. Same retry logic, same slippage control — the Market version adds the CORTEX AI adaptive execution layer.
FILES:
- ASQ_OrderExecutor.mqh — Library (960 lines)
- ASQ_OrderExecutor_Demo.mq5 — Demo EA (334 lines)
MetaTrader 5, all brokers, all instruments, all timeframes.
Free and open-source. 1,294 lines of production MQL5.
Advanced Trade History Exporter: MAE, MFE and Time-Based Excursions (Points)
Utility script that exports your MetaTrader 5 trading history to a CSV file. It automatically calculates Maximum Favorable Excursion (MFE), Maximum Adverse Excursion (MAE), and Forward Returns (Time-Based Excursions) in whole points for deep quantitative analysis in Excel. It will allow you to understand whether you close your trades too early and can help optimize overall trading execution.
Frontend EA : UI cleanup + quick-trading layer for MT5
A chart-cleanup + quick-trading layer for MT5
Super Trend
The Supertrend indicator plots an ATR-based dynamic trend line on the MetaTrader 5 chart, switching between a green uptrend and red downtrend line with optional buy/sell arrow signals at every trend reversal.
MACD Signals
Indicator edition for new platform.

