MQL4 Source Codes of Scripts for MetaTrader 4
Scripts are small applications that perform one-time actions. For example, you can delete all objects from a chart or place a set of orders for an open position. Find here hundreds of applications that can automate small analytical or trading functions.
Scripts are free to download and run in MetaTrader 4.
Simple strategy - MM % volatility
The script is designed for downloading history on all known currency pairs, metals, indices, CFD and for controlling "holes" in history.
The Lines_Create script creates 2 horizontal lines on the chart with the names UP_LEVEL and DOWN_LEVEL. The Lines_Delete deletes the lines created by the Lines_Create script from the chart. The Lines_RASST script is an addition to the Lines_Create script.
This script is designed for obtaining various statistical data on the chart candlesticks on the selected timeframe.
2 scripts for the analysis of trading results. Useful both for investors and traders.
The calculator estimates the value of one point of a currency pair and the maximum stop loss for the user-defined lot.
This tiny script visually demonstrates the identity of two common Moving Averages
The script helps to perform the visual analysis of multiple currency pairs on a custom time frame.
Script for preparing the "minute bars" from forexite.com to be imported to MetaTrader 4
Script for the calculation of the third Elliott wave
The ZZ_All Quotings 0-0050 script is designed for downloading history on all currency pairs, metals, known indices, CFD and for controlling "holes" in history.
The history_data_analysis_v3 script checks the history for missing bars, determines the size of the holes, gaps and makes a list of them.
The hst2csv script is used for converting *.hst files to *.csv files, that can be imported into the MetaTrader 4 client terminal with no errors.
Example of using wininet.dll for downloading a web page.
A set of scripts for quick drawing the Elliott waves.
Script for converting a chart of the M1 timeframe into all other charts of the standard timeframes and recreating the M1 timeframe chart.
The script saves the values of Time, Open, High, Low, Close, Volume and standard indicators.
Script to set StopLoss and TakeProft in Pips, uses your EA Number, separate SL and TP.
The Mandelbrot set is one of the most famous fractals, including outside of mathematics, thanks to its color rendering.
The script inserts the FXT-file of any custom chart, synthesized from real tick flow, into the strategy tester folder.
Script for opening opposite stop orders at a specified time. Once one of them triggers, the other one is deleted.
The script is designed to place orders at the time when it is not possible, for example, when the market is closed.
The script determines the price at the point of the chart, on which it was dropped down, and depending on that it places a grid of orders.
This script plots MQL signal history on a MetaTrader 4 chart.
Close, Delete or Clean values from all orders by your choice.
The script analyzes the market based on two criteria: the moving averages and the support and resistance levels.
Script that closes orders and (or) deletes pending orders.
The converter of the tick files created with the Ticks collector into different data representation formats.
The script tests the computer in 45 performance tests. It is possible to compare the performance of VPS/VDS servers.
This script creates a .CSV file of your order history so you can import it into Excel and analyse it using the calculated heat map slots. Updated version (19KB) adds NetProfit, Open Hour and slot, Close Hour and slot. File is tab delimited for easier conversion from text to columns in Excel. Times are server time.
This script will help you calculate your lot to open position.
This script lists current open orders with profit.
Easy to use an open trade script.
This script shows you current currency pair spread, pip value and the total cost of the spread to open a position. Result will show in your account currency.
Simple code to close all opened orders.
The script reverses all the orders of the actual chart symbol.
The script creates an ellipse on window drop.
Script deletes selected object types from the charts (current chart or all active charts).
The script allows you to get a certain section of the chart image specified by the user.
Use this script 2 minutes before high impact news pip moving faster FOMC, NFP, RATE BANK.