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

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

Submit your code

Synchronous change of a trading instrument in all charts

Slow Line of the original Didi Index

trending breakout

The script is best use to clean up all drawings ( Delete All Object, Comment, horizontal line, vertical line, arrows etc) on current chart. Please feel free to modify based on your needs.

A simple indicator plotting a channel with a constant range

This Expert Advisor based on Relative Strenght Index, Commodity Channel Index and Moving Averages MT4 Indicator for Signal. Please test in Demo Account first. Regards.

ScalpX is an indicator that uses Kalman filters to identify buy and sell opportunities whenever is indicated by the graph.

This one may not be the fastest, but it will definitely close all your positions.

The Correlation Indicator provides a smoothed bar to bar correlation value.

ATR based limit channels - metatrader 4 version

A light header-only version of Log4mql that provides standardized logging.

MyRsi - by John Ehlers : metatrader 4 version

ADXm experiment (metatrader 4 versions)

Detecting the start of a new bar or candle, in the OnTick() event handler of an expert advisor.

Checking the Cross of First Two lines of the Ichimoku Indicator

3LS

Converted 3 Line Strike by TheTrdFloor from TradingView to MQL4

One more version of indicator J TPO.

Inercia Bars indicator.

The indicator draws the dollar index on the chart. The indicator is intended to simplify the charts analysis.

Advisor Probe.

The EA works with 4 symbols.

EA that opens a trade when a candlestick closes out of the specified level on a break through. An update to the graphical treminal. But the help in code further development is necessary.

A simple EA. It plays in the opposite direction on the specified difference between Bid and MA. It is considerably risky but it has own advantage.

Trading Robot

Цветной анализатор спектра

This indicator is a spin off of the Doji Reader 2 found in the code base. I have made several changes such as it is now capable of being used in code for coding use, not just as a visual indicator. I also took out several un-needed code that was redunda

Opens orders using moving average crosses.

Simple scalping system for m1-m5 timeframe.

Calculates pip difference between Current price and SL & TP price. Places Text labels at SL & TP lines: Order Type, Ticket number, SL & TP price, Pip calculation and Pip label.

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

This indicator draws 3 Moving Averages by median price.

MT4 Expert Advisor based on the CCI indicator

The source code is only a guide for the development of your EA.

Custom Function To Get Comma Separated Things From String.

cycles though market watch symbols, using hotkeys Comma and Period for prev/next symbol in market watch list

Momentum deviation bands - MT4 version

Force index with Volume/Volatility bands

a procedure that calculate most stats in one call: R-Squared and Linear Regression

Mean Reversion strategy works best on daily time frame major forex pairs .

Fibonacci PRO ⭐️⭐️⭐️⭐️⭐️ You want to become a constantly profitable 5-star forex trader? ⭐️⭐️⭐️⭐️⭐️ FIBONACCI PRO is a professional expert for trading according to the Fibonacci Retracement method. 1. MANUAL_CONFIRMATION - manual confirmation of transactions; 2. FIBO_CLOSE_PRICE - FIBO calculation at closing prices; 3. RSI_FILTER - input filter by modified RSI; 4. ATR_FILTER - ATR input filter. 5. ZIG ZAG

1...919293949596979899100101102