Guarda come scaricare robot di trading gratuitamente
Ci trovi su Twitter!
Unisciti alla nostra fan page
Accedi al CodeBase dal tuo terminale MetaTrader 5
Non hai trovato il codice che fa per te? Ordinane uno dalla sezione Freelance
Come scrivere un Expert Advisor o un indicatore

Libreria di Codici Sorgente MQL5 per MetaTrader 5 - 8

icon

Questa è la più grande libreria di codici sorgente gratuiti per i programmi della piattaforma MetaTrader 5. Qui puoi trovare Expert Advisors, indicatori tecnici, script e librerie pronti all'uso. Sfrutta la libreria di codici per imparare il linguaggio MQL5 e sviluppa le tue applicazioni di trading automatico partendo dai codici disponibili.

I codici possono essere liberamente scaricati, testati e lanciati in MetaTrader 5. La libreria è anche disponibile direttamente dalla piattaforma MetaTrader 5 e dall'ambiente di sviluppo MetaEditor.

Invia il tuo codice

Cumulative candle, taking into account High and Low

Channel of 'N' bars at 'Low' and 'High' prices

Trend indicator. Added alerts (Sound, Alert, email, push)

Development of the first version. Added parameters 'Maximum number of positions' and 'Minimum step of positions'

The indicator shows the zones between the price crossing and the "MA" indicator

Histogram between price and indicator or between two indicators

Strategy based on the 'DeMarker' indicator, working with pending orders

The indicator shows the position of two indicators (iMA and iStochastic)

Version 2: extended functionality (added a few extra options)

A simple indicator plotting a channel with a constant range

Assistant - works on the current symbol, has the 'Trailing activate if profit is >=' parameter in the trailing parameters. Sets the initial Stop Loss and Take Profit. Closes all positions when target profit is reached

Assistant - works on the current symbol, has the 'Trailing activate if profit is >=' parameter in the trailing parameters

In a given time interval, a rectangle is constructed.

Советник-утилита. Показывает суммарную прибыль за несколько периодов (сумму и в %), количество сделок за несколько периодов. Расчёт по заданному символу и magic number

Fractals based on the iOBV indicator (On Balance Volume, OBV)

Martingale strategy based on custom indicator 'MACD Four Colors 2'

Colored Stochastic smoothed with iMA (Moving Average, MA)

Very simple indicator to plot the values of the spread[] data as reported by the OnCalculate event handler.

The indicator shows the percentage of the 'Close' price above and below the 'iMA' indicator

The color indicator shows in a separate window the moment if the intersection of two iMA (MOving Average, MA) was on the current bar

Trading strategy based on the custom indicator 'MA on Momentum'

'Momentum' indicator and 'Momentum' indicator smoothed with 'Moving Average

iDeMarker (DeMarker, DeM) indicator smoothed with iMA (Moving Average, MA).

SmoothStep (generalized)

SmoothStep

Have you ever asked yourself why it is not possible to customize fractals more? ... now it is.

The ZigZagExtremaOnArray is an mqh include file which contains the calculation function of MetaQuotes' Examples ZigZag, BUT you can use it on any buffer that contains curves or histograms, similarly to the MovingAverages.mqh from include. The idea was to get highs and lows of an indicator curve quickly with the help of an "onBuffer" function.

The indicator compares OHLC prices

Detecting the start of a new bar or candle, in the OnTick() event handler of an expert advisor.

The indicator in the subwindow shows a comparison of High and Low prices

This simple quick & dirty script code will output a CSV file of all the Signals' properties as reported by the MQL5 Trade Signals functionality.

One of the strategies for the 'DeMarker' indicator is a permanent set of positions

Engulfing Pattern Plus One

Version 2. Indicator based on 'Chaikin Oscillator, CHO'. Line intersection of 'CHO' and 'smoothed CHO'

ADXm (experiment)

The EA works on the signals of the custom indicator 'PriceChannel_Signal_v2' ( https://www.mql5.com/en/forum/173249/page132#comment_15924070 )

iCCI (Commodity Channel Index, CCI) indicator as a colored line

Utility for copying transactions from one MT5 account or MT4 account to another MT5 account.

Trading strategy for the custom indicator 'CHO Smoothed EA'

Study of the dependencies of two iMA (Moving Average, MA)

123456789101112131415...183