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

Submit your code

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

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

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

Simple trend indicator.

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

The indicator displays a symbol price momentum.

ZeroLagMACD is an MACD version, which has a much smaller lag compared to the classic MACD.

The Overbought/Oversold Index

A smoothed RSI.

Fractal Dimension from Mark Jurik is much smoother than the others but the general rule is the same: it is not a directional indicator, but is attempting to determine if there is a trend in the current market price changes or not, and it should be used bearing that in mind.

ADXm is a variation of a well known ADX indicator.

Zero lag T3 uses the "zero lagging" method to make it even faster and to keep the smoothness.

MI

Indicator MI (Mass Index).

A trading system based on the signals of indicator AverageChangeCandle.

A semaphore signal indicator using the algorithm of indicator 2XMA_Ichimoku_Oscillator.

Indicator BrainTrend2Stop with the timeframe selection option available in input parameters.

A slightly modified EA from the standard delivery: MQL5\Experts\Examples\Moving Average\Moving Average

Indicator Sine Wave with the timeframe selection option available in input parameters, in form of a colored cloud.

Indicator EURX displays index EUR.

Indicator Rj_SlidingRangeRj_Digit with the timeframe selection option available in the input parameters

MA Lag Reduce indicator is an SMA with the ability to set the delay elimination factor.

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

A modification of the "Bears Power" indicator: now the line color and line width can be set in input parameters.

A trading system based on the UltraMFI 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.

Impulse System for the price bars

DeMarker_Histogram_Vol indicator with additional averaging of the resulting histogram

Stochastic of adaptive lookback average - with normalized zones

Fast ema Hull average

XBullsBearsEyes_Vol indicator shows direction of the histogram bars movement using colored icons on these bars

Trend Score indicator

TRIX using Wilder's double smoothed EMA - with an addition of floating levels

Calculates a Exponential Moving Average based on RSI Data, instead of the regular Pricing data. Simple and and to the point.

This script downloads bars and ticks from EURUSD as required for the correct execution of Kiss on Billions on EURUSD from Saeid Irani.

define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically

a much more efficient version of selection sort

You learn how to subtract time, insert it manually in a string format, tick counter and see output on comment function.

This code initializes the necessary objects and input parameters, and defines a CheckTrades() function that calculates the risk and profit amounts based on the account balance and user input. It then iterates through open orders and checks if the current profit or loss meets the user-defined thresholds, and closes the position if necessary

Murrey Math Line X MetaTrader indicator — a pivot line indicator that will definitely help every trader who knows how to trade with support, resistance, and pivot lines. It displays 8 primary lines (with 5 more additional ones) on the main chart, helping you to find the best points to sell, buy, and exit your positions. The indicator can issue alerts when a candle closes after breaking any of the pivot lines. You can download this indicator for MT4 and MT5 platform.

Converted Ronz AutoSLTP MT4 version into MT5 version. Original Link: https://www.mql5.com/en/code/11649 Original Descriptions: EA for Automatic Stop Loss, Take Profit, Profit Lock, and Trailing Stop (With Special Methods). SL and TP could be hidden.

Trading system using the F2a_AO semaphore, signal indicator.

1...166167168169170171172173174175176177178179180...191