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

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

Submit your code

This indicator is based on CCI (Commodity Channel Index) and the analysis of a trend direction of its multiple signal lines.

The classes (conveted from C++ to MQL5) for working with memory mapped files.

Trading signals module for MQL5 Wizard. The moment, when a candlestick formed by Heiken_Ashi_Smoothed changes its color, indicates the time for market entry.

The Expert Advisor based on the following indicators: Laguerre, CCI and MA.

The Shapiro-Wilk normality test.

A multi-currency trading system, based on Bollinger Bands and trend catching technique. Capable of trading up to 6 currencies simultaneously. System has build in optimization parameter sharing.

The MACD histogram drawn on the difference of two digital filters.

The internal bar indicator showing locations of temporary price consolidation.

The GRFLeadingEdgeMov indicator with the timeframe selection option available in the input parameters.

DonchianChannelsCloud indicator with the timeframe selection option available in input parameters.

Semaphore arrow signal indicator based on the classic Stochastic oscillator leaving the overbought and oversold areas, which features alerts, sending emails and push-notifications to mobile devices.

Trading system based on PChannel_System indicator signals.

The dTrend indicator with the timeframe selection option available in input parameters.

The RVIDiff indicator with the timeframe selection option available in input parameters.

This Expert Advisor closes all positions if the total profit exceeds a predefined limit.

The Linear_Price_Bar indicator with the timeframe selection option available in the input parameters.

The smoothed Relative Strength Index oscillator with the color indication of overbought/oversold level breakouts and of the histogram direction

A script for placing two Buy and Sell Limit orders at an equal distance.

The indicator implements a breakthrough system using the PercentageCrossoverChannel channel.

The oscillator is drawn as a colored histogram based on the difference between the Close price and the iSAR indicator, expressed in points.

Adaptive Moving Average (AMA) is a technical indicator.

This indicator helps to move charts one by one to the the front, just like slide show, and make your hands free.

A real-time indicator showing the lag of quotes inside the terminal.

A trading system based on the Vortex Oscillator signals.

The Schaff Trend Cycle (STC) indicator detects up and down trends long before the MACD. It does this by using the same Exponential Moving Averages (EMAs), but adds a cycle component to factor currency cycle trends. Since currency cycle trends move based on a certain amount of days, this is factored into the equation of the STC indicator to give more accuracy and reliability than the MACD.

The Expert Advisor places pending Buy Stop and Sell Stop orders. If orders execute, the trailing stop is run for the positions.

Normalized ATR

Corrected RSX

WSI

Indicator WSI

Linear regression

It calculates the Typical prices for bars #1, #2, and #3

Indicator MACD OsmaX

Indicator calculate the average price

Random walk index (optimized version)

Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation

Candlestick Wick Imbalance

This code block detects a New Bar or a New Candle when it has received.

Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.

Histograma MACD colorido com a linha de sinal que muda de cor de acordo com a direção da tendência.

Range Bound Channel Index (RBCI) digital filter removes low frequency trend, generated by low frequency spectrum components, and high frequency noise, generated by high frequency spectrum components.

1...484950515253545556575859606162...200