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

Submit your code

A trend indicator: Smoothed High/Low Linear regression band.

Rsi(var) indicator with zero lag Moving Average.

BB MACD is a MACD (Moving Average Convergence Divergence) indicator variation with an addition of Bollinger Bands, which helps in detecting trend change points and measuring current trend's strength.

Stochastic MACD.

Direction Filter Indicator.

A library to provide simple storage mechanism for expert advisors and indicators.

Murrey levels are an efficient tool to forecast the changes in price movement. The main idea of this system is that all markets move in the same manner.

Semaphore signal indicator SilverTrend with the NRTR line of possible stop order locations.

HVR

Indicator Historical Volatility Ratio

A moving average with a changeable calculation period.

Indicator Fisher Transform of Normalized Prices

CVI

Oscillator CVI (Chartmill Value Indicator).

PVO

Indicator PVO (Percentage Volume Oscillator) represents a momentum for the volume. It calculates the difference in the percents of large MA between two moving averages based on volumes.

A candlestick-based chart based on histograms Bear_Bulls_Power calculated on the Open, High, Low, and Close timeseries of the price chart.

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 Wajdyss_Ichimoku_Candle indicator with the ability to change the timeframe using the input parameters.

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

This version of QQE is using Parabolic Weighted Velocity to determine trend.

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.

CCI OBOS With Confirmation indicator

ADX Fractal Signals indicator

Fractal Adaptive Moving Average with floating levels

Indicator XXDPO_Candle with the timeframe selection option in its input parameters

RSI of average using double smoothed Wilder's EMA

Buffer-free indicator implemented on iCanvas

Ocean theory - natural market slope

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.

A script which when run displays the maximum lot size permitted on the asset.

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

The updated version of TimeClosingPeriod indicator, it plots the time, remained to the current bar complete. At the last second it plays the sound file, specified in the input parameters.

Example of a tick chart.

The Moving Average indicator, based on the Quasi-Digital Filter. The MACD indicator as example of its use is presented.

Dual Trix Upgrade 1.

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.

1...353637383940414243444546474849...188