Scripts perform one-time actions in MetaTrader 5 using an MQL5 program and are deleted from the chart immediately afterwards. Sample functions include uploading trading history, generating a report and sending it by email, downloading and processing data from a file. Scripts can also be used to create graphical interface or quickly execute single-type trading operations, for example, close all positions immediately.
You can download and launch offered scripts in MetaTrader 5. The library of scripts is also available directly from MetaEditor development environment allowing you to learn MQL5 programming.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Enable two-factor authentication ContinueDisplay 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 '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 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 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.
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
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.