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

MQL4 Source Code Library for MetaTrader 4 - 28

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

Elastic Volume Weighted Moving Average (EVWMA), a natural replacement for the standard moving average.

This is a very simplistic method, one of the best in the signal processing and target tracking.

The indicator is very simple, and it requires certain mental and psychological efforts.

The modified version of the DayImplus 1.1 indicator.

A clearly visible fractal is required to determine a signal. The second point is the presence of an auxiliary (reference) peak. A signal line is drawn from the fractal through this auxiliary peak...

This is an impulse or signal indicator. It is very sensitive and quickly responds to the price movements.

Based on the intersection of the averages. The author of the system states that about 90% of the trades are positive. And considering its exit strategy, it is possible to collect a rather big profit during a trend.

The indicator generates a sound signal and a Sell or Bye window appears.

Directional system (ADX). The directional system has been created by George Wilder in the middle of the 70s as an addition to the PARABOLIC SAR system, and then further developed by a number of analysts.

The properties of this indicator are quite similar to the classic oscillators and exactly the same methods of technical analysis can be applied to it as to the RSI.

The BW2 - WiseMan 1 indicator. Based on the book by Bill Williams - Trading Chaos Second Edition.

TMA

Here, the focus is on the middle part of the price series. In fact, they are double-smoothed simple moving averages. The simple Moving Averages' length depends on evenness or oddness of the chosen number of periods.

This indicator is very simple to use: red arrow - sell signal, blue arrow - buy signal. Exceeds its analogues, such as Hi-Lo, Trend and others, by several times. Works on any timeframe and with any currency pair.

Displays 3 vertical lines each for a time zone.

The indicator implements the Gann principle in the form of a ZigZag.

An interesting indicator that plots the trading channel by fractals and adds a Fibonacci fan on top.

The fourth indicator of the series of indicators without averaging.

The trade sessions indicator.

The Paramon work time indicator.

The morning range indicator.

Entry and exit signals by the "Monday" system.

This example has been built using SAR (Stop And Reverse) indicator with Advanced Money Management function.

Handy crosshair for MetaTrader 4.

QEMA is the Quadruple Exponential Moving Average. With this small change you can modify the percentage of the quadruple correction respect to the normal EMA.

RenkoLiveChart_v600 version 6 indicator converted from RenkoLiveChart_v600 version 6 Expert Advisor.

When two Moving Averages cross the indicator will alert once per cross between crosses and mark the cross point with down or up arrow.

This EA is based on Forex Fraus (for M1) which was made by Dmitriy Zaytsev. I added limitation of positions, multi-currency trading.

The indicator shows the current possibilities for getting buy, sell, or exit positions. No need to attach 6 indicators at a time. Now available with all notifications.

Buy and Sell Arrows based on Heiken Ashi candles.

Intraday Fibonacci levels.

Synchronized version numbering using the iGentor CCIM v.0.2.

Removed LSMA and EMA. Made the sixth signal bar and trend coloring.

Prediction of the daily price ranges.

The indicator displays the selected day of the week.

The indicator calculates the product of GBPUSD x USDCHF. Painted red, GBPCHF - black (repeats the price on the upper chart)

The indicator is designed for displaying the candles of any higher timeframe on the H1 chart. It is also possible to display the candles of the non-standard timeframes: H5, H7 or H11. The upward and downward bars are filled with different colors.

Quote: One of Jurik's smoothing versions.

The indicator finds Doji candlesticks and highlights them on the chart.

The indicator plots levels based on the previous days.

The indicator is similar to ASCTrend, in my opinion it is even better. Works by the system: High - Low.

1...212223242526272829303132333435...101