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

Submit your code

The Expert Advisor to perform global Take Profit for all open positions.

The indicator to define the global trend.

The indicator displays the time in different time zones on a chart

A normalized oscillator of two curves, similar to the Aroon indicator.

Two pairs of support and resistance levels based on the candlesticks of the timeframe specified in the input parameters.

This trading system uses the BlauErgodicMDI oscillator.

A trend detecting indicator drawn in the form of a colored cloud.

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

An indicator of trading sessions displaying bodies and shadows of resulting session candlesticks.

The indicator is drawn as a colored cloud between a price and its double averaging.

A channel build on the values of two moving averages of High and Low, drawn as a cloud.

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

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

The indicator draws candlesticks of a larger timeframe as color filled rectangles in accordance with the direction of the BlauSMStochastic histogram.

Pivot Points indicator.

A trend indicator of two lines, the color of which is determined by the price position relative to SMA and LSMA.

The Exp_wlxBWWiseMan-2 Expert Advisor is designed using the semaphore signal indicator wlxBWWiseMan-2.

The Exp_Karpenko EA is based on the signals generated by Karpenko oscillator.

The Exp_NRatioSign Expert Advisor is based on signals generated by the NRatioSign semaphore arrow signal indicator.

Trading system using the ADXCrossing indicator.

The ColorZerolagTriXOSMA indicator implemented as a sequence of candlesticks.

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

The indicator plots a fan of Moving Averages and calculates Acceleration/Deceleration for each of them. This gives the ability to see the attenuation of a trend and the moment of its change.

A variant of the StochasticTrend_x10 indicator with the option to individually customize the input parameters for each Stochastic oscillator which are used to display the current trends.

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

METRO_XRSX_HTF_Signal shows a trend direction or a signal for performing a deal generated by METRO_XRSX_Sign indicator at the chosen bar as a graphic object with colored trend indication or deal direction and sends alerts or audio signals in case of a market entry moment.

Semaphore signal indicator using asymmetric Stochastic oscillator in the form of a colored cloud.

The SAR Trading System illustrates the operation of the Stop and Reversal (SAR), developed by Welles Wilder. The Expert Advisor check for presence of an open position and starts moving the stop loss with parabolic acceleration.

A grid of round price levels.

iTrend indicator for MetaTrader 5

Increasing the lot after a losing trade. Entry signals are based on the DeMarker indicator.

The Expert Advisor is based on the following indicators: RSI, WPR, Stochastic, Moving Average, deMarker

The Expert Advisor opens a deal in the breakout direction. Lot calculation depending on risk percent of margin.

The smoothed StrangeIndicator oscillator with the color indication of overbought/oversold level breakouts and of the histogram direction.

The script removes from the current chart all objects of the user selected type

The Expert Advisor tracks positions of all symbols with all magic numbers. If a position has been open for "Waiting for seconds" and its profit has reached "Take Profit" points, the EA closes the position. If the profit has not reached "Take Profit" points, the EA moves the take profit level.

An Expert Advisor based on indicators "MA Cross 3MACross Alert WarnSig" (https://www.mql5.com/en/code/19519) and "Price Channel" (https://www.mql5.com/en/code/44)

Trading signals are generated based on a comparison of two trend indicators: iMA (Moving Average, MA) and iSAR (Parabolic SAR). The EA works on the zero bar, only one position can be open. Trailing stop is used.

The Stochastic Momentum Index (SMI) was developed by William Blau and was introduced in the January 1993 issue of Technical Analysis of Stocks & Commodities magazine. It incorporates an interesting twist on the popular Stochastic Oscillator. While the Stochastic Oscillator provides you with a value showing the distance the current close is relative to the recent x-period high/low range, the SMI shows you where the close is relative to the midpoint of the recent x-period high/low range.

In addition to the usual parameters that are controlling the way Kaufman AMA is calculated, this version has adjustable smoothing and filter that can eliminate insignificant AMA changes.

1...96979899100101102103104105106107108109110...183