Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
Rejoignez notre page de fans
Accédez à la CodeBase depuis votre terminal MetaTrader 5
Vous n'avez pas trouvé le bon code ? Commandez-le dans la section Freelance
Comment rédiger un Expert Advisor ou un indicateur

Les meilleurs codes sources MQL4 et MQL5 selon les notes des utilisateurs - 19

Soumettre votre code

The indicator uses the least squares method for the construction of the "most suitable" straight line through a series of points of price values​​.

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

The ChandelierStops_v1Trend_x10 indicator shows the ChandelierStops_v1 trend indicator position from ten different timeframes.

The Exp_DigVariation Expert Advisor is based on the reversal of the DigVariation non-normalized oscillator direction.

The Expert Advisor enables and disables the "AutoTrading" button at a certain time and closes all opened positions on the account once the specified period of time expires.

Adds period separators to your window, at a time of your choice.

The ZZ Fibo Trader is a simple illustration of the use of the Simple ZZ Fibo, which plots Fibonacci lines on long impulse waves of the ZigZag. In addition, the algorithm illustrates operation of the parabolic system for moving the stop loss.

The Balance of Power (BOP) indicator as a color histogram of strength and direction of the current trend.

Arithmetic and geometric moving averages.

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.

Elliot oscillator indicator.

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

The price chart speed expressed in points, with the author markup of significant price change levels.

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.

Detrended Synthetic Price in oscillator form.

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".

An indicator of important extremums.

A trading system based on the KWAN_CCC indicator signals.

TTF

Oscillator TTF (Trend Trigger Factor) was developed as a method to identify market trends and reversals.

Flat/trend indicator.

Indicator True Strength Index

ATRStops_v1 indicator in the candle form

Ehler's Center of Gravity indicator

Adaptive Moving Average - AMA - as described by Vitali Apirine

Stochastic on chart

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.

This is a tutorial on how to confirm double bottom & RSI patterns

L'indicateur Demarker (DeM) est basé sur la comparaison du maximum de la période avec le maximum de la période précédente. Lorsque l'indicateur tombe en dessous de 30, il faut s'attendre à un renversement haussier des prix. Lorsque l'indicateur dépasse 70, il faut s'attendre à un renversement baissier des prix.

L'indicateur technique Momentum mesure le montant de la variation du prix d'un titre au cours d'une période donnée.

1...121314151617181920212223242526...184