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 scripts pour MetaTrader 5 selon les notes des utilisateurs - 5

Soumettre votre code
dernier | meilleur

This script exports indicator's values to CSV file.

Exemple d'image de fond du graphique, créée à l'aide de l'objet de type OBJ_BITMAP.

The script has three independent functions for determining the current FORTS futures.

Simple script to randomize all colors of your chart. Just click on it and see results yourself!

The simplest script to send instant PUSH-notifications to smartphone

This script attempts to demonstrate the power of using support vector machines in solving classification style problems.

A simple script that allows you to open a long position using the current price location with a specified Risk Percentage and Reward Ratio.

The script calculates the maximum lot size that can be used to open a position using the entire free margin available on the deposit.

Le script permet un défilement synchrone de tous les graphiques ouverts dans le terminal.

bts

Comparing the speed of a binary or a ternary search

A script to place straddle orders around current price level to catch price spikes around announcements.

The script is assigned to a hot key for quick change of charts around in a circle.

The CSV file was written to write economic news but there was a problem that the Terminal does not distinguish lines, exactly their number when working with the CSV file. That is why I decided to share my solution of this problem.

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

The script displays the number of bullish and bearish candlesticks.

The script closes all pending orders on the current symbol.

This script opens a buy or sell order randomly having equally spaced take-profit and stop-loss levels.

This strategy is the well known set & forget accompanied by the anti-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 code defines a function "RangeHighs" that calculates the highest price of a financial instrument within a specified time range (start and end time). The time range is defined by 4 input parameters (hour and minute of start and end time). The highest price is found using the "CopyHigh" function and stored in an array, from which the maximum value is returned.

Get commission of an active position in mt5 , its easy to use function.

This script counts the number of pending buy stop orders for each symbol and returns the value.

VPS Trailing Stop Service

Le script TradeReportExporter est conçu pour exporter l'historique des transactions (trades) dans un fichier CSV pratique. Il recueille automatiquement les données relatives à toutes les transactions effectuées au cours de l'année écoulée pour l'instrument sur lequel il est installé. Le fichier comprend des données telles que la date et l'heure, le type de transaction (achat/vente), le prix, le volume, la commission et le profit/perte. Le résultat est enregistré dans un fichier qui peut être ouvert dans Excel ou tout autre tableur.

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

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

Searching Nearest Bar - searching for the nearest bar.

Opens random positions on marketwatch symbols.

The script removes from the current chart all objects of the user selected type

Export history of deals from MT5 retail hedging account selected between two dates. The resulting file is CSV that can be opened/imported with any spreadsheet software.

Multi Selllimit and Sellstop orders are script files that enable traders to place multiple orders with ease. These orders allow traders to enter the market at a specific price level, or at a specified number of pips away from the current market price, with stop-loss and take-profit levels. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker. Moreover, the multi Selllimit and Sellstop orders offer traders the flexibility to customize their trading strategies. Traders can set the stop-loss level to zero if they do not use stop-loss, and can choose between a target price or a pip-based entry. This level of flexibility allows traders to tailor their trading strategies to their specific needs, which can result in better trading outcomes.

The script calculates Stop Out price (at this price position will be closed by broker) of the opened position and the price, at which Free Margin became negative (LockOut price).

Script to apply my template to all charts opened.

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

Since Terminal build 344 added display of economic calendar news using special graphical objects (OBJ_EVENT). A script that outputs as a demonstration of the Economic Calendar with current economic data, the date of the last major (Pink) event.

The script imitates the One Cancel Other function for orders. When one order is triggered, the others are deleted.

The script converts the time, represented as datetime variable into the year, month, day, hour, minutes and seconds.

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

Generates, creates and stores passwords for your account.

The script calculates the number of lots to trade using the specified percentage of risk funds.

Modified scripts to change Charts(next,previous) and Timeframes(higher,lower) of all charts quickly by hotkeys.

12345678