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

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

Indicatore "Coefficiente di correlazione

Indicatore "Chaykin Money Flow (CMF)

L'oscillatore di volume è un utile indicatore di analisi tecnica che prevede la forza o la debolezza delle tendenze dei prezzi.

Indicatore Chande Kroll Stop - livelli di stop per posizioni corte e lunghe.

cambiare i prezzi dei caratteri su un intervallo

L'indicatore disegna un secondo timeframe arbitrario sul grafico.

Un algoritmo di ordinamento ibrido che fornisce prestazioni veloci per l'ordinamento di array di tipi semplici, strutture o puntatori a oggetti.

L'indicatore mostra l'angolo o la velocità media di variazione dei prezzi.

Libreria di base per creare profili di volume sul grafico.

Versione veloce in JavaScript della libreria Report di fxsaber per i comandi di trading in stile MT4 implementati tramite MT4Orders o Virtual. Funziona fino a 10 volte più velocemente, la dimensione del file NTML è più piccola, può caricare e visualizzare fino a 5,4 milioni di righe di report.

Strategia basata sull'indicatore standard iCHO (Chaikin Oscillator, CHO) e sull'indicatore personalizzato 'CCIDualOnMA'.

Pannello basato sulla classe CDialog. Lavora sul simbolo corrente. Eliminazione, impostazione di Take Profit, impostazione di Breakeven su un gruppo di posizioni

Questa libreria consente di creare visualizzazioni che consentono di inviare facilmente informazioni di testo al grafico alla velocità più ottimale.

Esecuzioni multiple/ottimizzazioni in Tester.

Costruire una retta mobile con un polinomio di 4 gradi. Estrapola la sinusoide e il suo assiale. Le linee costruite rimuovono un valore a ogni barra e viene costruita una linea mobile di valori estrapolati che non viene ridisegnata.

Sistema di trading con indicatore iMA (Moving Average, MA). Sviluppo della tendenza MA.

Ciclo dell'algoritmo: quando non ci sono posizioni aperte, aprire due posizioni opposte. Attendere la chiusura di entrambe le posizioni.

Libreria di lettura/scrittura dei parametri di EA arbitrari.

Rilevare l'inizio di una nuova barra o candela nel gestore dell'evento OnTick() di un Expert Advisor.

Calendario - analisi fondamentale sulla storia e in tempo reale.

Dati del tester a passaggio singolo.

Questo Expert Advisor (EA) implementa una strategia di arbitraggio triangolare tra tre coppie di valute: EURUSD, USDJPY ed EURJPY

This is a indicator displaying candlesticks patterns on a chart.

This script was developed for displaying saved Strategy report from the Strategy Tester into a chart.

BollingerBandsEA trades according to Bollinger Bands.

This script is a reference solution for mapping symbol names configured by users in MetaTrader 5 EAs or scripts to the actual names provided by the broker. It uses the Levenshtein distance algorithm to automatically identify the most similar symbol in Market Watch. It is ideal for developers facing compatibility issues with prefixes or suffixes in symbol names. This is a customizable starting point to adapt to any specific needs.

Copy these into any EA you are busy coding and you"ll have a trailing sl the only things you'll need to change would probably be InpMagic for your magic number or you could just copy my code as is , Remember to add COrderinfo ord; and CPositionInfo pos;

Prototype for data collection. Dummy buffers for the data window (for data collection purposes) for the hour of the day, and an additional buffer for the hour of the day. Comments the hour of the day.

Creating profit labels on deals (closed trades) which also show in the strategy tester

Price increase Indicator

MarketPredictor for MetaTrader 5 The MarketPredictor is an innovative Expert Advisor (EA) for MetaTrader 5 that leverages mathematical models such as sine functions, Fast Fourier Transform (FFT), sigmoid functions, and Monte Carlo simulations to analyze and predict market movements. This project is designed for developers, math enthusiasts, and traders interested in combining technological and financial innovations. Feel free to suggest, discuss, and implement code ideas directly in this thread. Whether it’s new features, improvement suggestions, or strategies – every contribution is welcome to further develop and optimize the MarketPredictor. You’re also welcome to add me to clarify questions privately, collaborate on the GitHub project, or send me your feedback directly. Let’s cook up something amazing together and take this project to the next level!

High-performmance functions for dealing with time.

This Fibonacci Bollinger Bands indicator is a conversion from Pine Script (by Rashad) to the MQL5 language.

Optimal closing tool with Bollinger Bands and RSI.

The script MinMargins.mq5 is designed to help traders quickly calculate and document the minimum amount of money required to open a position with the smallest lot size for all symbols available in the Market Watch. This data is saved to a CSV file for easy review and analysis.

A new interface library has been developed to simplify the process of converting MT4 indicators and Expert Advisors (EAs) to MT5. This library supports most of the MetaTrader 4 functions, offering developers a unified solution for cross-platform compatibility.

The SUPERMACBOT is a fully automated trading robot that combines the power of the Moving Average Crossover strategy with the MACD Indicator to deliver precise and reliable trade signals. This Expert Advisor is designed to work seamlessly on all symbols and timeframes, offering versatility and adaptability for traders across various market conditions.

A simple replacement for a comment. Works in the tester 50 times faster than the standard function.

A smoother line chart which cuts out a lot of the market noise and uses volume in the formula

this is a copier template

1...5678910111213141516171819...191