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 5 based on user ratings - 8

Submit your code

This unit test frameworks eases the development of unit tests for more complex expert advisor programs. The MQL5 developer can test single components. The test framework starts the strategy tester so that there is test data available if required. I am using the framework to do test driven development (TDD) on my MQL5 programs.

Aquarium Canvas Background for Chart This script adds cool live canvas background on the chart like aquarium

closing partially script and Stop loss to Break Even point

This script opens all market watch symbols with the default template using the selected period. Save prefferred template as default.tpl to have all charts open with same template of your choice. Happy Trading.

These are some #define statements that are useful to perform operations in your EA. You only need to assign the name of your variables at the beginning of the file, and then let the other #define statements do the work. In order to use this file, add #include <DEFINE_statements.mqh> to the first line in your EA file.

Rates Version of a script https://www.mql5.com/en/code/30791

Building good trading habits by seeing things in terms of percentage not in terms of money.

This simple quick & dirty script code will output a CSV file of all the Signals' properties as reported by the MQL5 Trade Signals functionality.

3 fibo levels.

SymbolInfo example script lacks margin and leverage data wich are nowhere to be found explicitely in Metatrader, the trader must search thoroughly into the broker site in order to find them. The aim of this script is to provide a remedy to it from a standard tool.

he script estimates the bar's High-Low-Close, based on the stream similarity.

CloseAll script complying FIFO rules.

The script (not an Expert Advisor) sets and moves the Stop Loss for all positions on the current symbol to the specified price

Script to download EVZ data for Euro FX Vix indicator

Export the history of transactions on the trading account.

Service Script for aggregating Economic Calendar data to a .txt file

12345678