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

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

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 library contains five functions for reading the values from an INI-file and five functions for writing the values to an INI-file. Thus, there are five pairs of functions to read/write the values of 'integer array', 'boolean', 'double', 'integer' and 'string' types.

The MA-4H indicator displays the moving average of the selected timeframe on the chart of the current timeframe. The intersection of the two moving averages is implemented as optional. The external parameters allow to activate the second moving average in order to see their intersection.

Script for converting a chart of the M1 timeframe into all other charts of the standard timeframes and recreating the M1 timeframe chart.

Commentary on behalf of Exponential Moving Average.

The Expert Advisor simply opens orders in the opposite direction after the current order is closed.

Simple display any time zone daily channel.

This is an indicator which totally based on RSI. The reason to amend this indicator is knowing the strength of a currency.

Pending Order is an order that will be executed if the price touches a point that we specify, in other words open pending order means ordering to open a position at a certain price level. So if price hits a predetermined level, then automatically we have an open trading positions.

This indicator shows MACD in the main chart.

The indicator shows the current possibilities for getting buy, sell, or exit positions. No need to attach 6 indicators at a time.

The indicator is for seasonal trade.

The script saves the values of Time, Open, High, Low, Close, Volume and standard indicators.

Script to set StopLoss and TakeProft in Pips, uses your EA Number, separate SL and TP.

Showing how to trade FX market trend using the (SMA: Simple Moving Average) with the Japanese indicator Heiken Ashi.

The RSI indicator in the main chart window.

Areas of the potential price reversals.

The multi-timeframe version of the ChannelsFIBO_v2 indicator.

The signal indicator that detects potential market entry points.

The indicator points to the potential entry points.

The RSI indicator implemented as a histogram with a designation of the overbought and oversold levels.

The Fibonacci channel with the ability to select the type of the reference distance.

The indicator draws a price channel using the Hodrick-Prescott Filter.

The indicator based on the moving averages shifted to the left relative to the chart.

The presented indicator plots a fully-functional tick chart similar to the standard price charts, with the ability of the analysis using all the MetaTrader features.

The indicator was developed to help analyze the interesting strategies, and also to practice and gain experience in analyzing the signals on history data in the selected strategy.

The Expert Advisor which uses AO and AC. Buying and selling is performed when the colors of the indicators match.

The Expert Advisor based on the RSI indicator. МА and martingale are added in the new version.

The SuperTake implements the strategy of Martingale by Take Profit.

The Expert Advisor based on the Heiken Ashi indicator.

The indicator shows the identification (magic) number and the profit of the order.

The indicator displays the pairs with the current price most/least distant from the opening price.

The indicator points at the reverse bars based on the Profitunity system by Bill Williams excluding the angulation relative to the Alligator indicator mouth.

The script inserts the FXT-file of any custom chart, synthesized from real tick flow, into the strategy tester folder.

This indicator can be useful for arbitrageurs.

The Slope Direction Line trend indicator, used by the Hammering EA from the Market section.

The indicator uses Move Average to draw the level line of up and down.

The indicator shows: the remaining time on each candle, the changing value of the Bid price, tick by tick, the relative price position of the Bid/Ask spread.

A round-number horizontal web with continuous auto-adjusting.

View current and historical trends of every timeframe.

1 Click "Close All" button to close all open positions at current attached chart.

1...323334353637383940414243444546...104