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

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

Invia il tuo codice

The SilverTrend indicator with the ability to change the indicator timeframe using the input parameters.

Trend direction and force

Flat/trend indicator.

Extreme TMA Line indicator

Generalized double DEMA

ATRStops_v1 indicator in the candle form

Ehler's Center of Gravity indicator

Trend intensity index

Adaptive Moving Average - AMA - as described by Vitali Apirine

This is a working singleton code example. The sole purpose of this post is to provide a working code sample of a singleton object. A singleton object is created when there 'can be only one' of the object. This is accomplished by making an object's constructor private, and ensuring assignment and copy operations are also private. I was working on an EA and identified that an object should never have more than one copy. I don't expect the EA to ever get large enough for it to actually matter that a singleton is used, but I like the clarity in the code for the object's type. The code follows closely the tutorial at http://www.yolinux.com/TUTORIALS/C++Singleton.html.

Ichimoku beginner tutorial to learn how to code in MQL5

This Indicator creates automatically a Risk/Reward Box on you all opened chart base on High, Low price with the old candles. You can use it easily to drag and change size and price to your desire wanted.

Questo indicatore delle Bande di Bollinger di Fibonacci è una conversione da Pine Script (di Rashad) al linguaggio MQL5.

Indicatore di volatilità con una linea di soglia basata sul modello statistico GARCH (Generalized AutoRegressive Conditional Heteroskedasticiticy) utilizzato per l'analisi e la previsione delle serie temporali.

L'indicatore Demarker (DeM) si basa sul confronto del massimo del periodo con il massimo del periodo precedente. Quando l'indicatore scende sotto 30, ci si deve aspettare un'inversione rialzista del prezzo. Quando l'indicatore sale sopra 70, ci si deve aspettare un'inversione ribassista del prezzo.

L'indicatore evidenzia le barre successive a quella di inversione.

Indicatore Heiken Ashi, basato non sui prezzi reali, ma sulle letture della media adattiva applicata ai prezzi Open, High, Low, Close.

Visualizza la cronologia delle transazioni sul grafico.

Vengono presi in considerazione i segnali di trading basati sul pattern di candele "3 Black Crows/3 White Soldiers", confermato dall'indicatore Commodity Channel Index (CCI). Il codice dell'Expert Advisor basato su questa strategia può essere generato automaticamente utilizzando il Wizard MQL5.

Vengono presi in considerazione i segnali candela basati sul pattern di candela "Hammer/Hanging Man", confermato dall'indicatore stocastico. Il codice dell'Expert Advisor basato su questa strategia può essere generato automaticamente utilizzando il Wizard MQL5.

Lo stile del disegno DRAW_COLOR_LINE è utilizzato per tracciare linee con colori differenti, i colori sono specificati nel buffer color.

L'indicatore RSI sovrapposto al MACD mostra molto chiaramente la divergenza del prezzo attuale.

L'indicatore fornisce segnali di trading per l'acquisto e la vendita con punti colorati sul grafico e visualizza messaggi.

Un indicatore di tendenza semplice ma chiaro.

Four-colored histogram of OsMA (Moving Average of Oscillator) allowing to implement different smoothing algorithms.

Mikahekin can be called a complete analytical block rather than just an indicator. The color of bars shows a trend direction and their height indicates a trend power. Blue and magenta dots show trailing-stop levels for long and short positions, respectively.

This indicator shows the simple clock in comment.

Modification of Bollinger Bands ® trend indicator.

The simple script for deleting all graphical objects from a financial asset chart. It can be useful, in case the chart is overcrowded by objects that are not needed anymore.

CADOnArray class is designed for calculation of AD (Accumulation Distribution, A/D) values on indicator buffers. Test_ADOnArray indicator is provided as the example of the class use.

Script for the charts simultaneous scrolling.

The indicator draws a grid of eight stochastic oscillators on one chart with the possibility to change the number of displayed lines.

BykovTrend_HTF_Signal shows a trend direction or a signal for performing a deal generated by BykovTrend indicator as a graphic object with colored trend indication or deal direction.

SilverTrend_HTF_Signal shows a trend direction or a signal for performing a deal generated by SilverTrend_Signal indicator as a graphic object with colored trend indication or deal direction.

Trading signals module for MQL5 Wizard. Go indicator's color arrow serves as a market entry signal.

Trading signals module for MQL5 Wizard. Sidus indicator's color arrow serves as a market entry signal.

The Expert Advisor is based on EMA_RSI_VA indicator.

Same RSI and Dem but more sensitive one.

The function that decrypts the code of the trade operation result for the functions OrderSend() and OrderCheck().

Multicolor modification of Fast ZigZag.

1...202122232425262728293031323334...191