Guarda come scaricare robot di trading gratuitamente
Ci trovi su Facebook!
Unisciti alla nostra fan page
Accedi al CodeBase dal tuo terminale MetaTrader 5
Non hai trovato il codice che fa per te? Ordinane uno dalla sezione Freelance
Come scrivere un Expert Advisor o un indicatore

Codici sorgente MQL5 di Script per MetaTrader 5 - 7

icon

Gli script eseguono azioni uniche in MetaTrader 5, utilizzando un programma MQL5 e vengono eliminati dal grafico subito dopo. Le funzioni esemplificative includono il caricamento della cronologia di trading, la generazione di rapporti e il loro invio via e-mail, il download e l'elaborazione dei dati da un file. Gli script possono essere utilizzati anche per creare un'interfaccia grafica o per eseguire rapidamente operazioni di trading di un solo tipo, per esempio per chiudere immediatamente tutte le posizioni.

È possibile scaricare e lanciare gli script disponibili in MetaTrader 5. La libreria di script è anche disponibile direttamente dalla piattaforma MetaTrader 5 e dall'ambiente di sviluppo MetaEditor.

Invia il tuo codice
più recenti | migliori

Example of functions MathCeil, MathRound and MathFloor.

Display the actual stored value of a floating-point number (float or double type), with very high precision up to 55 decimal digits. This helps to debug exact value of floating-point numbers for other MQL5 programs.

VR Orders History MT5 Lite - a script for downloading trading history in the CSV format.

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.

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.

Script for checking the LeadLagRelationship indicator (https://www.mql5.com/en/market/product/26229)

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

The scripts places multiple pending orders lower than the current price.

The scripts places multiple pending orders higher than the current price.

The 'History Deals and Orders' script shows absolutely all properties of deals and orders from the trading history over a given time interval.

HTML file converter for the economic calendar. The script parses a page downloaded from http://www.investing.com/economic-calendar, and forms a CSV file with the list of news.

The script saves current chart settings to a template with the specified name.

The script finds on the chart all OBJ_TREND (trendline) objects and moves the line to the specified date with the specified price shift.

The script deletes all orders of the type specified in settings, on the current symbol.

The script deletes all pending orders on all symbols at a time.

The script closes all pending orders on the current symbol.

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

A script for placing two Buy Stop Limit and Sell Stop Limit orders at an equal distance.

A script for placing a SellStop Limit order.

A script for placing a BuyStop Limit order.

The script allows to quickly remove indicators from charts.

The script removes from the chart a comment located in the upper left corner.

The script removes old objects of the selected type from all charts, if the time coordinates of these objects are outside of the trigger level.

The script removes all objects of the type selected by the trader in input parameters from all charts of the client terminal.

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

A script for placing two Buy and Sell Stop orders at an equal distance.

A script for placing two Buy and Sell Limit orders at an equal distance.

A script for placing a SellStop order

A script for placing a BuyStop order

A script for placing a SellLimit order

A script for placing a BuyLimit order

The script closes all positions of the current symbol.

The script closes all open positions on the current account.

This script is used to modify Stop Loss and Take Profit of position.

An example of using HistorySelectByPosition (based on the HistoryDealGetTicket use example).

How many buffers does your indicator use? What's it calculating? Is it efficient? If you want to know what's going on behind the scenes, you'll now be able to.

Converts .set files from MT5 format to MT4 format.

An example of working with the trading history on Hedge accounts — reconstruction of positions.

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

Searching Nearest Bar - searching for the nearest bar.

123456789