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

Submit your code

There are some scripts in the zip archive which could be very usefull in intraday trading. With them you can respond on market changes very quickly.

The library contain several functions to get an additional information about the symbols, loaded into the client terminal. ATTENTION: Undocummented solution, it may not work in the other versions of MetaTrader

The script deletes objects from the chart.

This script will calculate the total active and closed orders based on order types

Modify pending order - script choosing first in list pending order, printing selected pending order data, modifying pending order and printing pending order data after modification.

Close, Delete or Clean values from all orders by your choice.

An example of the script that writes the values of the RSI indicator to a CSV file.

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

The script is designed to transfer trades from the standard report of the MetaTrader 4 tester to the chart.

The script selectively clears the chart by the part of the name and/or by the type of the object.

This script uses the Windows API to modify the "From:" and "To:" fields within the strategy tester according to user input. For this script the strategy tester should already be open. Tested on Windows 7 64 bit. If you are using another version of win

The script shows the conditions of the correct and closest placing of the StopLoss and TakeProfit of the orders.

This is a "conceptual" script that uses the WinINet functions to load a HTTP page directly from mql4, without a C++ dll

Automatically does volume calculation based on percentage of desired account balance and enters instant or pending trades. Optional take profit is automatically at 1:1 with respect to SL.

A script tool for those who develop programs in MQL4. It allows to display the contents of any font in your chart.

The script reads the list of deals from the account history, groups them by the sign specified in the parameters and outputs to a file.

Pi

The calculation of pi character.

Well, the functions of file operations are used in the system library of kernel32.dll. It is this library that we import into the EA. The code is attached.

The script opens a SELL position with the specified part of the FreeMargin.

You pick the script and drag it on a chart's point. Then it uses this point to modify all stop/take profit levels of the chart's currency.

The calculation of the amount of lots through the specified percentage of free assets.

Script for horizontal grid lines plotting

The script make TakeProfit and StopLoss on price, where total profit for all of the opened positions will have non-negative.

These scripts will record and file a picture of the chart at the time of each trade executed with them.

This is a script to view a myfxbook's CSV statements file in MT4.

Calculates the profit from oppened trades if the Price reaches the dropped Price

A simple script to quickly place letter/numbers on the chart for wave labeling (A, B, C or 1, 2, 3, etc)

Script to start an external program.

The script downloads the historical quotes data of the current chart symbol and timeframe.

Find what are the highs and the lows that happened the last 60000 ms

Script for the calculation of the third Elliott wave

The script sends SELL STOP pending order with expiration data and printing number of ticket.

Example of file read and write operations

The script is intended for gathering some statistics by the symbols and its comparison.

The modification of an order (position) using the mouse - the second script from the "GMO" ("Graphical Management of Orders") series.

The script allows to use MetaTrader4 as netting platform. It has some advantages compared with MetaTrader5.

Creates a report in HTML about all pairs and symbols, for example how many days ago a cross moving average appeard. Pairs with a last recent cross moving average at daily timeframe have a chance for a trend reversal which may be traded.

The converter of the tick files created with the Ticks collector into different data representation formats.

The script helps to perform the visual analysis of multiple currency pairs on a custom time frame.

123456789