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

Soumettre votre code

The indicator draws FatlMacdCandle indicator candlesticks of a higher timeframe as color filled rectangles using DRAW_FILLING buffers.

This script closes all windows of selected symbol or all windows of any symbol.

The Expert Advisor transfers to break-even and/or trails positions on every currency pairs or only on the current one.

Semaphore signal indicator based on the METRO_DeMarker indicator cloud color change algorithm.

NRTR is a trend indicator calculated using the CLOSE prices.

The Exp_Fisher_org_v1 EA is based on the signals generated by the Fisher_org_v1 oscillator.

Semaphore signal indicator based on the relative smoothed rate of price change.

A simple trend indicator with calculation of rise and fall in High and Low prices.

The JSatl indicator implemented as a sequence of candlesticks.

Cauchy difference. The indicator shows the difference of arithmetic mean and geometric mean of the price.

The difference of the moving averages.

Exp_X2MA_JJRSX trend-following trading system is based on ColorX2MA and ColorJJRSX indicator signals.

ZPF indicator with the timeframe selection option available in input parameters.

The trading system based on the three Stochastics signals from three different timeframes.

The trading system based on the three RVI oscillator signals from three different timeframes.

CCI experiment using adaptive calculation period.

The simplest Expert Advisor based on WPR.

Working with indicator iMA (Moving Average, MA) with a rigidly defined timeframe: D1.

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

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

An example for calculating the lot value in accordance with the risk per trade.

An example of an Expert Advisor with a Trailing Stop implementation.

The MARE5.1 Expert Advisor is very easy to use. It uses the values of two Moving Averages (SMA) at the close of 0th, 2nd and 5th bar. The EA is configured to work on the M1 timeframe.

The ZigZag indicator plotted using the NRTR_extr algorithm.

OnTradeTransaction

NonLag smoothed inverse fisher transform of RSX (MetaTrader 5 version).

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

A trend indicator implemented as NRTR, with the possibility to generate alerts and send emails or push-notifications.

Detrended Synthetic Price (bars).

The script closes all positions of the current symbol.

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

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

Envelopes using the Color_QEMA_Digit MA, with an indication of trend direction and display of the last values of channel borders.

If a trade is closed by Stop loss, the volume is doubled; if by Take profit the minimum volume is used. OnTradeTransaction is used to determine whether a trade was performed after the activation of Stop loss or Take profit.

The Expert Advisor trades in a channel. When a flat channel is found or when the market slows down, the EA places a pending order expecting the channel breakout.

Counting the number of series of bullish and bearish bars. Displaying the result as a chart. Saving the screenshot of the resulting chart. The script uses the CGraphic class.

Trading in a channel based on a Moving Average with the period of 220 and three Envelopes with the periods of 220 and different heights. Position trailing.

Balance of Power, introduced by Igor Livshin, attempts to measure the strength of buyers vs. sellers by assessing the ability of each to push price to an extreme level. Livshin published this indicator in the August 2001 issue of Stocks and Commodities Magazine. This version of indicator calculates the BOP exactly as it is described in the article where it was published.

UI

Ulcer Index (UI) - the volatility decrease index.

The RSI bands indicator helps in multiple ways, but mainly in visualizing on the main chart what price change would trigger the expected overbought or oversold signals.

1...525354555657585960616263646566...194