Ticaret 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?

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 ticaret 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

Show candle gain and candle loss in percent.

Candlestick Fitness concept is used in coding HFT Algos based on population optimization algorithms.

This is an indicator to calculate 14 types of moving averages based on close price.

Provides Bollinger Bands with calculating the range bandwidth as the difference in pips between the upper and lower Bands. Bollinger Bands appearance and behavior can be tailored by adjusting period, shift, deviation, and applied price, along with color and line style. The 'range/bandwidth information' label can be placed in the specified Sub-Window, allow to customize label positions. Overall, this indicator aids traders in visualizing market flexibility and volatility based on Bollinger Bands width.

Sec-WebSocket-Key Generator

This function performs the main logic of opening a trade. Calculates the opening price, take profit levels and stop loss based on symbol information and parameters provided by the user. Prepare a trade request (MqlTradeRequest) with the necessary information, such as symbol, volume, order type, deviation, comment, magic number, etc. Call the OrderSend function to send the operation request and get the result. SetTypeFillingBySymbol function: Determines the order fill type (Fill or Kill, Immediate or Cancel, or Return) based on the symbol's filling policy. GetMinTradeLevel function: Calculates the minimum operating level based on the freeze level and the symbol stops level. Adjusts the minimum level to make sure it is within certain limits and returns the result.

This is a script to print all open trades and their PnLs at a specific time in history.

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

The 'wd.Multi_ClockPrice lite!' is the lite version of 'wd.Multi_ClockPrice', providing a visual representation of server time and bid prices on the chart. It synchronizes with PC clock every seconds, allowing seamless updates even when MT5 is offline. Real-time bid prices are displayed, efficiently meeting the need for price information. Place informational labels in the specified sub-window, adjusting positions as needed.

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

This is the exact conversion of pivotshigh and pivotslow functions from pine script v4 as an mql5 indicator.

Calculate the cosine distance and similarity between 2 vectors . The cosine distance is 1-cosine_similarity and the cosine similarity is the dot product of two vectors by their magnitudes multiplied.

This is an indicator for showing volume profile on the chart, using simple calculations and very fast execution.

This Script collects all MQL5 built-in indicators buffers and stores them in a CSV file for analysis purposes

This is the exact conversion of linreg function from pine script v4 as an mql5 indicator.

Candle ZigZag is an indicator which changes its leg if a candlestick color changes

The script is useful for inspecting the structure of ONNX models, providing insights into the input and output, their names, and their properties. It is particularly helpful for debugging and understanding the characteristics of ONNX models used in machine learning applications.

A sophisticated tool that accurately measures market noise

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.

Draw a Rectangle on chart to plot custom grids based on points value on input

A simpler way to display Heikin Ashi

This indicator allows you to define a checklist for you to manually check and confirm your strategy before entering into a trade.

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

Alerts on engulfing bar below or above rsi levels

The MT5 custom indicator, named "wd.Multi_LineMA.mq5," is designed to offer traders valuable insights into Moving Average values from a higher timeframe (MTF Multi TimeFrame). It encompasses additional visual features for in-depth analysis, such as the ability to view trails for a specified number of bars and a dynamic MA horizontal price line.

Click on candlestick to see its body range, high low range, upper wick range and lower wick range value.

Current Candle To Close in x Time

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.

Envelopes beginner tutorial to learn how to code in MQL5

Horizontal Grid Controller with KeyEvents

This is a simple program to compare asynchronous and synchronous all close. It is a sample program, so feel free to modify it for your own testing purposes, such as adding conditions.

Candlestick Wick Imbalance

Display Binance quotes in real-time mode

DCC / Piercing

123456789...183