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

Bibliothèque de code source MQL4 pour MetaTrader 4 - 29

icon

La plus grande bibliothèque comprend des codes de Expert Advisors, d'indicateurs techniques et de scripts de trading gratuits. Grâce aux applications disponibles, vous pouvez effectuer des transactions en mode automatisé et analyser la dynamique des prix. Utilisez la bibliothèque de codes pour en savoir plus sur les sentiments des marchés financiers.

Téléchargez des applications gratuites, testez-les et exécutez-les dans votre MetaTrader 4. Vous pouvez y accéder depuis la plateforme MetaTrader 4 et l'environnement de développement MetaEditor.

Soumettre votre code

The indicator predicts (at least tries to) the RSI on a specified number of bars using the cluster analysis

Example of plotting a function spectrum using the FFT library

The MACD is not required to be present on the chart. However, if a standard MACD is attached, the divergence lines will be drawn both on the chart and in the indicator window, and the indicator will use the MACD settings.

Really helps in trading

Attempt to more or less fully automate the opening of Buy and Sell orders

Simple Expert Advisor that simultaneously opens two positions in different directions, provided that the stop loss of the losing position triggers 5 points earlier than the take profit of the profitable one.

Divergence based on a standard Stochastic with Alert and language selection.

It can be combined with any indicator to get an expert

The Expert Advisor uses a certain candlestick pattern and Stochastic.

The script allows to change the color of selected objects to specified one.

This EA considers an example of classifier usage. It can be applied to any other strategy.

This is a table of signals created based on the popular market indicators ... I think anyone can find it useful.

I had thought about selling it, but my conscience did not allow that. I had worked on it for more than 2 months.

Allows to get the signals for entering and exiting the market.

MA with a price.

Good EA, good optimization results. The unfailing EUR/USD pair and H1 timeframe.

The idea has existed for a long time - based on the "Conservative intraday scalping" strategy, but I could not find a suitable indicator in MT4... Integration of the custom indicator to the EA.

Another attempt to adapt the moving average.

Simplified Parabolic

The Correlation USDCHF/EURUSD indicator.

The script demonstrates a simple and quick way to calculate the Euler number.

The script opens a BUY order for a specified part of the FreeMargin (second edition).

New versions of the exp_iCustom Expert Advisor, which works with any Custom indicator, and draws buy/sell arrows.

EA based on MA. As easy as pie :)

MACD on the chart.

It displays the current location in time relative to the beginning and end of the current bar. It additionally displays the proportion of time elapsed from the beginning of the bar as a percentage of the duration of the whole bar. It is useful for monitoring the moment of making the trading decisions.

Revised Parabolic.

Trend indicator. It adapts to the history, unfortunately redraws.

The indicator displays in a separate subwindow of the chart the current symbol, Bid/Ask prices, the current swap, the expected deposit for long/short position as well as the floating spread for the symbol and the remaining time until the candle completion of the current timeframe... Let's see

Indicator PivotCustomTime.

Indicator AutoDayFibs.

ASCTrend1sig

Indicator T3 Bands.

Indicator Hi-Lo.

The Expert Advisor fills the missing bars on the chart with "dashes" (Dojis) — bars which have O=H=L=C.

The title contains the idea based on observations of the market regularities. It has been written for the CHF/USD pair.

The EA is based on Stochastic as well as CCI. It uses the fact that a reversal happens when the limits are broken, for cci - 120 and -120, for stoch - 70 and 30. Buys when the lower levels are broken, sells when the upper levels are broken.

The script outputs the information on symbols to a CSV file: swaps, spreads, stops, contracts.

Plotting the ROC indicators of two custom types (including Momentum) and periods in one window.

The script reads the list of deals from the account history, groups them by the sign specified in the parameters and outputs to a file.

1...222324252627282930313233343536...104