Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Access the CodeBase from your MetaTrader 5 terminal
Couldn't find the right code? Order it in the Freelance section
How to Write an Expert Advisor or an Indicator

Top scripts for MetaTrader 4 based on user ratings - 5

Submit your code

A simple script to close multiple market orders.

The script tests the computer in 45 performance tests. It is possible to compare the performance of VPS/VDS servers.

Drop the script on your chart to send a screenshot to twitpic with or without a message

popup tip: any bar's local time, with help of a verticle line.

The indicator of trading signals based on the divergence of the RSI and CCI values

A DLL to manage and exchange data between MT4 and MS Excel. OLE is used. The description of the DLL functions is given in the attached example. The example is a script that sends quotes to Excel and builds the diagram of daily price changes. At exiting,

Script for preparing the "minute bars" from forexite.com to be imported to MetaTrader 4

The calculator estimates the value of one point of a currency pair and the maximum stop loss for the user-defined lot.

The script opens a BUY order for a specified part of the FreeMargin (second edition).

Modernization of the first version of the script with the ability to manage multiple indicators

With 3 settable parameters (currency pair, timeframe, and template) opens a new chart on your screen at the initalization period of the script.

Easy script to help analyze specified symbol, it opens 8 new charts with different periods and applies a specified template.

The script gets all the symbols available on your platform and writes their closing prices for a specific bar to a csv file.

The script deletes all objects on all active charts.

Use this script 2 minutes before high impact news pip moving faster FOMC, NFP, RATE BANK.

Changes the zoom level for all opened charts.

This script takes orders from trade history and places arrows on chart for trades.

Demo of functions in StringArraySuite.mqh

some people worked as ib , they used to need to calclute total trade lotes. here it is.

Scripts deletes all objects from the diagram.

Closure of all positions with a loss. (You can indicate a specific instrument if you want to).

This script will create, automatically, a CSV file with all your broker markets listed. We thought would be useful. We use it to integrate it with all our experts statistics. The CSV file will be created in MQL4/Files folder. Good Trading and good statistics!!

The script opens a SELL position with the size of a percentage of the maximum allowed size.

A script for visualization of trades on the chart. It is useful when you change the account/PC.

This script can close all your pending orders in your MT4, or you can select different pending orders.

The script shows the price level, where total profit for all of the opened positions will be non-negative (without loss level, or break-even price level).

The script performs the calculation of the average volatility of the symbol on the specified interval.

For day traders, this is one of the important thing to consider in order to improve our strategy by calculating on average how much an asset moves, in which it will allow us to identify the best TIME during the day to trade when the market moves the most as well

2 scripts for the analysis of trading results. Useful both for investors and traders.

The script fixes the chart by extending it with the consideration of the weekends and holidays.

Delete pending order - script printing selected first in list pending order data and deleting pending order.

A script aimed at loading of history for all available currency pairs, metals, indexes, CFD, and at checking of history for "holes".

It reverses all the positions on the current symbol.

Script interception of pressing keys or mouse buttons in the windows of MetaTrader 4. It can be helpful in writing controls.

The script should solve the "fading charts" problem - the situation when the charts stop being updated while the connection to the server remains ok

Drawing all results from a strategy tester report file into a chart.

The script automates the drawing of time lines of opening/closing of a calendar day and the price lines of opening/closing of the days.

The script closes any position using the Drag'n'Drop method, i.e. the method of "drag the script with the mouse and drop it on the order lines".

This script will allow you to use the information about the market watch and the client terminal settings. It can be very useful to study the client terminal and market watch options.

Graphic displaying of the statement, carring of a data from the *.htm table to the graph, for the convenience of analysis.

123456789