MetaTrader MT5 Script Source Code Downloads - Page 5

Showing 411 results
MT5 to MT4 Set File Converter script MT5
MetaTrader 5 script

MT5 to MT4 Set File Converter

This script converts multiple .set files from MT5 format to MT4 format. This is a necessary step for optimizing and running cross-compatible Expert Advisors (EAs).MetaTrader 5 can ...
Selecting History by Position Identifier script MT5
MetaTrader 5 script

Selecting History by Position Identifier

An example of using the history selection by position identifier.The position identifier is set as an input parameter. The script then attempts to create a list of orders and deals...
Close Positions by Symbol script MT5
MetaTrader 5 script

Close Positions by Symbol

This script closes all open positions for the currently selected symbol.Close Positions by Symbol- Closes all positions associated with the active symbol....
Place Buy and Sell Stop Orders Script script MT5
MetaTrader 5 script

Place Buy and Sell Stop Orders Script

A script for placing two pending orders, a buy stop and a sell stop, at an equal distance from the current market price.Script Input Parameters:...
Clear Chart Objects by Type Script script MT5
MetaTrader 5 script

Clear Chart Objects by Type Script

This script removes all objects of a selected type from the current chart.By default, it will delete all objects on the chart.If you frequently need to remove objects of a specific...
Delete Chart Objects by Type script MT5
MetaTrader 5 script

Delete Chart Objects by Type

This script allows traders to remove specific types of objects from all charts in the client terminal.By default, when used without specific parameters, the script will delete all ...
Delete Old Chart Objects by Type and Time script MT5
MetaTrader 5 script

Delete Old Chart Objects by Type and Time

This script removes old objects of the selected type from all charts. Objects are deleted if their time coordinates fall outside the specified trigger level. The timelevel input pa...
Chart Comment Remover Script script MT5
MetaTrader 5 script

Chart Comment Remover Script

This script effectively removes comments displayed in the upper-left corner of your MetaTrader chart.It is particularly useful when indicators you have removed from your chart leav...
Indicator Removal Tool for MT4/MT5 script MT5
MetaTrader 5 script

Indicator Removal Tool for MT4/MT5

This script provides a streamlined method for removing indicators from your trading charts.It operates in two distinct modes:only_this_chart- Removes indicators solely from the cur...
Maximum Lot Size Calculator for MT4/MT5 script MT5
MetaTrader 5 script

Maximum Lot Size Calculator for MT4/MT5

This script calculates the maximum allowable lot size for opening a trading position, utilizing the entirety of the available free margin on the trading account. The computed lot s...
Close Orders by Symbol script MT5
MetaTrader 5 script

Close Orders by Symbol

This script closes all pending orders for the current symbol. Script Input Parameters: - No specific input parameters are detailed in the provided description....
Adjust Trend Line Position by Date and Price script MT5
MetaTrader 5 script

Adjust Trend Line Position by Date and Price

This script identifies all trend line objects on the chart and repositions them to a specified date.It also aligns the price levels of the trend line's start and end points.Inputs:...
Chart Save Template script MT5
MetaTrader 5 script

Chart Save Template

This script saves the current chart settings to a template with a specified name.The script has one input parameter for the template name, which should be provided without the ".tp...
HTML File Converter for the Economic Calendar script MT5
MetaTrader 5 script

HTML File Converter for the Economic Calendar

The script converts the news page downloaded from the MetaTrader platform to a CSV text file.The source page should be located in the following directory: c:\users\\appdata\roaming...
History Deals and Orders script MT5
MetaTrader 5 script

History Deals and Orders

The 'History Deals and Orders' script provides a comprehensive overview of all deal and order properties from the trading history within a specified time frame.This script offers t...
Pending Orders Up script MT5
MetaTrader 5 script

Pending Orders Up

The 'Pending Orders Up' script automates the placement of a grid of orders above the current market price.Input Parameters:- Gap for Pending Orders Up (in pips): Distance from the ...
Pending Orders Down script MT5
MetaTrader 5 script

Pending Orders Down

The "Pending Orders Down" script automates the placement of a grid of orders below the current market price.Input Parameters:- Gap for Pending Orders Down (in pips): Distance from ...
Current and Next Futures script MT5
MetaTrader 5 script

Current and Next Futures

This script provides three distinct functions to identify the current and upcoming futures contracts.By inputting the short name of the futures, for instance, 'br', the script reve...
Lead Lag Relationship Tester script MT5
MetaTrader 5 script

Lead Lag Relationship Tester

Script for testing the indicator, designed to send quotes with a delay.Testing Instructions:Run the script and indicator with a shared communication channel on the same instrument....
Candlestick Statistics script MT5
MetaTrader 5 script

Candlestick Statistics

This script counts the number of bullish and bearish candlestick series and displays the results as a chart. It also saves a screenshot of the chart for future reference.The script...
Statistics of Candles 2 script MT5
MetaTrader 5 script

Statistics of Candles 2

A modification of the script, counting the number of series of bullish and bearish bars and displaying the result as a chart. The class is used for this purpose.New in this version...
VR Orders History MT5 Lite script MT5
MetaTrader 5 script

VR Orders History MT5 Lite

This universal script is compatible with both hedging and netting accounts.The script categorizes the report into two stages:The first stage encompasses current open positions and ...
Floating-Point Decoder script MT5
MetaTrader 5 script

Floating-Point Decoder

Display the actual stored value of a floating-point number (float or double type) with high precision up to 55 decimal digits. This tool aids in debugging the exact value of floati...
Math Functions: Ceil, Round, and Floor script MT5
MetaTrader 5 script

Math Functions: Ceil, Round, and Floor

An introduction to mathematical functions in programming:The 'ceil' function returns the nearest upper integer.The 'round' function rounds a number to the nearest integer.The 'floo...
Third-Party Tick History for MetaTrader 4 script MT5
MetaTrader 5 script

Third-Party Tick History for MetaTrader 4

Third-party applications for MetaTrader 4 that provide tick history from various sources have gained popularity. This tick data is commonly utilized in the strategy tester to evalu...
Breakeven Levels Indicator script MT5
MetaTrader 5 script

Breakeven Levels Indicator

This script calculates and displays breakeven levels on a chart for open buy and sell positions.It is based on MQL4 code.Note: If the number of positions changes, restart the scrip...
Distance from Point to Line script MT5
MetaTrader 5 script

Distance from Point to Line

This function calculates the distance from a point to a line, given the coordinates of two points on the line and the point.Function Parameters:- double lx1: the x coordinate of th...
SD M Swap script MT5
MetaTrader 5 script

SD M Swap

A script to display the swap value on financial instruments with color-coded text for positive and negative swaps.This script has been a long-term utility for the author, who finds...
Test Values Print: A Helper for Developers script MT5
MetaTrader 5 script

Test Values Print: A Helper for Developers

This include file, though small in content, is designed to print the values and names of variables.This is useful when engineering codes or developing functions to understand their...
MT5 Position History Export Script script MT5
MetaTrader 5 script

MT5 Position History Export Script

This script exports the history of closed positions from an MT5 retail hedging account within a specified date range. The output is a CSV file compatible with all spreadsheet softw...
save and show the objects of testing chart script MT5
MetaTrader 5 script

save and show the objects of testing chart

after back testing, we usually need to analyze the testing result on a new chart which we have loaded our template. in this case we need to copy the objects on the testing chart to...
timeframe to short name script MT5
MetaTrader 5 script

timeframe to short name

this function gives me the shortened names of the timeframesexample: "m1" instead of "period_m1"...
nerve script MT5
MetaTrader 5 script

nerve

the script calculates the average volatility of symbols according to the equation: the differences of the maximum and minimum values of the candles for the selected period in days ...
lot check script MT5
MetaTrader 5 script

lot check

idea by:code mq5 by:this is a utility script. the lot size is set in the inputs. as a result, we obtain a correctly rounded lot, as well as auxiliary data, such as maximum lot size...
© ROBOTFX Free educational tools by RobotFX. Use entirely at your own risk; we are not liable for any financial losses incurred.