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

Invia il tuo codice

The idea of this one is simple: it should "imitate" as much other moving averages as it can.

The version of well known Woodies CCI with correct implementation of trend changing rules

A variation of Hull moving average that allows speed adjusting of the HMA.

The gradient version of double smoothed EMA indicator.

The semi-automated Expert Advisor using a trend line (TrendLIne).

The simplest EA based on the fractal WPR.

iCrosshairClickTarget indicator for MetaTrader 5 is an improved version of iCrosshair indicator for MetaTrader 4.

A multi-currency Expert Advisor that opens a market position at the user defined time.

The WATR_HTF_Signal indicator shows a trend direction or a trade signal generated by the WATR indicator at the chosen bar as a graphical object with colored trend indication or deal direction. It also triggers alerts and plays audio signals.

The Expert Advisor moves trailing stops of all positions on the current symbol.

The PercentageCrossover indicator with the timeframe selection option available in the indicator input parameters.

The class monitors the emergence of a candlestick

A trading system based on the Omni_Trend indicator signals.

The indicator allows displaying on a chart eight Moving Averages with the same averaging methods and calculation prices, but with different periods.

An indicator based on Elder's "Safe Zone".

LRL

Linear regression line (LSMA) - a moving average calculated by the linear regression method.

An indicator of important extremums.

This EA uses indicators iCCI (Commodity Channel Index, CCI), ZigZag, and Impulse. Position trailing is possible.

A trading system based on the KWAN_CCC indicator signals.

Indicator PCaudateXPeriodCandleRange with the timeframe selection option available in its input parameters.

CRF

Indicator CRF (Cumulative Rotation Factor) displays the states of the market: Uptrends/downtrends/consolidation.

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

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.

1...222324252627282930313233343536...194