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!

Trend envelopes - parabolic weighted MA

DEMA trend

Choppy market index

Short description.

Smooth ATR

Keltner channel - smooth ATR

Volty channel stop - smooth ATR

Smooth ATR trend envelopes of averages

Wilders DMI - averages

Logarithmic Garman Klass volatility

Yang Zhang extension of Garman Klass Volatility

Volty channel stops

Volty channel stops on JMA

QQE of polychromatic momentum

Tim Morris MA

Normalized ATR

ATR adaptive T3

ATR adaptive EMA

Deviation scaled MA

Deviation scaled MA crosses

Deviation scaled MA MACD

Average penetration

Average of median price

ATR adaptive double smoothed EMA

Average penetration histogram

Short description.

Trend direction and force

Trend direction and force - smoothed

Trend direction and force - JMA smoothed

Extended version of Pivot Oscillator.

Very well known iTrend indicator but that uses ADXVMA for calculation.

Very well known iTrend indicator but that uses JMA (Jurik Moving Average) for calculation.

Trend Envelopes indicator that uses ATR for the price change calculation and is adding prices smoothing prior to be used in calculations.

Trend Envelopes indicator that uses Standard Deviation for the price change calculation and is adding prices smoothing prior to be used in calculations.

This version of Trend Envelopes RSI indicator differs in one significant point: instead of using fixed value (5) for envelopes calculation, standard deviation (adjusted by multiplier) of the calculated RSI is used for envelopes calculation.

Trend Envelopes indicator that uses Standard Deviation for the price change calculation.

Trend Envelopes indicator that uses ATR for the price change calculation.

This version of QQE is using Parabolic Weighted Velocity to determine trend.

This version of QQE is using Velocity indicator to determine trend.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133