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

MQL4 Source Code Library for MetaTrader 4 - 46

icon

The largest library features codes of free trading Expert Advisors, technical indicators and scripts. With the available applications you can trade in automated mode and analyze price dynamics. Use the library of codes to learn more about financial market sentiments.

Download free applications, test them and run in your MetaTrader 4. You can access them from the MetaTrader 4 platform and the MetaEditor development environment.

Submit your code

Adviser may trade in two modes: Martingale and antimartingeyl ...

The indicator ыimulates the full structure of the market profile system that described by "James Dalton" in his book "Mind Over Markets".

This code is an Alternative of the missing OnTrade() event in MQL4.

A tool to give us a better market perspective.

Good For EURUSD. Start by Money $300.

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

Simple library that allows sending requests via HTTP protocol from new MQL4

An implementation of a HashMap in MQL4

This indicator will calculate pips wins and losses for any pair with a parsar and doji star trading strategy. You can see pip targets and losses and see if you can find a winning pair with this. 5MIN charts are the best on current settings.

With this indicator you can follow the evolution of account profit.

Connecting to MySQL server from new MQL4.

Shown all TF candle direction on Chart.

mt4R, modified for supporting new MQL4

This is a simple (cheap) UnitTest include library for new MQL4

EA depend on distances for 9 orders opened with condition of Stoc 4H >80 sell &

How to load csv signals into your expert

This indicator is a modification of classical Awesome indicator. It computes the smoothed rate of change of two exponential means.

Amazing EA that does not use any indicator. Instead, it follows the price action. Tested from 18 August 1995 to 29th January 2014. It has managed to turn $10,000 to 11,958,183.37.

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.

Where is the herd of Bulls and Bears within the candle? A candle does not show where most of the activity has been during the candle's timeframe. TFV does. TFV shows with 1 simple dot where the battle has taken place in the candle, where the trenches are

Artificial Intellegence (by Reshetov) original code is optimized with higher returns and accuracy for positional traders.

GBPJPY 5M Only. Good luck.

This indicator is a small modification of classical Fractals Indicator. You can choose the number or left/right bars to have a new top or bottom as well a shift parameter.

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

This is a indicator to see if you can find a trend by drawing a graph with bars counted.

Taking a Closer Look at the Workings of the ZigZag Indicator.

liquidex is a HFT EA. It uses moving average and range to determine it's entries and exits.

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

Check out any MQL5 closed positions on a chart.

The EA will close all open orders across all charts corresponding to the EA chart symbol when Bid or Ask is equal to or crosses the Kijun Sen.

The EA will close all open orders across all charts corresponding to the EA chart symbol when Bid or Ask is equal to or crosses the MA.

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.

The indicator draws support & resistance levels based on the last MN1, W1, D1, H4 and H1 fractals.

It Is placing stop loss and take profit at a given distance. Displays the current status of open orders. For closing of the order it is enough to select and move the label to the left.

Detects and displays the fixed value of Constant Range Bars/Candles.

Detects and displays the fixed size of Renko Bars/Candles on offline chart.

Value Chart as developed by David Stendhal. Value Chart was designed to show the valuation of the market.

ALGLIB math function library (v. 3.5.0) ported to MQL4.

Time indicator displays broker time and local computer time on the chart.

Example of working with OBJ_EDIT graphic object.

1...394041424344454647484950515253...102