Guarda come scaricare robot di trading gratuitamente
Ci trovi su Facebook!
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 - 7

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

Lo script calcola il numero di candele rialziste e di quelle ribassiste nel timeframe considerato. Con una semplice modifica, cambiando due valori indicati all'interno del codice sorgente, è possibile scegliere quante candele/barre controllare. Default il programma valuta le ultime 40 candele aggiornandosi ogni 30 secondi. Il risultato viene visualizzato su grafico e su registro expert. Lo script aggiunge inoltre una media dei prezzi di chiusura e può essere allegato a più coppie di valuta cripto/fiat simultaneamente.

The Restoring Pull Indicator was created by John Ehlers (Stocks & Commodities V.11:10 (395-400))

One code that works for both Mt4 and Mt5 combined. Salient features of the code: -Filter News by High, Low or Medium Volatility -Filter By currencies -Filter by News Keyword -Auto GMT offset check -Dashboard to show upcoming News (Can be enabled or disabled) -Lines on chart for all Upcoming events -Code can be easily modified to place trade at certain time before or after an event or to just stop trading during events.

Get notifications when hit price level

This EA started off as a job to trail equity. I then added the function of managing individual trades. Thereafter I added the facility of manually putting the price of when it can send a grid of pending order's. This EA does not have condition set in it to open trades. You have to determine that if market moves to an area you believe you would open a grid of orders if you were by your computer watching the market. No what this EA helps is you wake up in the morning you see the area you a grid to open. PUT THE PRICE FOR THE EA TO OPEN A GRID OF PENDING ORDERS. If the market reaches the area price you have set. The EA will send the grid and will manage those trades putting Stop Loss (if you set it) trailing(if you set it). Today 13 Sep 2022 the EA generates has NO ERROR when compiled

Show trade history

he script estimates the bar's High-Low-Close, based on the stream similarity.

An indicator for drawing all important Pivot Points including: "Classic", "Camarilla", "Woodie", "Floor", "Fibonacci", "Fibonacci_Retracement".

Source code of simple order panel

The Predictive Moving Average was created by John Ehlers (“Rocket Science For Traders”, pg.212″).

This library shows useful informations and do a lot of functions to a symbol.

Modify to allow direct specification of the starting point of the Parabolic SAR.

Allows you to determine the occurrence of a new bar event in a multicurrency Expert Advisor

Two pending orders at the beginning of the day

The Expert Advisor is a joke: the position is opened randomly. Now there is a Stop Loss, Take Profit and much more

Expert is a joke! The position is opened at random!

A series of indicators 'Four Colors'. Signals are now 'Arrow' in the main window

An exponential moving average of the true range and the offset of its average deviation

Added alerts to custom indicator

Candlestick chart without shadows

A simple trading system using the custom indicator "WPR Custom Cloud"

Added alerts to custom indicator

Colored SAR indicator. Alerts on color change

The indicator draws three daily rectangles

Simple EA on 'iVIDyA' indicator

Indicator based on iAO (signal 'saucer') and filter based on iMA

Service Script for aggregating Economic Calendar data to a .txt file

Trading strategy for the custom indicator 'OsMA Four Colors Arrow EA'

Three candles from another timeframe are drawn using graphical objects

Smoothing the custom indicator 'Relative Momentum Index' using iMA

Two indicator series ('Two MA Color N Bars' and 'Square') in one code

Displays direction of volatility and volume

Martingale based on custom indicator 'VIDYA N Bars Borders'

The indicator plots (using OBJ_TRIANGLE) the area between 'Open', 'High', 'Low' and 'Close' of the day

A simple indicator that tries to assess autocorrelation in price series.

A series of indicators 'Square' - shows the state of the indicators in the form of lines of squares. Displays two indicators: MACD and Stochactic

Finalization of previous version. Now, when opening a 'SELL' position, we immediately close all 'BUY' positions and vice versa: when opening a 'BUY' position, we immediately close all 'SELL' positions

Trading strategy based on the iAMA (Adaptive Moving Average, AMA) and iRSI (Relative Strength Index, RSI) indicator. Doubling the position at a loss (not Martingale!)

Just a very simple expert that execute orders from a text file.

iVIDYA (Variable Index Dynamic Average) indicator with levels for N bars

1234567891011121314...183