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 - 28

Submit your code

Sell relative strength index (SRSi)

Trending Indicator MACD with coloured Histogram to detect trend and retracements in that trend.

The volatility indicator by Chaikin accounts for the spread changes between the maximal and minimal prices. It defines the volatility value based on the range width between the maximum and minimum.

The indicator Alternative Ichimoku was developed as an alternative to the famous indicator Ichimoku Kinko Hyo. For a more precise forecast, it is better to use on one timeframe both indicators - Ichimoku Kinko Hyo and Alternative Ichimoku.

If you like plotting channels, I recommend plotting them yourself. This is particularly true for the slope channels. However, if you use channels merely as filters or simply like to set alerts on these levels, then the indicator will be useful.

Classical kind of channels.

This indicator belongs to the oscillator group.

The trend strength(phase) indicator.

Indicator DayChannel.

A simple indicator of dynamic support and resistance levels.

Indicator LSMA Line.

Indicator Laguerre RSI.

Indicator WeeklyPivot. The indicator of points of a turn.

Indicator Dinapoli.

Indicator MRO2.

Indicator DEMA RLH.

The Past regression deviated indicator.

Indicator SuperSR 6.

Volatility is a standard deviation.

This indicator is alternative of moving averages, but with lower lag and adjustable sensitivity coefficient.

Indicator Avg Daily Range

Functions for processing the orders of Spot currency pairs, Spot Gold and Spot Silver with error handling.

Indicator EMA Prediction.

Modify - script choosing first in list buy or sell order, printing selected order data, modifying order and printing order data after modification.

Indicator KDJ deactivates short-term fluctuations. It carries on a parameter to adjust and increase two new RSV index lines: close price of short-term volatility KDC: K-D difference, to determine the change of price trends and to open positions.

A set of function tools.

SpudFibo indicator.

Solar wind clean X indicator.

This is an EA that increases the lot size after each profitable trade if it follows some losing trades.

Labtrend1_v2 indicator.

Trading strategy named Fx-chaos is the result of integration of Bill Williams' Chaos Theory, A. Elders' trading strategy (triple choice), and Ryan Jones' Fixed Ratio money management method.

The script should solve the "fading charts" problem - the situation when the charts stop being updated while the connection to the server remains ok

The Rads MACD indicator.

A two CCI with the coloured trend bars

T3 Bands Indicator.

An analogue of the intersection of two stochastics.

The automatic calculation of the lot size from the specified percent of free assests.

Functions for processing the orders of Spot currency pairs, Spot Gold and Spot Silver with error handling. OrderProcess() strengthened. New functions Lots, OrderCloseByRetracement, OrderModifyTS and OrderSendI added. Revision 2 has been used to run expert

Another Avocational Indicator by Hidden Divergence of OsMA.

This indicator uses five different indicators from 6 different timeframes to give a signal.

1...212223242526272829303132333435...104