Alım-satım robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Telegram üzerinde bulun!
Fan sayfamıza katılın
MetaTrader 5 terminalinizden Kod Tabanına erişin
Doğru kodu bulamadınız mı? Freelance bölümünden sipariş edin
Bir Uzman Danışman veya Gösterge Nasıl Yazılır?

MetaTrader 5 için MQL5 Kaynak Kodu Kütüphanesi - 2

icon

Bu, MetaTrader 5 platformu programlarının en büyük ücretsiz kaynak kodu kütüphanesidir. Burada hazır Uzman Danışmanlar, teknik göstergeler, komut dosyaları ve kütüphaneler bulabilirsiniz. MQL5 dilini öğrenirken kod kütüphanesini kullanın ve sağlanan kodlara dayalı olarak kendi otomatik alım-satım uygulamalarınızı geliştirin.

Yayınlanan kodları ücretsiz olarak indirebilir, MetaTrader 5'te test edebilir ve başlatabilirsiniz. Kütüphaneye ayrıca doğrudan MetaTrader 5 platformundan ve MetaEditor geliştirme ortamından da erişebilirsiniz.

Kod ekle

BBandsPsar is a custom hybrid indicator that fuses Bollinger Bands’ volatility framework with the Parabolic SAR’s trend-following logic. By integrating these two methodologies, it effectively reconciles market volatility with emerging trend dynamics within a single, cohesive tool.

A pure-MQL5 script that measures how robust a strategy's edge is to execution costs. It reads a Date,Profit,Volume CSV of closing deals and models each deal's cost as a fixed part plus a per-lot part. It prints the breakeven cost per deal, the cushion (the multiple of an assumed realistic cost at which the net profit reaches zero), the net profit and profit factor re-priced at the assumed cost, the share of winners the cost turns into losers, and a composite A+ to F cost-robustness score with recommendations. If no file is present it generates a reproducible sample and analyzes it, so the output is visible on the first run. No external libraries, no Python, no AI.

Altın (XAUUSD) ve Gümüş (XAGUSD) için çok göstergeli EA: RSI, ADX ve MA sinyalleri, uyarlanabilir ATR takip durdurma ve yerleşik sermaye koruması.

Breakout, yapısal boğa piyasalarında algoritmik kırılma momentumunu yakalamak üzere tasarlanmış, sade ve otomatik bir MetaTrader 5 uzman danışmanıdır.

The KCI Embedded Sniper is an algorithmic trading solution designed for high-precision reversal entries. Unlike conventional Expert Advisors that rely on external indicator dependencies (which often suffer from thread desynchronization and latency), this EA features a fully embedded Kinetic Compression Index (KCI) engine. By transplanting the entire mathematical framework of the KCI—calculating Velocity Quotients, Kinetic Displacement, Energy Dispersion, and Phase Velocity—directly into the EA’s core logic, we have eliminated "asynchronous lag." The result is a lightning-fast sniper engine that validates market exhaustion (Singularity) and momentum extremes (Williams %R) with micro-second precision, operating solely on completed bars to ensure zero-repaint performance.

The Kinetic Compression Index (KCI) is a custom oscillator designed to detect market exhaustion and localized compression events. By calculating its kinematic metrics internally rather than relying on external standard indicator handles, the KCI reduces overhead and simplifies buffer management for Expert Advisor (EA) integration. This article details the mathematical foundation, system architecture, buffer mapping, and practical integration guides for developers looking to implement this tool in MetaTrader 5.

SMC/ICT market-structure indicator for MT5: swing highs/lows, BOS (continuation) and CHoCH (reversal) confirmed on close, Order Blocks, Fair Value Gaps, and QML (Quasimodo) levels. Every feature is toggle-able, with adjustable swing sensitivity and colors. Works on any symbol and timeframe.

Exports your closed positions for a configurable period to a CSV file for journal analysis in Excel or Google Sheets: entry and exit time and price (volume-weighted over partial fills), volume, result in points, commission, swap, net profit and trade duration.

Calculates the correct lot size for a planned trade from your risk (percent of equity or a fixed money amount) and stop-loss distance (points or a price level). Respects the symbol's contract specification - tick size and value, volume min/max/step - and estimates the required margin.

On-chart panel with the live spread of the chart symbol - current, minimum, average and maximum since attach - color-coded against your warning and danger thresholds, plus an optional alert when the spread stays at the danger level for N consecutive seconds (news and rollover spikes).

A read-only on-chart panel that tracks your account against a daily-loss limit and a max-drawdown limit, with color-coded OK / WARNING / DANGER status. Monitoring only - it does not place, modify or close any orders.

MQTTFive — MQL5 için tam özellikli bir MQTT 5.0 istemcisi. Özellikler: • MQTT v5.0 — tüm paket türleri, özellikler, QoS 0/1/2 • Yerel MQL5 Socket API üzerinden TCP + TLS • Özellikler içeren Will mesajları (will_delay_interval, payload_format, message_expiry) • Giden PUBLISH mesajları için Konu Takma Adı • Akış Kontrolü (Alım Maksimumu) • Abonelik Seçenekleri (no_local, retain_as_published, retain_handling) • İkili ve UTF-8 yükleri • QoS 1/2 için otomatik yeniden deneme • Sıfır DLL bağımlılığı — saf MQL5 Mosquitto 5.0 ile test edilmiştir (15 test, hepsi PASS). Belgeler: https://github.com/chekh/MQTTFive Lisans: MIT

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.

An educational MT5 panel that maps the live price vertically inside four developing candles and summarizes location alignment, dispersion, candle direction and time remaining.

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

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.

Markov Zinciri geçiş matrislerini kullanarak, bir sonraki algoritmik yürütme döngüsünde yükseliş veya düşüş eğiliminin devam etme olasılığını matematiksel olarak tahmin eden nicel bir stokastik olasılık motoru.

A small, dependency-light library that brings a Rust-style Result type to MQL5. Functions return a single value-or-error object instead of relying on the global GetLastError() state, so failures are explicit and impossible to ignore. Includes ResultValue (value types) and Result (pointer-held objects), an Error struct, early-return macros (TRY, RETURN_ON_ERROR, ...) and optional Then/Match/MapError callbacks.

Live pip value, risk-based lot sizing, custom volume risk analysis & open position P/L — all in one panel.

IMR, körü körüne işlem yapmayı reddeden, kendi kararlarına göre hareket eden fiyat hareketi odaklı yatırımcılar için tasarlanmış, çok katmanlı bir nicel ters dönüş tespit aracıdır. Yatırımcıların mevcut piyasa rejiminin ne olduğunu anlamalarına yardımcı olur; ister birikim, ister dağıtım, ister devam eğilimi olsun.

Dinamik Gerçek Değer Açığı (FVG), piyasa fiyatlarındaki dengesizlikleri otomatik olarak tespit eden, MetaTrader 5 için geliştirilmiş bir MQL5 göstergesidir. Bu gösterge, Akıllı Para Kavramları (SMC) stratejisini kullanan yatırımcılar için son derece uygundur.

An educational MT5 indicator that builds support and resistance as price zones from confirmed pivots. Nearby reactions are merged using ATR-based distance, then ranked by repeated tests, rejection strength and recency. Only the strongest zones are displayed to keep the chart readable.

Spread calculator is created to display the current spread on any currency pair on the chart.

On-Chart Candle Countdown Clock is a simple indicator created to display the countdown timing of the last candle on any time frame.

Güncel alış-satış spreadini puan ve pip cinsinden doğrudan grafikte gösterir; gösterge eklendiğinden bu yana seansın minimum, maksimum ve ortalama spread değerlerini gerçek zamanlı olarak takip eder. Spread, kullanıcı tarafından belirlenen eşiği aştığında uyarı amacıyla renk değişir.

Market Watch’taki her bir sembol için SYMBOL_TRADE_TICK_VALUE, SYMBOL_TRADE_TICK_VALUE_LOSS ve SYMBOL_TRADE_TICK_VALUE_PROFIT değerlerini karşılaştıran bir teşhis komut dosyası. Her sembolü dört kategoriden birine (ALL_EQUAL, TV_MATCHES_PROFIT, TV_MATCHES_LOSS, ALL_DIFFER) sınıflandırır ve toplu bir özet ile yorumlama ipucu sunar. EA'larda risk temelli lot büyüklüğü belirlemeyi uygularken hangi tick değeri özelliğine güvenileceğini doğrulamak için kullanışlıdır. Sembol başına tam raporu MQL5/Files klasörüne CSV formatında dışa aktarır.

Hesap para biriminde belirlenen hedef zarar tutarına göre (örneğin, pozisyon başına 50 $) her açık pozisyonda Stop Loss ayarlayan komut dosyası. Herhangi bir para biriminde yatırılan parayla ve herhangi bir forex sembolünde çalışır. Brokerın stop/dondurma seviyelerini doğrular. Para birimi dönüştürme işlemi otomatik olarak gerçekleştirilir.

A lightweight educational MetaTrader 5 indicator that maps Premium, Equilibrium and Discount areas from a selected market range.

Tüm tamponlar seri olarak ayarlanmış Heiken Ashi

Open-source MT5 script that records XAUUSD/GOLD symbol settings, spread, tick value, contract size, volume step, stop/freeze levels, swap, and account context to the log and optional CSV.

A native MQL5 script that measures how concentrated a strategy's profit is — whether the edge is broad or rests on a few lucky trades. It reads a per-trade CSV (Date,Profit) and reports the share of net profit from the largest trades, the Gini coefficient of the winners, a concentration profile, a survival test that removes the best few trades and recomputes net profit and profit factor, and the largest single day versus a configurable consistency limit, combined into a concentration-and-consistency score (A+ to F) with recommendations. If no file is found it generates a sample set, so it runs out of the box. No external libraries, no Python, no AI. The helper ExportTrades.mq5 writes the file from your trade history.

A native MQL5 script that analyzes the structure of an account's drawdowns, not just the single "maximum drawdown" figure. It reads a daily equity curve (Date,DailyPnL CSV), rebuilds the underwater curve, and splits it into individual drawdown episodes with their depth, duration and recovery time. It then reports the Ulcer Index, Pain Index, Recovery Factor and time spent underwater, and combines them into a single resilience score (A+ to F) with recommendations, printed in the Experts tab. No external libraries; if no file is found it generates a sample curve so it runs out of the box.

Üçlü bariyerli etiketleme süreçleri, min_ret eşiği olarak sıklıkla keyfi bir sabit (%0,5–1,0) veya eski bir spread varsayımı kullanır. Gerçek gidiş-dönüş işlem maliyetinin altına ayarlanan bir eşik, sürecin maliyet kaynaklı gürültüyü işlem yapılabilir sinyal olarak etiketlemesine neden olur. Etiketlenen veri kümesi daha sonra kenar değerlerini sistematik olarak abartır ve bu etiketler üzerinde eğitilen herhangi bir model, gerçek piyasa yapısına değil, etiketleme şemasının yarattığı bir artefakta aşırı uyum gösterir. TransactionCostCollector.mq5, bu sorunun veri toplama aşamasını çözen bağımsız bir komut dosyasıdır.

A small educational MetaTrader 5 indicator that marks simple three-candle bullish and bearish Fair Value Gaps on the chart.

A small educational MetaTrader 5 indicator that marks confirmed swing highs and lows and labels market structure as HH, HL, LH and LL.

Aritmetik uç değerleri ortadan kaldırmak ve gerçek kurumsal likidite ağırlık merkezini belirlemek için ağırlıklı harmonik ortalama matematik yöntemini kullanan nicel hacim yoğunluğu hesaplama motoru.

Spread Meter — Live Single-Symbol Spread Tracker with Max/Min Record Spread Meter by Fox Wave is a sleek, single-symbol dashboard that displays the live spread of your current chart symbol in real time, while permanently recording the widest and tightest spread ever seen — with exact timestamps.

Open source MT5 spread logger with average, p50, p90, p95, p99, maximum spread, alerts and CSV export.

Kârlı Pozisyonları Kapat

A simple Expert Advisor based on the crossover of two EMAs (fast and slow), with configurable Stop Loss, Take Profit, lot size, and Magic Number.

123456789...201