Ticaret robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Facebook ü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 Uzman Danışman kaynak kodları

icon

Uzman Danışmanlar, fiyat grafiklerini analiz eder ve dayandığı kuralları takip ederek otomatik olarak ticaret yapar. Buradan çeşitli sorunları çözen MQL5 kaynak kodlarını bulabilirsiniz. Hem hareketli ortalama çaprazlamasına dayalı basit Uzman Danışmanları hem de sofistike sinyal oluşturma algoritmalarına ve ticaret hatalarına karşı korumaya sahip karmaşık Uzman Danışmanları seçebilirsiniz.

Sunulan Uzman Danışmanları MetaTrader 5'te indirebilir ve başlatabilirsiniz. Ticaret robotlarını kullanmadan önce Strateji Sınayıcıda test ve optimize etmeniz önerilir. Uzman Danışman kütüphanesine doğrudan MetaTrader 5 platformundan ve MetaEditor geliştirme ortamından da erişebilirsiniz.

Kod ekle

A simple yet effective donchian channel breakout strategy. This strategy is timeless!

Here are some examples of codes for set counters based on "Count"

If you only want to execute your code blocks "only once per bar" it's important to check if there is new bar arrived or not.

This code block loops through all opened position and do trailing based on Ask and Bid prices.

This code block detects a New Bar or a New Candle when it has received.

"Algoritmik Ticaret için MQL5’te Sinir Ağları" kitabı, hem yapay zeka ve sinir ağlarının teorik temellerini hem de MQL5 programlama dilini kullanarak finansal ticarette uygulanmalarının pratik yönlerini kapsayan kapsamlı bir kılavuzdur.

Now we will get the code with function and purpose as below: 1. How to call and using the bollinger band 2. How to call and using the volume tick 3. How to call and using the Moving average volume. 4. How to code using the Trailling & Check volume lot size

Short description.

KA-Gold Bot is an advanced trading advisor specifically designed for gold, utilizing the powerful combination of the Keltner channel strategy and two exponential moving averages (EMAs) - the 10-period EMA and the 200-period EMA. Principle of Operation: The 10-period EMA represents the average price cutting above/below the Keltner band, confirming an uptrend/downtrend. The price being above the 200-period EMA supports the uptrend/downtrend. This indicates that the uptrend/downtrend has been stronger than the previous 10 periods, considering the volatility over the last 50 periods. - Time frame: M15

The EA only trades buy positions and does not use SL and TP.

Syncs all chart symbols to symbol of the chart the EA is attached to

This utility is simple example to add sound alert on connect / disconnect

Kitabın yedinci ve son bölümü, MetaTrader 5 için program geliştirirken faydalı olacak MQL5 API'sinin gelişmiş yeteneklerini tartışmaktadır. Bunlar arasında özel finansal semboller, yerleşik ekonomik takvim olayları ve ağ, veri tabanları ve kriptografi gibi genel amaçlı teknolojiler bulunmaktadır.

“Yatırımcılar için MQL5 Programlama” kitabının 6. bölümünde, MQL5 dilinin önemli bir bileşeni olan ticaret otomasyonu hakkında konuşacağız. Finansal enstrüman özellikleri ve işlem hesabı ayarları gibi temel unsurların açıklamasıyla başlayacağız. Bunlar, düzgün çalışan Uzman Danışmanlar oluşturmak için ön koşullardır.

Kitabın 5. bölümünde, finansal veri analizi ve işleme, grafik görselleştirme, otomasyon ve kullanıcı etkileşimleri dahil olmak üzere algoritmik ticaretle ilişkili API'leri daha derinlemesine inceleyeceğiz.

Kitabın dördüncü bölümünde, yerleşik fonksiyonlarda (MQL5 API) ustalaşmaya odaklanacağız ve kademeli olarak özelleşmiş alt sistemlere gireceğiz. Herhangi bir MQL5 programı çok sayıda teknoloji ve işlevsellikten yararlanabilir. Bu nedenle, çoğu programda kullanılabilecek en basit ve kullanışlı fonksiyonlarla başlamak mantıklıdır.

“MQL5'te nesne yönelimli programlama” başlıklı 3. bölüm, MQL5 dilinde nesne yönelimli programlama (OOP) dünyasına bir giriş sunar. Yazılım geliştirme genellikle birden fazla unsurun yönetimiyle ilgili karmaşıklığa sahiptir ve programlama kolaylığını, üretkenliği ve kaliteyi artırmak için ileri teknoloji gerektirir.

“MQL5 programlamanın temelleri” başlıklı 2. bölüm, bu programlama dilinin temel kavramlarına bir giriş niteliğindedir. Kitabın bu bölümü veri türleri, tanımlayıcılar, değişkenler, ifadeler ve operatörlere ayrılmıştır. Program mantığını oluşturmak için farklı talimatları nasıl kombine edeceğinizi öğreneceksiniz.

Kitabın ilk bölümünde MQL5 dili ve geliştirme ortamı tanıtılmaktadır. MQL5 dilinde MQL4'e (MetaTrader 4 dili) kıyasla sunulan yeni özelliklerden biri, onu C++'a benzer kılan nesne yönelimli programlama (Object-Oriented Programming, OOP) desteğidir.

a Simple Visual Strategy Tester / Manual Trade Training using Martingale.

Bu Uzman Danışman ticaret yapmaz. Standart canvas kütüphanesi kullanılarak uygulanan basit bir panel, fare ile rakamlar çizmenize olanak tanır. Eğitilmiş mnist.onnx modeli rakamları tanımak için kullanılır.

This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.

This function allows you to retrieve and return the filling policy of a symbol in MetaTrader 5. This is useful for making trading decisions based on the filling policy of a specific financial instrument.

"This advisor uses the RSI indicator to determine optimal entry and exit points in the market. A unique feature of the advisor is its martingale strategy, which allows for position reversal with an increased lot size during market reversals. The advisor offers flexible trading time settings: you can set a working time range and disable trading during specific hours to filter out news events."

The EA trades using the Rectangle, EMA and SMA indicators.

On contrast with Trailing Stop which a stop loss trails price until the price hits the stop loss and the position gets closed in profit, introducing Trailing Take Profit which take profit trails price when a position is in loss and ultimately the position gets closed with loss.

The AK-47 Scalper EA is fully automated. It employs a strategy of continuously entering Sell Stop orders and will modify them when the price moves against the pending orders.

Explore the implementation of equity-based position closure in your trading bot, where positions are closed automatically when the equity reaches a certain percentage threshold.

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

This code snippet implements a dynamic risk management strategy for existing trades. It focuses on closing trades based on profit or loss thresholds and employs a trailing stop loss to lock in profits as the trade moves favorably. The strategy helps manage risk and enhance profitability in a streamlined manner.

This MT5 Expert Advisor opens multiple buy and sell orders based on user input, featuring a simple interface with Buy and Sell buttons. The EA calculates lot size, checks the spread against slippage, and places orders accordingly. It is essential to test this EA in a demo account before using it in live trading.

This code initializes the necessary objects and input parameters, and defines a CheckTrades() function that calculates the risk and profit amounts based on the account balance and user input. It then iterates through open orders and checks if the current profit or loss meets the user-defined thresholds, and closes the position if necessary

This class allows you to create buttons on the chart as if they were chart objects(have time and price coordinates) these objects can be dragged on the chart and when scrolling they stay at the same place. If you wan't to learn some Object Oriented Programming or if you wan't to understand how chartevents work or you wan't to create graphical interfaces, you can learn a lot from this.

Close trades when the percentage profit or risk of the account is reached

to display trade history files(.csv) on charts.

MoveStoploss moves the stoploss as the trade move in your direction at a specific distance. Version 1.1 has automatic trail error fixed.

Returns the price for the most recent fractal high

Official example involve complex wrapper classes, Here is a simple one

This expert advisor is based on the alligator indicator and bollinger bands indicator. Currency pair: GBPAUD Time frame: 15min

Reversal strategy using Moving Average, Standard Deviation and RSI

123456789101112131415161718192021222324252627282930313233343536