MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Source code library - Expert Advisors, Indicators and Scripts

Read Financial Magazines in MetaTrader 4 and MetaTrader 5!
To post a new code, please log in or register

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 Jobs section

MQL5 Source Code Library for the MetaTrader 5 - Scripts

Do you know that all the programs in the MQL5 library are available directly in the MetaEditor 5? Now you do not need to worry about which folder to use to download the code of an Expert Advisor, indicator or script - the editor does it for you.

Open its Toolbox (Ctr+T), go to the Code Base tab and select "Download" in the right-click menu - that's all you need to do to get a program source code!

previous1234next
latest|best|downloads
479

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

1685

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.

389

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

586

Take screenshot in the original chart size with labels (instrument, timeframe)

1724

Check out any MQL5 closed positions on a chart.

2841

A collection of predefined Scripts immediately available for use without having to key-in. Step-by-step instruction how to make your own Scripts from Scripts Collection.

2020

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

1344

English version of AllAmplitude.mq4 The original script was posted here: http://codebase.mql4.com/3852 . The output file will be stored in the MetaTrader 4\experts\files\ directory. The file name contains following information: "Symbol_Period---da

3204

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

4664

This scrip will close all your open positions in your MT4. You just need to drag it to the chart.

2559

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

4623

This script can close all your open positions in your MetaTrader 4, or you can select different similar positions.

3575

This set of scripts has been designed to scale-in your trades as price action runs in your favor. This will maximize profits due to proper pyramiding, decrease the impact of unprofitable trading decisions and in general, make your life easier.

5081

Drag n' drop wave counts.

1669

Many developers face the same problem - how to get to the trading terminal sandbox without using unsafe DLLs. One of the easiest and safest method is to use standard Named Pipes that work as normal file operations.

3552

Execute Script only one time and it will delete all pending orders i.e Limits and Stops by this script at once. No Need to run script for each order separately.

7689

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

6217

Scripts to modify stop loss in buy or sell opened orders on current chart.

4812

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

2119

Customizable Fibonacci Tool scripts to make these tools more informative on chart as per your needs.

6969

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.

4665

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

4767

Scripts of pending, market orders, placing and removing stops.

1755

The script (in the absence of communication) rescans the server, will make paging history, emulates the ticks for the indicators and experts.

1541

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

2562

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

1378

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

874

Rewrites JForex csv data without the weekend candles and the seconds.

1353

WatchDog sends an e-mail when things go wrong, an order has opened or closed, on requotes, on log errors, on server shut down... Just drag the script in a chart window.

3603

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.

3536

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

2361

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.

3099

Just a simple script , that reads the HTML file a report , or detailed report , and draws a transaction from it on the chart

1896

This script reads your unread GMail messages.

2692

The script prints the week day and time.

2349

Reads all available instruments and their characteristics and generates an HTML report. Positive Swaps are highlighted.

1241

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

1673

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

8199

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.

2283

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.

previous1234next