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

Codes sources MQL4 des scripts pour MetaTrader 4 - 4

icon

Les scripts sont de petites applications qui effectuent des actions ponctuelles. Vous pouvez, par exemple, supprimer tous les objets d'un graphique ou placer un ensemble de commandes pour une position ouverte. Vous trouverez ici des centaines d'applications permettant d'automatiser de petites fonctions analytiques ou de trading.

Les scripts peuvent être téléchargés gratuitement et exécutés dans MetaTrader 4.

Soumettre votre code
dernier | meilleur

This script is used to modify StopLoss and TakeProfit.

This script scans for open orders and sets a fixed stop loss and take profit to all of the relevant.

A script used to submit market or pending orders with take profit and stop loss levels, lot size, and optional trailing stop.

This script allows you to close orders with one click, filtering by profit, loss, magic number and comment.

OpenOrder script allows you to open an order defining the % of balance to risk, the Stop Loss distance in pips and the Take Profit distance in pips and a magic number.

Open orders / positions in MT4 with absolute control of the risk / reward ratio, automatically calculating the lot size.

Basket offline chart creator script using geometric mean method.

Script for drawing a price markup.

When run on the price chart, the script modifies the stop loss or take profit of all open orders for the current instrument.

The script is designed for opening trades on binary options via the MetaTrader 4 terminal, if your broker supports this feature.

Downloads the history of Alpari PAMM accounts and displays it on the chart.

Immediately deletes the SL/TP of all positions.

Total closure of all positions (winners/losers). You can also select which are of a single instrument.

Closure of all positions with a loss. (You can indicate a specific instrument if you want to).

Closure of all winning positions. (You can indicate a specific instrument if you want to).

The script modifies all orders (market and pending) on the symbol with specified Take Profit and Stop Loss.

This script is used to calculate lot rebate.

The script plots a "Tic Tac Toe" chart in the form of Japanese candlesticks.

Expansion and improvement of the script ver.2 and an example of accelerated processing of an indicator for use in conjunction with the script

Modernization of the first version of the script with the ability to manage multiple indicators

The script allows to preview the indicator behavior on a real chart from the specified point with the minimum computation resources.

When assigned to a hotkey, the script allows to almost instantly open limit orders with the specified risk level (in the deposit currency) and take profit (so-called braces).

Calculation of the number of lots by Anton Trefolev.

The script visualizes the deals on the chart in a convenient way.

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

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

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

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

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.

The script is designed to transfer trades from the standard report of the MetaTrader 4 tester to the chart.

The script closes all open positions and opens new one with the difference of Buy and Sell lots.

This script draws the price levels within a cycle (by Gann) between the significant Highs and Lows.

Draw Elliott Waves (5 waves) manually.

Opens a BUY position with the size of a percentage of the maximum allowed size.

Automatic Trailing Stop for all open positions. Attach to one chart only.

The script opens a SELL position with the size of a percentage of the maximum allowed size.

The indicator of trading signals based on the divergence of the RSI and CCI values

The program is designed to facilitate the routine work of the trader on testing and optimization of experts, performing sequential multi-currency, multi-timeframe and other types of tests and optimizations.

The script fixes the chart by extending it with the consideration of the weekends and holidays.

123456789