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 and MQL5 Source Code Library

You don't know where to start learning the MQL5 or MQL4 programming language? Various programs for your MetaTrader terminal are available here. Download and study published code examples, develop your own indicators and Expert Advisors. Publish your applications in the largest library of MQL5 and MQL4 codes, and they will be available in every MetaTrader terminal and MetaEditor.

Your code examples in MQL4 and MQL5 will be distributed worldwide, and thousands of traders will know about you!

T3 stripped

Laguerre RSi with Laguerre filter - extended

JMA Z-score

Headley's acceleration bands

ATR adaptive JMA


CCI T3 based with floating levels

Corrected RSX

Expert advisor uses the difference between bar closes and a close moving average to detect unusual activity, it will then buy arbitrary volatility spikes. This is a prototype that I will be expanding on in the future, at the moment the user can input an arbitrary level to buy at. In future developments I plan on building a neural network in the EA that detects and compares volatility levels.

RSX of adaptive lookback average

Jurik smooth on chart generic trend

Short description.

Great indicator for Time series analysis as shows stationary properties. Indicator calculates the difference between a 14 period Double exponential moving average and price closes. Great to help identify unusual price activity.

RSX range expansion index - with confidence bands

RSX range expansion index - with floating levels

RSX range expansion index

Synthetic RSX

Cuttlers RSI adaptive EMA ribbon

Cuttlers RSI adaptive EMA

DWMA with JMA oscillator

DWMA with JMA ribbon

Double weighted moving average

Mogalef bands

Schaff trend CCI

Pearson coefficient

Short description.

Step chart of stochastic of averages

Step chart of stochastic

Step chart of CCI of averages

Step chart of CCI

Step chart of RSI

Step chart of averages

Expert adviser scans past 500 closing bars and looks for common closing regions as entries.

Kaufman ama - with floating levels

Range Action Verification Index - extended

RSI adaptive EMA - floating levels

RSI adaptive EMA ribbon

MACD of RSI adaptive EMA

RSI adaptive EMA