Alım-satım robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Twitter ü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?

Kullanıcı derecelendirmelerine göre en iyi MQL4 ve MQL5 kaynak kodları - 19

Kod ekle

Free MT5 position risk monitor displaying stop-loss risk, account risk percentage, positions without SL and individual position risk directly on the chart.

Strict risk management utility for prop-firm challenges. Automatically monitors your entire account to prevent daily and max drawdown failures. It acts as a safety buffer against spread spikes and revenge trading by instantly closing all positions and pending orders before your evaluation is terminated.

Enforces your own risk rules on every position, whether opened by hand or by another EA: shows the lot size that matches your risk, locks the account for the day after a set loss, caps open positions, trims positions that risk more than allowed, and adds a stop-loss to any position opened without one.

Closes losing positions early, before the full stop-loss, when a rule says the trade is not coming back: adverse move beyond N x ATR, too long in loss, EMA trend flipped, RSI against the position, or a money cap. Never touches a position in profit. Observe-only mode journals what would be closed without closing anything. Every exit is written to CSV with the rule, the age and the maximum adverse excursion, so the rules can be tuned from data.

Educational MT5 EA: closed-bar EMA crossover entries, ATR-based stop loss and take profit, lot size from a fixed percent of equity via OrderCalcProfit, spread filter, magic-number isolation and server return-code checks. A clean template for building risk-controlled EAs. No profit claim.

Position size from a risk amount, computed from the symbol's real tick value, tick size and volume step rather than an assumed pip value. It always rounds volume down, and when your risk is smaller than the minimum lot it says so and reports what that lot actually costs. No terminal state, so the sizing logic is testable offline - a 41-assertion test script is included.

Scores every setup type in your EA on its own record instead of lumping them into one equity curve. Rebuilds itself from the account's deal history on init so a restart cannot wipe the record. Prints a Wilson score lower bound next to the raw win rate so a three trade hot streak stops looking like an edge.

Classifies the market with ADX, the Hurst exponent and lag-1 autocorrelation, routes each bar to a breakout module or a mean-reversion module, and keeps a separate win rate ledger for each regime with a Wilson 95% lower bound, so you can see which half of it is actually working.

Works out the lot from your risk percent and the stop distance, then opens the trade with the stop loss and take profit already attached. Never trades by itself.

Numbers every candle of the current trading day starting at the cash open of Frankfurt, London, New York or Tokyo. The anchor is converted from exchange local time to broker server time with automatic daylight saving, so the first candle after the open is always number one, in summer and in winter.

Account-wide MT5 risk protection EA for prop-firm and personal accounts. Monitors daily and overall drawdown, position losses, safety buffers, and automatically protects the account when configured limits are reached.

A real economic-calendar news filter that also works in backtests. Export the events once with a script, then block new entries around news both live and in the Strategy Tester. Fixes the one-hour DST shift of historical calendar times.

Parallel use of the MetaTrader 4 and MetaTrader 5 order systems.

The Zigzag2_R_Color indicator with the timeframe selection option available in the input parameters.

The VR Alert NT5 indicator warns the trader about the price reaching a specified level.

The Slope Direction Line indicator is displayed as a colored moving average line indicating the average market movement direction.

This is MQL5 version of Shved Supply and Demand written by Shved and upgraded by eevviill7 with history mode.

Holt's double exponential smoothing with linear forecasting

This version can use one of the 4 basic averages types for smoothing.

Trend rejimlerine yönelik, makine öğrenmesinden ilham alan bir yaklaşım. Doğru sinyaller ve yerleşik geriye dönük test güvenilirliği sunar

This script finds DeMark pivot points, displays them on the chart and indicates their dimensions.

Serialization and deserialization of JSON protocol. The code is ported from a high-speed С++ library.

A variation on the T3 theme that was made as a sort of envelopes using T3 for basic value.

Super trend indicator that uses hull average for calculation.

Holt's double exponential smoothing - the trend component.

Adaptive Laguerre filter trend.

Bir Uzman Danışmanın OnTick () olay işleyicisinde yeni bir çubuğun veya mumun başlangıcını algılama.

To use martingale money management when a position is in loss and price hits any of specific distances.

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.

Temel eğimli hareketli ortalamaya ve buluta dayalı gösterge. Gösterge iki tür sinyal gösterir: ön hazırlık - nokta ve giriş - ok.

Bu, bir grafikte mum çubukları desenlerini gösteren bir göstergedir.

Finansal piyasalara uygulandığında, bu yöntem tipik olarak "normal" seviyelerden aşırı fiyat sapması anlarını belirlemek için kullanılır.

Class for displaying multi-line comments.

YMA

Moving average for prices (O+C+H+L)/4.

The Aroon indicator in the new visualization.

The newest version of ALMA.

The Dynamic Trend signal indicator draws a two-color trend direction line and adds signal arrows.

The library and iCanvas class simplify writing programs using Canvas.

Signal indicator iCrossAD. It shows possible reversals or price roll-backs.

ATR adaptive SMA (simple moving average)

1...121314151617181920212223242526...207