Download MetaTrader 5

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

MQL4 Source Code Library for MetaTrader 4 - 13

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.

latest|best

The indicator allows the trader to understand market relations.

The indicator displays the number of ticks inside the candlestick.

When the stochastic enters the overbought or oversold area, the first lot is opened, if the chart is reversed, then operate with one lot.

The new version of the Mc_valute_v8_final EA. It works well on a flat market.

The unique FX_FISH indicator is widely used by the Western experts to trade in the foreign exchange market, stock market, and others.

Plotting principle - digital filtering.

(Fast Adaptive Trend Line)– the «fast» adaptive trend line is calculated using a digital low-pass filter with a small cutoff period.

A simple indicator of dynamic support and resistance levels.

The Lines_Create script creates 2 horizontal lines on the chart with the names UP_LEVEL and DOWN_LEVEL. The Lines_Delete deletes the lines created by the Lines_Create script from the chart. The Lines_RASST script is an addition to the Lines_Create script.

This script is designed for obtaining various statistical data on the chart candlesticks on the selected timeframe.

2 scripts for the analysis of trading results. Useful both for investors and traders.

The calculator estimates the value of one point of a currency pair and the maximum stop loss for the user-defined lot.

System concept: The Donchian Channels are quite popular among the trend following systems.

The operation logic is as follows: Once a local maximum\minimum has been determined several horizontal lines will be drawn. The white one is an entry point, the following lines in its direction are targets. Naturally, the first one is the most reachable.... Red line is a stop line.

This indicator is a conversion of the Darma indicator set from MT3 to MT4.

Originally the DT mode was used by klot in his DT-ZigZag.mq4 indicator.

The "Directional Movement" (+/-DM) indicator. Developed by Wilder to improve the PTP indicator.

The EA was created similarly to EA that won the first place in the championship.

This indicator help you keep 3 different timeframes on the screen to see the price action clearly on both short term and long term without switching buttons.

This library is made for experts that need to calculate StopLoss and TakeProfit without putting SL/TP points on the trade.

This is an indicator which draws Fibonacci levels as indicator indexes.

This library made to simplify calculating your stop loss.

This library has SmartTrail trail function that depends on the previous candle.

It calculates the lot size depending on risk percentage entered by user in input parameters.

PriceAction indicator based on indicating Price Action candles. It indicates each candle type by different colored histogram bars.

This library has two functions: first to count OP_BUY positions and second to count OP_SELL positions.

This library has two functions: BreakEven & TrailingStop.

This function calculates your lot size depending on definite conditions explained in input variables.

This Expert Advisor depends on Moving Average 400 to indicate trend and "slope-direction-line" indicator, it will be attached with EA.

Buy and Sell arrows for Alligator signals.

This indicator will write value degrees of the lastest position of Price / MA / WPR / RSI / Stochastic at the current Timeframes.

Expert Advisor created using hedge function and the moving average indicator.

Show multi timeframe Moving Average on one chart.

Expert Advisor based on Commodity Channel Index (CCI) indicator.

Harami slightly modified.

This is my first expert totally based on RSI.

Simple and clean panel that shows RSI values on all timeframes with Oversold and Overbought notification.

Click "Close All" button to close all your open & pending orders at once.

Roboost is an EA for MetaTrader 4 trading using several half-scalping and traditional trade management techniques. It shall work on different pairs and TF. Target is H1 for major pairs.

The multi-currency arbitrage tactics.

1...67891011121314151617181920...84