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 - 15

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

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.

Advisor scalper. Trading algorithm: Candle[0]> Candle[1] * 2. Taimframe - 4H.

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

This is strictly for daily chart and any symbol with spread low enough for its operation

Trading and analysis dashboard which usually provides great trading opportunities during daytime.

"Standard Deviation Channel Lines" EA draws Standard Deviation Channel Lines on chart and trades with its trend,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

Separate window! Uses daily open price and current price (close price for closed candles) to compute % change for the day.

"Gann Line" EA draws Gann Line on chart and trades with its trend,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

"Fibochannel line" EA draws Fibonacci channel lines on chart and trades its trend,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

"Fibo" EA draws Fibonacci 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.

Uses open price on D1 timeframe and current price to calculate % change for the day, and comments it in the main chart window.

Indicator OBVMTF base on the On Balance Volume indicator with Signal and Alert for MetaTrader 4 with options to display signal on the chart. with Signal and Alert, email alert, Push Notification and option to display trader info and signal.

Buffer-free indicator implemented on iCanvas

"Trend Line" EA draws Trend Line on chart and trades with its trend,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

high-low channel

"Andrews Pitchfork" EA draws Andrews Pitchfork on chart and trades with its trend,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

Instead of having to analyze each pair individually, you can see at a glance what are the most promising pairs according to your own criteria.

"Gann Fan" EA draws Gann Fan on chart and trades with its trend,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

A higher period Bollinger band strategy used for trading reversals

Linear Regression Channel EA draws "Linear Regression Channel" on chart and trades with its trend,has Trailing Stop Loss &Take Profit works best on all time frames major forex pairs and stocks NASDAQ.

After looking for many Trading concepts and requirements of my own tried to code an EA. First collected many EA's and tried their codes I re-designed the following codes for my own needs to use for trading. Hope you also find the EA helps you .. Have healthy life and succesfull trades within your life.

STRATEGY MARKET Tickmill-Live; EURGBP; H4 EA will trade a fix lot as you select and close as per the EA base indicator. ITs work only on Tickmill live broker account. without selected any date to back test

Displays colored bars for MACD indicator above or below the zero level. Configurable with alerts.

Trading Criteria EA trades with crrosing signals strategy has Trailing Stop Loss &Take Profit,display of trading criteria on chart,works with all time frames major forex pairs and stocks NASDAQ.

This indicator calculates and displays the Euro Index and 2 definable moving averages. In order for it to work, the broker must provide prices for all the reference pairs, i.e. EURUSD, EURJPY, EURGBP, EURSEK, EURCHF.

1...8910111213141516171819202122...101