Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
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 - 93

Soumettre votre code

Very handy Multiple Moving Averages for those who like to look at Price Action using several time periods...

McClellan Oscillator - smoother with discontinued signal lines

Chande's DMI - volatility ratio adaptive

This indicator predicts future price movements by searching for similar candle patterns in the rate history.

This is an indicator w/o buffers which demonstrates parallel multi-threaded calculations in chart objects hosting worker expert adviser.

Provide a unified interface to a set of interfaces in a subsystem.

For a complex object separate its construction from representation. Same construction process can create different representations

Attach additional responsibilities to an object dynamically; and provide a flexible alternative to subclassing for extending functionality

This strategy is the well known set & forget accompanied by the 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.

The DD_Relative function calculates the drawdown (relative loss) of the current trading account in percentage. To do this, it uses the Current_LossOrProfit() function to get the current profit or loss for all open positions and divides it by the current account balance. The result is rounded to two decimal places and displayed in the chart comment. The Current_LossOrProfit() function loops through all open positions in the account and adds the commission, swap, and current profit or loss for each position. The result is rounded to two decimal places and returned as the current profit or loss of all open positions.

This example was created to see how long it takes to reach 100 ticks. So this indicator is a seconds / "centick" (centick = 100 ticks). It helps you trade orders flow.

Il s'agit de la conversion exacte du code du script du pin par LonesomeTheBlue.

Ajout de couleurs à la parabole.

Filtre de Hodrick-Prescott.

Accélérateur souple.

Un indicateur simple et clair de la force et de la direction de la tendance actuelle.

Indicateur de tendance Range Action Verification Index (RAVI).

Cet indicateur utilise un filtre de super lissage de 3ème ordre tiré du livre de John Ehlers "Cybernetic Analysis for Stocks and Futures : Cutting-Edge DSP Technology to Improve Your Trading" pour calculer la moyenne mobile.

The indicator "warning" about the appearance of the bars with an extended range and/or strong directed movements

The Expert Advisor used on such indicators as the Moving Average, the CCI, stochastic

The trading system based on the indicator by Vladimir Korykin

The class is designed for calculation the Fractals technical indicator (Fractals) using the algorithm of the ring buffer.

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

The QStick indicator is a simple n-period moving average of the price difference.

Three RSI oscillators with three different timeframes on one chart.

The trend indicator drawn in the form of the colored cloud.

Indicator MACD drawn in the form of a colored cloud.

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

Three Larry Williams' Percent Range indicators from three different timeframes displayed on the same chart.

The VolatilityPivot_Signal indicator shows information on the current trend using the values of the VolatilityPivot indicator with a fixed timeframe.

A semaphore signal indicator that uses the algorithm of crossing of two Moving Averages obtained from two consecutive averages.

This indicator measures the rate of change of AwesomeModPips indicator.

The CCI indicator implemented as a sequence of candlesticks.

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

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

Trading system based on the signals of the Dots indicator.

The RSI_Histogram oscillator with the timeframe selection option available in input parameters.

The Price Channel indicator with the color filling inside the channel, drawn as a cloud, with the display of the last values as price labels and the possibility to round the channel levels up to a required number of digits, and a price grid with these rounded values.

The indicator implements a breakout system using a channel based on the High and Low price series processed by the algorithm of JFatl_Digit.

The SAR Trading System illustrates the operation of the Stop and Reversal (SAR), developed by Welles Wilder. The Expert Advisor check for presence of an open position and starts moving the stop loss with parabolic acceleration.

1...8687888990919293949596979899100...195