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

Top MQL4 and MQL5 source codes based on user ratings - 92

Submit your code

A class system to represent a hidden stop loss and take profit system, combined with 4 example files showing the use of the classes.

Library for defining schedules by weekday and time.

Expert with advanced and optimized indicators aiming for best entry.

"Cryptocurrency " EA Trades with 4 Fibonacci MAs has Trailing Stop Loss &Take Profit can work on all time frames Cryptocurrency , major forex pairs, and stocks NASDAQ.

This Expert Advisor is a pure hedging system. The expert place and manage two market opposite orders. Runs perfectly on pairs with tight spread and low commission broker (commission plus spread equal or less than 0.5 pip). The code is available for testing and studying. For more information please visit the product's page: https://www.mql5.com/en/market/product/33295

The expert uses iFollowLine and iCompass indicators to generate signals. It's an easy and quick way to test both indicators. 27/09/2019 updated expert and indicators.

The "Smart AC Trader" EA trades with 2 moving averages , If we lose a trade then the EA will take a new trade with the opposite conditions

TrendFlex indicator based on February 2020 TASC article published by John Ehlers - metatrader 4 version

Most traders keep losing money because they focus on money rather than planning their trades based on Percentage risk.

This is a RVI crossover indicator.

This EA was created for learning purposes and can be developed for trading purposes.

A Simple Trade Management Script

Syndicate Trader is coded from the basic VSA (Volume Spread Analysis) study by Wyckoff.

The currency strength meter is a trading tool that is used to identify trending and consolidating markets based on the percentage rate of change in price from one period to the next.

Converted LazyBear Squeeze Momentum Indicator from TradingView to MQL4

It's a two (2) pairs correlation system to use 3 currencies for make 2 pairs to open hedge orders on those. Expert starts opening four orders for each couple (2 plus and 2 minus) and wait to move prices in one direction to make a grid of orders Please visit the product's page for more information: https://www.mql5.com/en/market/product/34112

Just simple codes to Disable/Enable Auto/Algo-Trading in both MT5 and MT4. Of course, DLLs must be allowed, This cannot be done without DLLs

This Ea operate the best setting on a daily time frame

Class for working with synchronization events.

The "Martingale Smart" EA trades with 2 strategies , If we lose a trade then the EA will change strategy and take a new trade with a multiplied/increased lot size,

Weighted deviation bands - metatrader 4 version

Sequential is an automated trading system developed by Thomas DeMark.

This expert is based on the famous DeMark Lines indicator.

The indicator shows the identification (magic) number and the profit of the order.

This script allows you to close orders with one click, filtering by profit, loss, magic number and comment.

1MA

"1MA" EA trades with a strategy based on one 20 period moving average and has Trailing Stop Loss &Take Profit works on all time frames major forex pairs

The Predator EA trades with two strategies ,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ

The indicator is shown in a histogram the ATR uptrend and downtrend uses a different way. You can set period of indicator and levels for trend.

RSI levels rendered on price as bands

The Blockbuster EA.

The Renko charting method is thought to have acquired its name from "renga" which is the Japanese word for bricks.

"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.

The 8 effective steps to build a robust day trading plan using Fibonacci retracement

Trade symbol: various Time frame: H4 Indicators used: EMA, SMA, MACD, RSI, Bollinger Bands, Parabolic SARS

Detects intersections between MA3, MA20 and MA150.

The EA is based on Stochastic as well as CCI. It uses the fact that a reversal happens when the limits are broken, for cci - 120 and -120, for stoch - 70 and 30. Buys when the lower levels are broken, sells when the upper levels are broken.

"Triple top and triple bottom" naked trading price action EA draws 2 mini Trend Lines with "Fractals" on chart and trades with Triple top and triple bottom strategy,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

One code that works for both Mt4 and Mt5 combined. Salient features of the code: -Filter News by High, Low or Medium Volatility -Filter By currencies -Filter by News Keyword -Auto GMT offset check -Dashboard to show upcoming News (Can be enabled or disabled) -Lines on chart for all Upcoming events -Code can be easily modified to place trade at certain time before or after an event or to just stop trading during events.

Indicator MTF RSI

One more version of indicator TTF, draws points Buy and Sell.

1...858687888990919293949596979899...102