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

Submit your code

Three independent trading systems using AbsolutelyNoLagLwma_Digit indicators within a single EA with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system

A trading system using the Ang_Zad_C trend-following indicator with the possibility to set a strict trading time interval and change the volume of a forthcoming trade depending on the results of the previous trades.

The trading system based on Rj_SlidingRangeRj_Digit_System indicator signals with the possibility to set a fixed position holding time.

The trading system based on the Wajdyss_Ichimoku_Candle indicator signals with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system.

WMA

The Wilder's Smoothing Average (WMA) indicator.

The Delta Oscillator indicator displays the difference in the Delta indicator lines as a histogram.

TRIX indicator using a logarithm of a price and T3 instead of Exponential Moving Average for smoothing.

The trading system based on i-AnyRangeCldTail_System indicator signals with the possibility to set a fixed position holding time

RSI_Histogram_Vol indicator with additional averaging of the resulting histogram

Volty channel stop - smooth ATR

Trading strategy based on iAMA (Adaptive Moving Average, AMA) and iRSI (Relative Strength Index, RSI) indicators. Martingale is applied.

ADX Fractal Signals indicator

Super trend - simple

Fractal Adaptive Moving Average with floating levels

RSI of average using double smoothed Wilder's EMA

Buffer-free indicator implemented on iCanvas

Pivots based on Bar Prediction.

Multi buylimit and buystop orders are script files that enable traders to place multiple orders with ease. With just one command, traders can place multiple buylimit or buystop orders using either a target price or pips. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker. This setup includes stop-loss and take-profit levels, which can be adjusted based on the trader's preferences. Notably, these orders come with a level of flexibility that enables traders to fine-tune their trading strategies. For instance, a trader can opt to set the stop-loss level to zero if they do not use stop-loss.

This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.

The Custom Moving Average is example of the Custom User Indicator - it calculates and shows the Moving Average.

Example of a tick chart.

Dual Trix Upgrade 1.

The Dual Trix indicator with dual magnified Values in the Chart and in the Indicator window.

The MCM Control Panel provides the solution for multicurrency trading in MetaTrader 5.

Trade signals based on price crossover with moving average indicator confirmed by ADX is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

Reference Slow Trend Line (RSTL).

CoeffofLine indicator shows the most likely future price direction (2-3 bars).

The indicator shows the channel based on fractals.

The color histogram based on the Momentum and Perry Kaufman's Adaptive Moving Average indicators.

The basis of the RBVI Forex indicator is an attribute of the night market to sharply decrease the volatility due to absence of active trading on exchanges. The indicator considers the price flow and the volatility (changeability) of the market what helps to successfully behave in a flat market. It is recommended to use RBVI in Expert Advisors that run in night time.

This indicator is based on Momentum and its multiple signal lines analysis.

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.

Special aspects: "holidays problem" is solved (problems arising due to absence of ticks).

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

Trading system based on PChannel_System indicator signals.

The dTrend 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 Expert Advisor plays sound alerts when candlestick size exceeds a certain value.

1...293031323334353637383940414243...183