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

Submit your code

Accumulated volume pressure

This simple indicator is just a statistical label showing Last and Current Candle Amplitude (MinMax), Last and Current Day Amplitude, Current Tick Amplitude and Time Remaining for next Candle. It also shows Server Time (Market Watch) and Local PC Time so you can focus more on the graph and adapt to market hours.

Trend indicator. Added alerts (Sound, Alert, email, push)

Expert Advisor Exp_SpearmanRankCorrelation_Histogram with the added option of trading within the weekly range only, the borders of which are specified in the EA's input settings

Classic and one of the most popular trading strategies based on 2 moving averages crossover. This expert advisor is designed with visual strategy builder - Mission Automate. Code is generated automatically. More info: https://www.mql5.com/en/articles/4951

A colored cloud formed by two RSI oscillators with different timeframes.

WSO (Widner Support Oscillator) and WRO (Widner Resistance Oscillator).

The EA is based on Moving Average.mq5 from standard delivery. Working with OnTradeTransaction to get the price of the last closed position.

Headley's acceleration bands

Murrey Lines with calculation at all bars and the possibility to choose a timeframe for lines calculation.

MultiRVISignal displays information on current trends using values of the four RVI indicators obtained from different time frames.

The Fast Stochastic indicator is one of modifications of a popular stochastic oscillator.

A standard linear regression channel with support and resistance levels

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

Ehlers Distance Coefficient Filter coded exactly a Ehlers described it in his book "Rocket science for traders".

In this indicator T3 is sigmoidal (Softmax) normalized - made as oscillator that ranges in 0 to 1 range, and if you use hyperbolic normalization it will range from -1 to +1 range.

The currency strength meter is a trading tool that is used to identify trending and consolidating markets based on the percentage rate of change in price from one period to the next.

RSI Bot, send alert buy when RSI<=20, send alert sell when RSI>=80

The MA indicator with the ability of fine configuration

An Expert Advisor based on the "Fractals at Close prices" indicator.

Indicator Wiseman with the timeframe selection option in its input parameters.

The XFisher_org_v1_Vol_Supr_Zer indicator with the possibility to change the indicator timeframe using input parameters

Trend detection index

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

The OzFx system. It uses Accelerator Oscillator and Stochastic Oscillator.

Geometric Mean Moving Average is a simple moving average calculated by the geometric mean method.

Indicator AbsolutelyNoLagLwma with the timeframe selection option available in input parameters, alerting when the indicator changes its color.

Trading panel that allows user to define levels of trade by simply dragging lines.

Volume/Volatility Indicator

Notifies you at your specified Chart Time Indicator can be used to set alarm at a specified time on the chart.

Commodity Channel Index using exponential moving averages.

This advisor demonstrates an example of global variables usage. The task of the advisor: store the calculation result in a global variable and get the global variable value on new initialization.

A Sample of Averaging Up/Down Martingale EA.

XTRIX indicator implemented as a sequence of candlesticks. Candlesticks appear as a result of relevant price timeseries processed by XTRIX indicator algorithm.

Indicator Average Average True Range

Advisor for trading Gbp/Chf. Algorithm for bar opening prices. Timeframe H1.

This is a re-write of the old Solar Winds indicator for MQ5. There has recently been some 'excitement' about using this with other indicators for entry signals, and after a request to develop an indicator using it, I found that it was a classic re-painter - so I am contributing this code with an easy switch to allow seeing the indicator in re-paint versus non-repaint mode.

MoveStoploss moves the stoploss as the trade move in your direction at a specific distance. Version 1.1 has automatic trail error fixed.

The indicator of price movement relative to one selected time point

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

1...172173174175176177178179180181182183184185186...188