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.
Bir çizim göstergesinin yeniden çizilip çizilmediğini ölçer; çizilmediğini iddia etmek yerine. Değişmezlik kuralı: Bir çubuk kapandıktan ve işlendikten sonra, üzerine çizilen hiçbir nesne asla değişmemelidir — hareket etmemeli, rengi değişmemeli, metni değişmemeli ve kaybolmamalıdır. Komut dosyası, gerçek geçmiş verileriyle özel bir sembol oluşturur, şablon aracılığıyla göstergenizi ekler, her nesneyi kaydeder, çubukları ekler, tam bir yeniden hesaplama yapar ve nesneleri tek tek karşılaştırır. Değişiklikler ve kaybolmalar ayrı ayrı sayılır, çünkü yalnızca bir değişiklik olması iddianın yanlış olduğu anlamına gelir. Hiçbir şeyi karşılaştırmayan bir çalıştırma, ASLA "geçti" olarak değil, "SONUÇSUZ" olarak raporlanır. Çıktı, sayının yanında yayınlayabileceğiniz bir CSV dosyasıdır.
A read only MT5 script that reports broker symbol specifications, volume limits, price settings, execution modes, trading permissions, margin requirements and estimated profit values.
The script prices one night of holding: for every open position and every Market Watch symbol it prints the swap per night in your account currency, the annualized cost in percent for both directions, the broker's rate-independent markup (|swap long| + |swap short| never depends on interest rates - it is pure broker margin), and the triple-swap day. Honest "n/a" where a swap mode cannot be converted reliably.
Checks your trade history against common prop-firm challenge rules — profit target, max daily loss, max drawdown, consistency rule, and minimum trading days — with a clear PASS/FAIL report.
A simple MQL5 script that calculates the correct lot size for a trade based on your account risk percentage and stop loss distance in pips, so every trade risks a consistent, controlled amount of your balance.
Kapanan her işlem için, hesap özetinde yer almayan rakamları içeren bir CSV satırı dışa aktarır: işlemin gösterdiği en yüksek gerçekleşmemiş kâr (MFE), atlattığı en kötü gerçekleşmemiş zarar (MAE), MFE’nin ne kadarının fiilen elde edildiği, kaç çubuk boyunca sürdüğü ve ne kadar süreyle açık kaldığı. Trade Excursion göstergesiyle aynı ölçümler, grafikte gösterilmek yerine bir dosyaya yazılır; çünkü bu verilerle ilgili sorulması gereken sorular, bir grafiğin cevaplayamayacağı sorulardır: yakalama oranı giriş saatine bağlı mıdır? Erken kapattığım işlemler, en uzun süre tuttuklarım mı? Pazartesi günleri gerçekleşen zararlı işlemlerin MAE değeri, Cuma günlerinkinden farklı mı? CSV dosyası hazır olduğunda, bu soruların yanıtlarını bir pivot tablo ile kolayca elde edebilirsiniz. Çıktı, MQL5\Files dizininde başlık satırı ile birlikte noktalı virgülle ayrılmış haldedir; herhangi bir elektronik tabloda açılabilir. Ölçüm sınırı: sapmalar, seçilen zaman dilimindeki çubukların en yüksek ve en düşük değerlerinden elde edilir; çubuk içindeki yol bilinmemektedir. Çubuklar sütunu, her işlemin elde ettiği çözünürlüğü bildirir ve özet, tek çubuklu işlemleri ortalamak yerine ayrı ayrı sayar.
Sürdürülebilir trendleri bulmak için hızlı bir piyasa taraması. Bu komut dosyası, “Piyasa Genel Bakışı”ndaki tüm sembolleri bir saniye içinde analiz eder ve R² doğrusal regresyonu ile ADX göstergesini kullanarak en net ve güçlü hareket gösteren enstrümanları bulur.
MarketInfo, MetaTrader 5 için basit bir bilgi betiğidir. Mevcut sembole ilişkin temel verileri toplar ve günlüğe kaydeder: fiyatlar, spread, oynaklık (ATR), çubuğun kapanmasına kalan süre, N çubukluk istatistikler ve trend belirleme.
Tests whether live closing deals still match the backtest of an Expert Advisor. A bootstrap-calibrated CUSUM detector raises an alarm and estimates when the drift began, a two-window check separates a short dip from a lasting decline, and an expectancy decomposition shows whether the win rate or the trade sizes changed. The script generates demonstration data on the first run and is written in pure MQL5.
Script that lists the global variables of the terminal with value, last access time and age, filtered by prefix, substring and age. It exports them to CSV, deletes the matching ones after a confirmation and a backup, and restores them from a CSV file.
Resamples your closed trades 10,000 times to show whether your average trade is an edge or could still be luck: the 95% range of the average and the chance it is below zero.
Measures how far your PC clock is from the trade server's clock, from the server time stamped on live ticks, and tells you how to fix it.
Running several EAs on one account? This script groups the closed trades by magic number and shows the score of each EA: win rate, profit factor, net profit and drawdown. Read-only, writes a CSV file.
Shows what every buffer of an indicator holds - arrows, a line or a colour index - and labels the arrows on the chart with their buffer numbers. Works with compiled indicators without source code.
A script for accounts that run several Expert Advisors or configurations. It aggregates the net result of each configuration (magic number, or magic number and symbol) per calendar day and measures how much each one contributes to the portfolio drawdown: drawdown added by leave-one-out, share of the worst drawdown, and Euler variance share. It prints verdicts, recommendations, and a heuristic A+ to F score. It runs out of the box on a built-in demonstration portfolio and is written in pure MQL5.
Free script exporting clean, deterministic OHLC + tick volume + 4 indicators (MA, RSI, MACD, ATR) for M1/M15/H1 to CSV. Closed bars only, zero lookahead — ideal for analysis and ML datasets.
Before the Friday close: estimates how much your open positions could lose if the market reopens with a gap, and compares it with the room left under the daily loss limit of the next trading day. For prop firm and funded accounts. It only reads the account.
Reads your closed trades, converts each to an R-multiple and simulates many future runs at a chosen risk per trade. Reports the probability of hitting a drawdown floor, the probability of ending profitable, the median ending balance and the 95% range. Read-only.
Closes all open positions and optionally deletes pending orders with one click. Filter by symbol and magic number.
For every closed position the script measures how far the price went against it (MAE) and in its favour (MFE), and shows what that says about your stops and exits. Table, summary on the chart and a CSV file. Read-only, it never trades.
Tests "buy at hour X, exit Y hours later" on your broker's own history after spread, commission and swap, with an out-of-sample split, weekday/year breakdown and an all-hours baseline.
Reads real tick history and reports average, median and 95th-percentile spread for every server hour and weekday, plus the cost in % of price.
Script that reads the deal history of your account and writes a plain note on how an Expert Advisor really trades: entries, stops and trailing, lot changes, martingale, averaging, trades at once, hours and holding time, plus what to watch out for. It never trades and says nothing about profit
A free MT5 script to calculate position size, risk amount, and risk-to-reward ratio visually on the chart.
This script finds DeMark pivot points, displays them on the chart and indicates their dimensions.
Bu fonksiyon, bir işlem açmanın ana mantığını gerçekleştirir. Sembol bilgilerine ve kullanıcı tarafından sağlanan parametrelere dayanarak açılış fiyatını, kar alma seviyelerini ve zararı durdurmayı hesaplar. Sembol, hacim, emir türü, sapma, yorum, sihirli numara vb. gibi gerekli bilgileri içeren bir işlem talebi (MqlTradeRequest) hazırlayın. İşlem talebini göndermek ve sonucu almak için OrderSend fonksiyonunu çağırın. SetTypeFillingBySymbol fonksiyonu: Sembolün doldurma politikasına göre emrin doldurma türünü (Doldur veya İptal Et, Anında veya İptal Et veya Geri Dön) belirler. GetMinTradeLevel fonksiyonu: Dondurma seviyesine ve sembol durma seviyesine göre minimum çalışma seviyesini hesaplar. Belirli sınırlar içinde olduğundan emin olmak için minimum seviyeyi ayarlar ve sonucu döndürür.
Tek bir işlemin stop-loss'unu açık fiyatına uyacak şekilde manuel olarak ayarlamak nispeten basit bir görev olsa da, çok sayıda pozisyonu ayrı ayrı yönetmek zahmetli ve zaman alıcı olabilir. MT4/MT5 için Titik Impas Breakeven komut dosyası, bu süreci kolaylaştırarak birden fazla pozisyonla uğraşan tüccarlar için verimlilik ve kolaylık sağlar.
Boğa veya ayı çubuklarının ardışık sayısını saymak için örnek kod.
The script obtains information about the number, types and sizes of input and output tensors in an ONNX model
MT5 penceresinde mevcut fiyattan belirli bir zararı durdur (pip cinsinden) ve kar al (pip cinsinden) ile bir satın alma pozisyonu açmak için komut dosyası
Set StopLoss by just dragging and dropping script on the desired price level.
hi, this code need your telegram token and telegram chat id . you can make robot by BotFather and then search in google how you can find telegram token and chat id then attach them to this code . now every trade would be signals on your telegram channel.
Emirleri sessizce reddeden görünmez sözleşme sınırlarını görüntüler: durdurma seviyesi, dondurma seviyesi, minimum/adım/maksimum lot, tik boyutu ve değeri, spread türü, yürütme modu, swaplar ve serbest marjınıza karşı minimum lot için gereken marj.
This is the version 2 of my script to export the trade history from MT5 selected between two dates. The resulting file is CSV that can be opened/imported with any spreadsheet software. More columns were added and fixed minor errors. The code for processing and exporting data was rewritten.
OpenCL'de Mandelbrot fraktal hesaplamasının küçük bir çalışma örneği, yazılım uygulamasına kıyasla hesaplamayı yaklaşık 100 kat önemli ölçüde hızlandırır.
The script controls the display of time and price scales for all open charts or only for one chart.