MetaTrader MT5 Script Source Code Downloads - Page 4

Showing 411 results
Delete Demo Files script MT5
MetaTrader 5 script

Delete Demo Files

The script scans all text files in the terminal's local folder and removes those with creation dates older than the value specified in the 'inpfilesdate' input parameter.Note:By de...
File Movement Between Terminals script MT5
MetaTrader 5 script

File Movement Between Terminals

The script facilitates the transfer of a source file from a subdirectory in the terminal's local folder to a target file in a shared folder accessible to all client terminals.It fi...
File Flushing in MetaTrader script MT5
MetaTrader 5 script

File Flushing in MetaTrader

When writing to a file, data may not be immediately saved. To ensure instant data storage, use the () function. Without this function, unsaved data will be written to the disk only...
Reading and Printing Data from a Local File script MT5
MetaTrader 5 script

Reading and Printing Data from a Local File

The script accesses and displays information from a file in the terminal's local directory. It employs a loop with the () function to read the file until its end is reached. The ()...
File Integer Retrieval script MT5
MetaTrader 5 script

File Integer Retrieval

The script accesses a file in the terminal's local folder and presents its property values. The folder's location is determined by the () function.This script illustrates the appli...
Reading Bid and Ask Prices from Binary Files script MT5
MetaTrader 5 script

Reading Bid and Ask Prices from Binary Files

This script reads bid and ask price data from a binary file, generated by an expert advisor. The file is located in a subdirectory of the terminal's local folder, accessible via th...
Indicator Signal Logger script MT5
MetaTrader 5 script

Indicator Signal Logger

The script captures and logs indicator signals to a file, offering customizable parameters for MACD indicator calculations, currency pair and timeframe selection, and data analysis...
Write Double Indicator Values to Binary File script MT5
MetaTrader 5 script

Write Double Indicator Values to Binary File

This script retrieves indicator values and writes them to a binary file in the 'data' subdirectory of the local terminal folder.It allows customization of input parameters for the ...
File Size Sorting Script for MetaTrader script MT5
MetaTrader 5 script

File Size Sorting Script for MetaTrader

This script efficiently organizes CSV files based on their sizes within the general folder of MetaTrader client terminals.The process involves:- Retrieving file sizes.- Comparing s...
File Analysis and Random Number Display script MT5
MetaTrader 5 script

File Analysis and Random Number Display

The script opens a text file and analyzes the positions of strings' start points, displaying string text with a random number.To retrieve the array of start positions for each stri...
Write Integer Data to File script MT5
MetaTrader 5 script

Write Integer Data to File

The script retrieves prices from a chosen symbol, analyzes the data, and writes price movement information to a binary file at specified intervals.The () function is responsible fo...
Volatility Measure (VM) script MT5
MetaTrader 5 script

Volatility Measure (VM)

This script copies candlestick data for a specified time period and analyzes its components: body, upper and lower shadows. It calculates maximum, minimum, and arithmetic mean valu...
Chart Changer Script for MetaTrader script MT5
MetaTrader 5 script

Chart Changer Script for MetaTrader

This script allows for rapid cycling through your open charts using a single hotkey. Assign the script to a convenient key combination to quickly switch between trading setups and ...
Candlestick Statistics Calculation Tool script MT5
MetaTrader 5 script

Candlestick Statistics Calculation Tool

This script calculates and displays statistics for candlestick bodies and shadows on the current chart. The statistics include minimal, maximal, and average values, presented for t...
Transparent Meta Trader 5 script MT5
MetaTrader 5 script

Transparent Meta Trader 5

The script allows setting the transparency level of the client terminal window using Windows API.Features- Set transparency level of the client terminal window- Utilizes Windows AP...
Straddle Order Script for MT4/MT5 script MT5
MetaTrader 5 script

Straddle Order Script for MT4/MT5

This script is designed to create straddle buy and sell stop orders around the current price level.The orders are configured to expire after a specified time period and will stradd...
Tracking Wins and Losses script MT5
MetaTrader 5 script

Tracking Wins and Losses

A method for creating a tally of wins and losses has been developed.This provides a clear way to track trading performance....
Long Position Script script MT5
MetaTrader 5 script

Long Position Script

A straightforward script designed to open a long position at the current price, with customizable risk percentage and reward ratio settings.To use, simply drag the script onto your...
Short Position Script script MT5
MetaTrader 5 script

Short Position Script

A straightforward script designed to facilitate the opening of short positions based on the current price, with customizable risk percentage and reward ratio parameters.Usage: - Dr...
Pending Order Script script MT5
MetaTrader 5 script

Pending Order Script

This script assists in placing pending orders on the chart.Upon dragging the script onto the chart, it calculates the price at the drop point to determine whether a buy stop or buy...
Short Pending Order Script script MT5
MetaTrader 5 script

Short Pending Order Script

This script assists in placing pending orders by calculating the price at the dropped location on the chart.Upon dragging the script onto the chart, it determines the price at that...
Apply Template Script script MT5
MetaTrader 5 script

Apply Template Script

This script allows you to apply the same template to all charts opened simultaneously, a useful feature for binary option traders.The script offers simple options, as demonstrated ...
Market Analysis Script and Template script MT5
MetaTrader 5 script

Market Analysis Script and Template

This script, when applied to a new chart, will search for and apply the specified template file to all open charts. The template includes parameters for projecting 6 exponential mo...
Web Request() Function for Automated Posting script MT5
MetaTrader 5 script

Web Request() Function for Automated Posting

The Web Request() function offers two call options for versatile web interactions.The first option facilitates simple queries, as demonstrated in the script example.The second opti...
Setting Chart Preferences script MT5
MetaTrader 5 script

Setting Chart Preferences

This script allows you to set chart preferences across multiple chart windows simultaneously.Based on MQL documentation, it can be used with MetaTrader 4 and 5, offering a convenie...
Key Points Indicator script MT5
MetaTrader 5 script

Key Points Indicator

For years, I have been studying and trading using the Thomas Demark system, utilizing an indicator in my trading process.Through my trading experience, I identified a factor that o...
Time and Price Scale Control for MT4/MT5 Charts script MT5
MetaTrader 5 script

Time and Price Scale Control for MT4/MT5 Charts

The script offers a solution to optimize screen space when displaying multiple charts in a tiled layout.When you have several charts open, the time and price scales can occupy a si...
Lot Line Indicator script MT5
MetaTrader 5 script

Lot Line Indicator

The Lot Line indicator is a powerful tool for traders using the MetaTrader platform (MT4/MT5).It displays a horizontal line on the chart, indicating the trade volume in lots needed...
Number of Objects in a Chart script MT5
MetaTrader 5 script

Number of Objects in a Chart

An example of counting different objects on a chart, demonstrating the implementation in all subwindows or a specific subwindow.Settings:- Object Type: Choose from a list of object...
Bullish and Bearish Candlestick Counter script MT5
MetaTrader 5 script

Bullish and Bearish Candlestick Counter

This script provides a simple yet powerful tool for traders to analyze market trends by counting bullish and bearish candlesticks.It identifies and displays the number of candlesti...
Close All Windows script MT5
MetaTrader 5 script

Close All Windows

This script closes all windows of a selected symbol or all windows of any symbol.It is particularly useful when testing and there are numerous open windows to close individually.Re...
VR System Test for MT5 script MT5
MetaTrader 5 script

VR System Test for MT5

I often wondered about the optimal computer setup for maximizing the performance of MetaTrader 4 and MetaTrader 5 terminals. This question arises when considering an upgrade or pur...
Separators script MT5
MetaTrader 5 script

Separators

This indicator is designed for historical analysis, providing a static view of past data.Settings:- Time of the day (e.g., 23:35)- Number of days (e.g., 10000)- Color of the separa...
Slippage Page script MT5
MetaTrader 5 script

Slippage Page

During execution, slippages introduce non-systematic profit/loss.This script calculates and displays these slippage values in the account currency.It allows for the assessment of t...
Price Lines Indicator script MT5
MetaTrader 5 script

Price Lines Indicator

The default chart grid has certain limitations that hinder quick assessment of price movements. The grid step adjusts dynamically when changing timeframes, and it doesn't align wit...
Monthly and Weekly Levels Indicator script MT5
MetaTrader 5 script

Monthly and Weekly Levels Indicator

This script provides a clear visualization of monthly and weekly levels on the chart.Parameters:- Number of Days: Set the number of days for calculation.- W1 Color: Choose the colo...
Scale Fibonacci Arcs script MT5
MetaTrader 5 script

Scale Fibonacci Arcs

This script automatically adjusts the scale of Fibonacci arcs on the chart.Usage:- Before applying the script, the Fibonacci arcs are unscaled.- After dropping the script on the ch...
Yuraz RSaxel Script script MT5
MetaTrader 5 script

Yuraz RSaxel Script

This script draws the Axel Rudolph levels.The script is based on the Yuraz_classrsaxel.mqh class.The script is designed to parse data from a specific date, in this case, 1999.01.01...
Download History script MT5
MetaTrader 5 script

Download History

Symbol for downloading historical data for a specific symbol from the server.Key Feature:- Visual indication of the download process using the .This script employs a customized Can...
Chart Switcher script MT5
MetaTrader 5 script

Chart Switcher

This script automates the process of switching between multiple open charts at regular intervals.Version 1.02 introduces a new feature: you can now specify a symbol to display only...
Statistical Trading Analysis script MT5
MetaTrader 5 script

Statistical Trading Analysis

This script provides a concise trading performance overview for a specific instrument within a defined time frame.It presents key metrics, including the total number of trades exec...
Regular Expression Simulator script MT5
MetaTrader 5 script

Regular Expression Simulator

This script enables the testing of regular expressions.For further information on regular expressions, refer to the following resources:- Article- LibraryPrior to commencing, ensur...
Locating the Nearest Bar script MT5
MetaTrader 5 script

Locating the Nearest Bar

This script identifies its position upon being dragged by the mouse and subsequently searches for the nearest bar.The process is founded on the principle of bar boundaries.Bar Boun...
Stop and Take MT5: Modify Order Levels script MT5
MetaTrader 5 script

Stop and Take MT5: Modify Order Levels

When applied to the price chart, this script modifies the Stop Loss or Take Profit levels for all open orders on the current financial instrument.Example:For multiple buy positions...
© ROBOTFX Free educational tools by RobotFX. Use entirely at your own risk; we are not liable for any financial losses incurred.