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

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

Moves the stop loss of already open positions (manual or from any EA) to break-even and then trails it by points or ATR. Never opens or closes trades, only moves the SL in your favour.

Draws Asian, London and New York session boxes (high/low and range in points) for the last N days. Session hours are set in GMT; the broker's GMT offset is detected automatically.

Two-click Fibonacci tool: press F or the FIBO button, click the swing start and end. Points snap to the candle high/low, every level has its own colour and price label.

Günlük sonuçların bootstrap analizini engelleme: Bir hesabın veya stratejinin önümüzdeki aylarda ne kadar derin bir değer kaybına uğrayabileceğini gösterir; yüzdelik dilimler ve tekrarlanabilir simülasyonlar için tohumlu bir üreteç içerir.

Kapalı çubuklarda ICT modelini tespit eder (killzone likidite taraması, yer değiştirme veya ters FVG içeren MSS, SL ve TP’li geri çekilme girişi) ve her kurulumun sonucunu en kötü senaryo istatistikleriyle takip eder. Asla işlem yapmaz ve asla yeniden çizilmez; EA uyumlu tamponlar içerir.

Mum çubuklarının aşırı bir fiyat sınırını aştığı anı gösteren bir gösterge

Asya, Londra ve New York seanslarını ve Londra/New York seanslarının çakıştığı zaman dilimini, gerçek yerel saat ve yaz saati kuralları kullanılarak vurgular; böylece seans kutuları herhangi bir brokerda doğru şekilde görüntülenir.

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.

Herhangi bir grafikte günlük ve hafta sonu açılış boşluklarını işaretler, her bir boşluğun ne zaman kapandığını takip eder, yeni boşluklar oluştuğunda uyarı verir, her boşluk için bir CSV satırı kaydeder ve boşluğu iCustom’a aktarır.

Classifies each bar into trend, exhaustion, compression or noise regimes using Fractal Efficiency, ATR compression and a time-of-day adjusted volume Z-Score.

MT5 için salt okunur izleme programı: bilinmeyen sihirli sayılar, yeniden bağlanmanın ardından ortaya çıkan yinelenen pozisyonlar, eksik stop-loss (SL), stop-out durumları ve program kapalıyken yaşananlar hakkında uyarılar verir. Asla işlem yapmaz.

Gösterge, fiyat dalgalarını tespit eder, bunların zirvelerini ve dip noktalarını üç seviyeli oklarla işaretler ve bunlara göre direnç ve destek çizgilerini otomatik olarak çizer.

Draws the previous day, week or month high, low and close, the current period open and Classic, Fibonacci, Camarilla or Woodie pivots for each period, with a panel showing the nearest level above and below price.

Shows the relative strength of USD, EUR, GBP, JPY, CHF, CAD, AUD and NZD, plus an optional gold (XAU) line, built from the 28 major pairs, with a strongest-to-weakest ranking panel.

Volume-weighted average price that resets every day, week or month, with two pairs of standard-deviation bands, the previous period's final VWAP and a panel showing how far price is from VWAP in price, points and sigma units.

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.

A real-time CCanvas on-chart utility for MetaTrader 5 that calculates net lot exposure per currency across all open positions and simulates the exact margin, Margin Level (%), and Stop-Out buffer impact of a new Buy or Sell order—automatically accounting for your broker's hedged margin rules.

Free panel indicator for funded / prop-firm accounts: shows the room left before the daily loss limit and the static maximum drawdown, and alerts when you get close. Monitor only: it never opens, closes or blocks trades.

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.

A compact on-chart scanner that shows the RSI of the Market Watch symbols (or of a custom list) in a sorted, color-coded dashboard, marks overbought and oversold symbols, and can send alerts when a symbol enters one of these zones.

Devil Trader AI Lite is an automated Smart Money & Liquidity Expert Advisor engineered exclusively for GOLD (XAUUSD) on M30 and H1 timeframes. It maps Major Demand and Supply Order Blocks, waits for confirmed rejection candles, and applies dynamic ATR Stop-Loss, auto-lot sizing, and trailing stop protection with zero Martingale.

Break-even and trailing stop for open positions, measured in R (distance to the first stop loss). Respects stops level and freeze level, only moves the stop in profit direction.

Kombinatoryal simetrik çapraz doğrulama yoluyla bir MT5 optimizasyonunda geriye dönük test aşırı uyumunun (PBO) olasılığı. Her geçiş, günlük sonuçlarını bir çerçeve olarak gönderir ve PBO, optimizasyon sona erdiğinde hesaplanır.

Risk ayarını lot büyüklüğüne dönüştüren ve brokerın hacim adımı ile minimum lot değerinin bu riske nasıl etki ettiğini gösteren grafik üstü panel. Yalnızca görüntüleme amaçlıdır; hiçbir zaman emir açmaz, değiştirmez veya kapatmaz.

Seven-Bar Pressure Flip (SBPF) is a sell-only Expert Advisor for MetaTrader 5, provided as a research example for XAUUSD on the M15 timeframe. It looks for a bearish reversal candle following positive average candle-body pressure and manages positions using ATR-based stops, a fixed reward-to-risk setting, and a bar-count exit.

PRO Day Trading Signals is a non-repainting M15 indicator for MT5 that finds trend-following pullback entries after a liquidity sweep. How it works: it trades only in the direction of the H4/H1 trend (EMA200, EMA20/50). It waits for an M15 candle to sweep the previous 10-bar high or low at the EMA20/50 zone and close back inside. It confirms with a strong candle body (≥0.30 × ATR) and RSI (≥52 for BUY, ≤48 for SELL). Signals appear only on closed bars.

An MQL5 indicator example that checks the latest closed candle and suppresses duplicate alerts.

Marks every weekend gap on the chart, measures it in price and in ADR, shows whether and how fast it was filled, and keeps fill statistics for recent weeks. Display only, it does not trade.

Shows where today's daily ATR stands against the last 1, 3 and 5 years, and translates an ATR stop into money, lot size and minimum-lot risk for your account settings. Completed bars only. Display only, it does not trade.

Builds a time-of-day profile from your own broker's history: the typical spread, the typical tick activity and the typical spread-to-range cost of every time slot of the trading day. Cheap and expensive slots are marked in the indicator window, the daily rollover window is flagged, and a panel lists the best and worst slots and ranks the current spread against its own slot.

Intraday momentum EA for the Nasdaq 100: trades breakouts of a noise band around the New York open (rules of Zarattini, Aziz and Barbon, 2024), exits inside the band or across the session VWAP, flat at 16:00 New York.

Tokyo, London and New York session boxes with high-low range, kept on the right hours through every clock change, plus a live clock panel.

Tracks live MQL5 economic calendar events and real-time Bid-Ask spread in a chart HUD, exposing three iCustom buffers for EA news and spread gating.

False breaks at an ATR envelope, drawn as trades: price pushes through a band, closes back inside, and a box runs from the entry to the moving midline, with the stop as a thick line. Each label prints the win rate of earlier signals in the same RSI zone, and a corner card charts it for every zone.

Detects swing highs and lows automatically and draws Fibonacci retracement levels on the latest completed swing leg. The levels move to the new leg as soon as a new swing is confirmed; the levels, their colors and the swing sensitivity are configurable.

Small include file that gives you the lot size from risk in percent (or fixed money) and the stop loss distance. Rounds always down, checks min/max lot and free margin.

Eğitim Amaçlı Uzman Danışman: Günlük aralık kırılmaları için BuyStop/SellStop bekleyen emirleri, risk-getiri oranına göre kar alma ve işlem günleri. Teminat ve stop seviyesi kontrolleri içeren, açıklamalı ve düzenli MQL5 kodu. Yalnızca Demo ve Strateji Testçisi için.

Spread Monitor, grafiğe renk kodlu bir panel çizen bir MQL5 Uzman Danışmanıdır. Bu panel, izlenen sembolün mevcut spreadini puan cinsinden gösterir; buna ek olarak, kayan bir geçmişe ait ortalama, minimum ve maksimum değerleri de sunar. Ayrıca, uyarı seviyesini aşan kayıtlı örneklerin sayısını sayar ve mevcut spread bu seviyenin üzerine çıktığında durum satırını kırmızıya çevirir. Bu yardımcı program emir vermez. Girişler, uyarı seviyesini, geçmiş verilerinin boyutunu, yenileme aralığını ve panelin konumunu kontrol eder. EA ayrıldığında panel nesneleri kaldırılır.

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.

1234567891011...220