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

I migliori codici sorgente MQL4 e MQL5 in base ai giudizi degli utenti - 130

Invia il tuo codice

Decouple an abstraction from its implementation so that the two can vary independently

Create an object tree which represents part-whole hierarchies, so that the client would treat objects and compositions of objects uniformly.

This strategy is the well known set & forget accompanied by the anti-martingale system. It is very useful if you are very busy in which you don't have time, you want to trade the London session while you are sleeping in USA, etc.

Given a language, define a represention for its grammar along with an interpreter that uses the representation to interpret sentences in the language

Define an object that encapsulates how a set of objects interact mediator promotes loose coupling by keeping objects from referring to each other explicitly, and it lets you vary their interaction independently

Updated T3 floating levels

Ehler´s Quotient Transform

An implementation of the Relative Strength Index indicator by John Welles Wilder Jr. as described in his book—New Concepts in Technical Trading Systems [1978].

The code defines a function "RangeHighs" that calculates the highest price of a financial instrument within a specified time range (start and end time). The time range is defined by 4 input parameters (hour and minute of start and end time). The highest price is found using the "CopyHigh" function and stored in an array, from which the maximum value is returned.

Get commission of an active position in mt5 , its easy to use function.

US: This is a very simple code regarding an information panel. It doesn't use external files or anything like that! simply copy and paste it into your code the way the code was written. The dashboard displays; Active asset price Your position(Bought or sold) Maximum and minimum price of the asset Username open profit Balance PT-Br:Esse é um codigo bem simples a respeito de um painel de informações. Não utiliza arquivos externos ou algo do tipo! simplesmente, copie e cole no seu codigo da forma que o codigo foi escrito. O painel exibe; Ativo Preço do ativos Sua posição(Comprada ou vendida) Preço max e minimo do ativo Nome do usuario Lucro em aberto Saldo

This script counts the number of pending buy stop orders for each symbol and returns the value.

To assist traders who wish to open multiple buy orders quickly, a script file has been developed that allows them to execute a large number of trades with just one command. The default take profit and stop loss values are set in 5-digit broker format, but for traders using a 4-digit broker, the default must be TP=40 and SL=20. NumberOfBuys is the number trades the trader wish to open instantly. This script file can be extremely useful for traders who want to take advantage of market conditions quickly and efficiently. By simplifying the process of opening multiple buy orders, it can save traders valuable time and allow them to focus on other aspects of their trading strategy.

VPS Trailing Stop Service

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.

This is a custom support and resistance indicator, signaling bouncebacks and key market levels.

Indicatore Aroon Up & Down MetaTrader - rilevando i top e i bottom locali del grafico a cui è stato applicato, questo indicatore fornisce i segnali per l'acquisto e la vendita delle coppie di valute quando salgono dal basso e scendono dall'alto. L'incrocio delle linee dell'indicatore fornisce un buon segnale per prendere il profitto o per uscire con una perdita minima. Questo indicatore può inviare avvisi sonori e via e-mail in caso di incrocio. È disponibile nelle versioni MT4 e MT5.

Indicatore BB MACD MetaTrader - è una variante di base dell'indicatore MACD (Moving Average Convergence Divergence), che aiuta a rilevare i punti di cambiamento della tendenza e a misurare la forza della tendenza attuale. L'indicatore è disegnato in una finestra separata sul grafico ed è composto da due linee (blu e rossa) e da punti, che possono essere verdi o magenta. Il cambiamento di colore dei punti rappresenta un buon segnale, mentre l'ampiezza del divario tra le due linee indica la forza della tendenza attuale. Questo indicatore è disponibile per MT4 e MT5.

Indicatore Round Levels MetaTrader - un indicatore MT4/MT5 in grado di visualizzare livelli rotondi e zone vicine ad essi in base alla configurazione. Può essere utile per fare trading sulle zone di supporto e resistenza psicologiche naturali. Può anche emettere avvisi quando il prezzo si trova in una zona di supporto o di resistenza.

Una semplice utility per monitorare gli swap lunghi e corti di un singolo simbolo. Se gli swap del vostro broker-dealer sono specificati in punti invece che in valuta del conto, questa utility converte automaticamente i punti in valuta del conto. Gli swap vengono triplicati il mercoledì. L'allineamento orizzontale e verticale può essere regolato negli input.

Test sulla storia nella modalità matematica del tester MT5.

Questo indicatore individua una specifica formazione di spike ribassista su 3 candele

Un canale che calcola i massimi e i minimi locali con linee corrette dalla volatilità

Automated trend-following EA using EMA, RSI, and Stochastic signals to open trades on the last closed candle with Stop Loss and Take Profit.

EA per il day trading con strategia di breakout dal range asiatico. Supporta più simboli, su timeframe M15/M30/H1. Inserisce ordini stop in sospeso durante la sessione di Londra al di fuori del range asiatico pre-Londra, utilizzando i segnali PSAR + MACD + Stochastic, con gestione automatica dell'ora legale a Londra e New York, stop strutturali, trailing stop e break-even.

Expert Advisor per verificare l'ipotesi di continuazione basata sull'Inside Bar. L'EA inserisce ordini in sospeso nella direzione della Main Bar dopo aver rilevato un pattern Inside Bar valido, con filtri opzionali basati sull'ATR e sulla qualità del pattern.

Un semplice indicatore basato sul criterio del trend

Questo EA per MT5 è uno strumento di diagnostica che non esegue trade, ma raccoglie e mostra le specifiche tecniche del broker e dell'ambiente di trading. Il codice è strutturato in 4 blocchi principali: Raccolta Dati (CollectAll): Estrae informazioni sull'account (leva, valuta), sul simbolo (digits, spread, swap, volumi, stops level), latenza (ping) e fuso orario (differenza Server-UTC). Calcola lo swap in valuta reale. Campionamento (OnTick): Aggiorna in tempo reale le statistiche sullo spread (minimo, medio, massimo). Output: Stampa i dati nel log "Esperti", li salva in un file CSV e li mostra su un pannello grafico sul chart (UpdatePanel). Helper: Funzioni come CalcSwapInCurrency e vari *ToStr convertono i dati numerici grezzi del broker in stringhe leggibili.

EA professionale per la gestione del rischio delle società di trading. Offre il monitoraggio giornaliero del capitale, misure graduali di mitigazione delle posizioni in perdita e stop assoluti e rigidi tramite un dashboard grafico con funzionalità di autoriparazione.

A liquidity-sweep / order-block scalper with ATR-based sizing and a higher-timeframe trend filter. Every trade is tagged on the chart with the live historical win rate of that setup type — a running scorecard, not just boxes.

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.

Consulente multivaluta.

Apre una posizione di copertura virtuale in MetaTrader 5.

The Pivot levels indicator, the Pivot sublevels and the Camarilla levels drawing the indicator buffers and the horizontal lines

Volatility channel is a very interesting alternative to Bollinger Bands.

The oscillator that displays strengths of Buyers (Bulls) and Sellers (Bears) separately.

The script demonstrates the example of using the FileTell() function

The indicator shows inverted chart for better short trading.

Another zigzag version with a simple code that correctly determines peaks.

A Moving Average that includes price series processing by Gaussian filter.

1...123124125126127128129130131132133134135136137...209