Watch how to download trading robots for free
Find us on Twitter!
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 - 6

Submit your code

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 is useful when you drop lines on chart and want to see the distance to current market price. You can drag line and see the distance in pips.

Exports your history into a .csv file which can be read by excel or similar. You can sort your trades and see easily how much a certain EA won or lost.

Review the results of the work of your strategy (in history) by the hour.

Weekly and Monthly Pivot shows resistance and support lines of pivots using classic formula

Someone asked me to provide them a way to close all their orders. This script will serve that purpose. Place this script in your \experts\scripts folder. When you want to close all the orders just drop this script on a chart.

Someone needed a quick way to open the Alert window again, after they had closed it. Place this script in your \experts\scripts folder.

Quckly generate histoircal data from any M1 data such as alpari for all time frames up to D1. Shift Time to suit your server.

The script inserts the FXT-file of any custom chart, synthesized from real tick flow, into the strategy tester folder.

Script that closes orders and (or) deletes pending orders.

OpenOrder script allows you to open an order defining the % of balance to risk, the Stop Loss distance in pips and the Take Profit distance in pips and a magic number.

The script exports summary of closed trades grouped by each trading day to .csv file

Two scripts to automate opening multiple positions simultainiously with SL and TP.

A set of scripts to install and work with Gann fan. Custom fan has correct angles and is scale insensitive.

The script allows you to get a certain section of the chart image specified by the user.

This script makes horizontal lines, that shows max and min price values for a period of time.

Downloads the history of Alpari PAMM accounts and displays it on the chart.

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.

It's version 2 of Customized Buy and sell v1 .... http://codebase.mql4.com/4901

The script saves the values of Time, Open, High, Low, Close, Volume and standard indicators.

The script downloads the historical quotes data of a single timeframe for all symbols in the market watch.

Short description: This Script will draw a line from the open to the close for each order in you account history. please show all history in account history before using this script.

With this script, you can send a message from MetaTrader 4 to Telegram.

The script closes all opened Buy and Sell positions in the active window.

The script plots a "Tic Tac Toe" chart in the form of Japanese candlesticks.

1) Close all order on the Symbol Chart 2) Take screen for keep a Trading Journal

Expansion and improvement of the script ver.2 and an example of accelerated processing of an indicator for use in conjunction with the script

This script will set your stoploss at the fractal level of your choosing. Money management built in helping take some of the guess work out of your trading.

This script reads your unread GMail messages.

Drag and drop wave counts.

Draw Elliott Waves (5 waves) manually.

This EA can detect trades in your MT4 account and transmit them via web

It measures all sections that join the ZigZag breaks, the resulting values are given in points.

123456789