Komut dosyaları, bir MQL5 programı kullanarak MetaTrader 5'te tek seferlik eylemler gerçekleştirir ve hemen ardından grafikten silinir. Örnek işlevler olarak, işlem geçmişini yükleme, rapor oluşturma ve bu raporu e-posta ile gönderme, bir dosyadan veri indirme ve bu veriyi işleme söylenebilir. Komut dosyaları ayrıca grafik arayüzü oluşturmak veya tek tip alım-satım işlemlerini hızlı bir şekilde yürütmek (örneğin tüm pozisyonları hemen kapatmak) için de kullanılabilir.
Sunulan komut dosyalarını MetaTrader 5'te indirebilir ve başlatabilirsiniz. Komut dosyası kütüphanesine, MQL5 programlamayı öğrenmenize olanak sağlayan MetaEditor geliştirme ortamından da doğrudan erişebilirsiniz.
MQL5.com web sitesine giriş yapmak için çerezlerin kullanımına izin vermelisiniz.
Lütfen tarayıcınızda gerekli ayarı etkinleştirin, aksi takdirde giriş yapamazsınız.
Hesabınıza giriş yaptınız. İki faktörlü kimlik doğrulama devre dışı bırakıldı. Yeniden kurup yeni bir QR kodu tarayın veya iki faktörlü kimlik doğrulama devre dışıyken devam edin.
İki faktörlü kimlik doğrulamayı etkinleştir Devam etShows, for each timeframe and symbol, how many bars an EA, indicator or script can read on a live chart and from what date, and flags the timeframes where "Max bars in chart" cuts off older history that the terminal already has.
Saves the closed trades of your MT5 account history to a CSV file, one row per trade, plus a second file with totals for each magic number.
Check the first and last available bars, gaps between bars, and available MT5 tick history for a date range before a backtest.
Closes only the open positions that match your filters and, if you choose, deletes matching pending orders. Shows a summary and asks before it acts.
Saves your closed trades to a CSV file for your spreadsheet: one row per trade with points, costs, net result, R multiple, MAE and MFE.
Tek bir tıklamayla tüm açık pozisyonları kapatır ve isteğe bağlı olarak bekleyen emirleri siler. Sembol ve sihirli sayıya göre filtreleme yapabilirsiniz.
A script that sets your own margin call and stop-out levels above the broker's. It alerts when the margin level falls below your margin call level and, below your stop-out level, closes positions one at a time, the worst net result first, until the level is back up, the way a broker stop-out works.
Calculates the correct lot size from your risk (% of balance, % of equity or a fixed amount) and stop-loss distance. Shows actual risk and margin. Never places trades.
Closes open positions and deletes pending orders in one run, with filters for symbol, magic number, side and profit or loss. Asks for confirmation and retries failed closes.
Execution & Slippage Forensics audits MetaTrader 5 account history (Orders vs Deals) to quantify real execution quality in points and currency.
Script that closes positions in one click: all, only profitable, only losing, only buys or only sells, for this symbol or all symbols, with a magic filter and optional pending order delete.
A script that reads a tick CSV into a custom symbol and builds its M1 bars, so the Strategy Tester can run "Every tick based on real ticks" over a period the broker's server does not keep. It finds the columns by name and moves UTC times to server time.
A script that shows how far back your broker's server keeps real ticks for a symbol. It samples a few short windows over the last four years, asks for each one until its ticks arrive or the time is up, and prints the oldest one that has ticks.
Bir EA’nın burada hangi unsurlarla başa çıkması gerektiğini bildiren komut dosyası: riskten korunma veya netleştirme, işlem izinleri, emir doldurma modları, durdurma ve dondurma seviyeleri, hacim kuralları, swaplar ve ilgili sembolde halihazırda açık olan pozisyonlar. Freelance siparişine ekleyebileceğiniz bir rapor dosyası oluşturur.
A script that turns candles into a MIDI file: one instrument per symbol, meter detected from the data, pitch from the move, duration from the candle body.
Dynamically export customizable historical bar data (OHLC, Tick Volume) and selected technical indicators (RSI, MACD, ATR, ADX, Stochastic, CCI, MFI, Momentum) directly to a clean .csv file with automatic header generation.
Exports the closed positions of the account to a CSV file (one row per position) and shows a summary: trades, win rate, profit factor, net result, max drawdown and results per symbol. Read-only.
Exports closed trades to a CSV file, one row per closing deal: partial closes, close-by and netting reversals are split, each row with the position's open time, volume-weighted open price and its share of the entry commission.
A read-only script that works out a lot size from the cash you accept to lose and the stop distance, and shows how many such losses fit inside your own daily loss limit. Uses the symbol tick value, so it works for gold, FX and indices.
A script for MetaTrader 5 that exports the raw values of all buffers of every indicator on a chart to one CSV file, without changing any code.
Small label on the chart. the symbol is open or closed now, the time left to the close or to the next open, and the sessions of today. It reads the trade sessions of your broker. Display only.
Read-only forensic script that audits historical broker Bid/Ask ticks in 15-day RAM-safe chunks: computes session spread percentiles (P50/P95), 23:00-00:15 rollover widening ratios, weekday feed blackout gaps, and exports clean millisecond CSV files.
Cuma kapanışından önce: Piyasa bir boşlukla yeniden açılırsa açık pozisyonlarınızın ne kadar zarar edebileceğini tahmin eder ve bunu bir sonraki işlem gününün günlük zarar limiti altında kalan marjla karşılaştırır. Kendi hesabıyla işlem yapan firmalar ve fonlu hesaplar içindir. Yalnızca hesap verilerini okur.
Script that calculates the lot size for a given risk percent and stop loss. Places no orders.
Execution-safe utility script to close open positions in one click with configurable slippage deviation, spread guard protection, symbol/P&L/Magic filters, and automatic retry handling.
M1/M15/H1 zaman dilimleri için temiz, deterministik OHLC + tick hacmi + 4 göstergeyi (MA, RSI, MACD, ATR) CSV formatına aktaran ücretsiz komut dosyası. Yalnızca kapanmış çubuklar, sıfır ileriye bakış — analiz ve makine öğrenimi veri kümeleri için idealdir.
Historical spread statistics by hour for many symbols at once (median, 75th percentile, mean), exported to CSV. Does not trade.
Drop the script on the chart at your stop loss price and it opens a market order with the lot size calculated from your risk percentage and take profit placed at your reward:risk ratio.
A script that closes open positions in one click, with filters for chart symbol, magic number, buy/sell direction and profit/loss state. Works on netting and hedging accounts.
Static safety scan of EA/indicator source: DLL imports, programs started, account data sent online, hidden text, martingale, SL = 0.
Script that exports the closed trades of your account to a CSV file and prints a short summary: trades, win rate, net result and profit factor.
A small script that turns "risk in % of the account" and "stop loss in pips" into a lot size. It only calculates and prints; it never opens, modifies or closes trades.
Shows the risk every past trade really took (the loss at its stop loss as a % of the balance at entry) and how far a fixed lot drifted from the tested risk. Read-only.
Finds out why an EA or trade copier cannot trade on your account. Read-only script, never trades.
Birden fazla Uzman Danışman veya yapılandırma çalıştıran hesaplar için bir komut dosyası. Her yapılandırmanın (sihirli sayı veya sihirli sayı ve sembol) takvim günü bazında net sonucunu toplar ve her birinin portföy değer kaybına ne kadar katkıda bulunduğunu ölçer: “biri hariç” yöntemiyle hesaplanan değer kaybı, en kötü değer kaybındaki pay ve Euler varyans payı. Sonuçları, önerileri ve A+'dan F'ye kadar bir sezgisel puan gösterir. Yerleşik bir demo portföyünde kullanıma hazır olarak çalışır ve tamamen MQL5 ile yazılmıştır.
Belirli Market Watch sembolleri için salt okunur MT5 komut dosyası: sözleşme ve hacim kuralları, fiyat verisi yaşı ve spread, ayrı AL/SAT marjı, tek tiklik fiyat hareketleri ve hesap para biriminde sadece spread sonuçları. MIT kaynak kodu; Experts günlüğü çıktısı.
A free MT5 script to calculate position size, risk amount, and risk-to-reward ratio visually on the chart.
Reads your closed positions and the M1 bars after each exit. Shows how many stopped-out trades later reached their take profit, how far take-profit trades kept running and how much move was left after manual or EA exits. Summary panel, per-position log table and CSV.
Tek bir tıklamayla, herhangi bir zaman diliminde, tüm Market Watch sembolleri veya özel bir sembol listesi için grafikleri açar; her grafiğe isteğe bağlı bir şablon uygulanabilir. Zaten açık olan grafikleri atlar ve aynı anda açılan grafik sayısını sınırlar.
İhracat, M1 geçmiş verilerinden hesaplanan, puan ve para cinsinden Maksimum Olumsuz Sapma (MAE) ve Maksimum Olumlu Sapma (MFE) değerlerini içeren işlemleri CSV dosyasına aktarır; buna ek olarak, her işlemin yakaladığı mevcut hareketin yüzdesini de içerir.