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

MQL4 Source Code Library for MetaTrader 4 - 14

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

This Expert Advisor is a tool to be used for closing all open positions by ticket in profit. Does not open positions, can only close positions. You can select the type of profits (pips or currency) and type of tickets (buy or sell) to manage it, and specific ID (magic number). For more information can visit the product's page: https://www.mql5.com/en/market/product/6990

It is based on solar winds joy and modified based on that. It is giving some good performance

MT4 Indicator for Position Size Calculation

Fractals - adjustable period and prices

Volume indicator as modified by RonT, but histogram bar color will be red on a down candle, green on an up candle

The Awesome Oscillator indicator is used for trade entry and exit

This ea designed based on Grid sterategy .

This EA uses modified Williams Awesome Oscillator (AO) and Accelerator Oscillator (AC) indicators for trade entry.

Macd Secrets EA uses 3 different time frames to find a trend,has Trailing Stop Loss &Take Profit works with all time frame major forex pairs and stocks NASDAQ.

If you make your own EA with iCustom from any indicator, but you don't know which signals from indicator via iCustom work? This EA help you.

Manual Hedging EA is an advanced hedging system.to trade manualy, each time you press the "Start" button, a sequence of trades begins ,When the market goes against you by certain number of pips, you open an opposite trade by a trade with slightly bigger lot size.

Zone Recovery Hedging Strategy Ea with two moving averages and Special formula. It works on any time frame, you should try it on demo account.

"Consolidation Breakout" naked trading price action EA draws 3 Trend Lines with "Fractals" on chart and trades after convergence breakouts,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

"Simple 2MA I" naked trading price action EA draws 2 mini Trend Lines with "Fractals" on chart and trades with the trend,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

"Trend Reversal"naked trading price action EA draws 4 Trend Lines with "Fractals"(2main+2small) on chart and trades with Trend Reversal,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

"Last Kiss Breakout" naked trading price action EA draws 2 mini Trend Lines with "Fractals" on chart and trades with consolidation breakouts,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

"Micro Trend breakouts"naked trading price action EA draws 4 Trend Lines with "Fractals"(2main+2small) on chart and trades with Trend breakouts,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

A very simple EA that makes anywhere from 8% to 69% profit. Randomly.

"Eliot Wave I" EA draws 3 Trend Lines with "Fractals"(1main+2small) on chart and trades When a Eliot retracement is formed,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

This indicator uses various SMA to indicate a possible reversal point.

ZeeZee Level, One by One

Display interactive HTML graph of the account balance inside the web browser.

"Triangle" EA draws 2 Trend Lines with fractals on chart and trades When a triangle is formed,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

With "Trend Line By Angle" EA you can draw Trend Line By Angle on the chart and trade with price breakthrough or trend,has 3 buttons for manual trading and allows to predetermine trailing stoploss & take profit, open and close all trades at once.

With "Equidistant Channel" EA you can draw Equidistant Channel on the chart and trade with price breakthrough or trend,has 3 buttons for manual trading and allows to predetermine trailing stoploss & take profit, open and close all trades at once.

With "Fibonacci Time Zones" EA you can draw Fibonacci Time Zones on the chart and trade with price breakthrough,has 3 buttons for manual trading and allows to predetermine trailing stoploss & take profit, open and close all trades at once.

The indicator plots Pivot levels for 3 custom periods on chart.

"Breakthrough volatility" breakdown robot scalper. Added function "roly-poly".

This is a simple EA that automatically places Stops and TakeProfit on opened orders .

With "Cycle Lines" EA you can draw Cycle Lines on the chart and trade with price breakthrough,has 3 buttons for manual trading and allows to predetermine trailing stoploss & take profit, open and close all trades at once.

Building a moving line by a polynomial of the 4th degree. Extrapolate a sine curve and its axis. One value on each bar is removed from the drawn lines and a sliding line of extrapolated values is drawn, which is not redrawn.

Scalper for any timeframe, with the "roly-poly" principle.

Expert with advanced and optimized indicators aiming for best entry.

Advanced EA optimized on selling positions on EURUSD.

A cross platform library/framework

"Gann Grid" EA draws Gann Grid lines on chart and trades with price breakthrough,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

Indicator DayPivotPoint System with Signal and Alert for MetaTrader 4

Expert scalper for daily timeframe.

ForexCandlestickPatterns with alert are forex indicators based on Japanese Candlestick Strategies.

iTrend_new is base on iTrend Indicator by MetaQuotes Software Corp. Update and modify by Roberto Jacobs 3rjfx @ 2019/03/18, for MT4 with Signal and Alert and options to display signal on the chart.

1...789101112131415161718192021...101