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

Submit your code

Stochastic - with normalized zones

JFatlCandle_Chl indicator with the timeframe selection option available in input parameters

Breakdown oscillator

Jurik smooth on chart generic trend

An EA based on indicator iATR (Average True Range, ATR)

Hull levels

Stochastic RVI - levels

Indicator JSmooth MA

Indicator MultiStalin_x10 displays information on the current trends, using the values of indicator Stalin from ten different timeframes

EMA variation ribbon

Hull ribbon

Recursive Median Oscillator

Sharp modified MA

Bollinger bands - squeeze

The script exports summary of closed trades grouped by each currency pair to .csv file

Classic trading strategy based on RSI levels. Buys when RSI is oversold and sells when RSI is overbought. This expert advisor is designed with visual strategy builder - Mission Automate. Code is generated automatically. More info: https://www.mql5.com/en/articles/4951

The EA uses large volume orders to partially close other orders, with this approach, the breakeven and profit price is much closer to the current price than if you use all orders in the terminal or their full volumes.

Sets of latin, russian characters, digits, punctuation, etc.

Discontinued signal line MACD

It is known that the market is mainly driven by two emotions: fear and greed. This should be seen as an attempt to implement these emotions in the form of a mathematical model.

CLS (ClearScreen) delets all object drawn on the chart with key press "C"

A tool which refreshes the chart automatically and will make active indicators update if something stopped plotting on the chart.

Spread MetaTrader indicator — displays current spread in the main window of the chart. You can modify the font parameters, indicator's position and the normalization of the spread value. The spread is redrawn after each tick, ensuring the most current and active spread value. This can be useful for brokers with variable spreads or with spreads that are widened often. You can also enable a spread label to be shown near the current Bid line. The indicator is available for both MT4 and MT5.

Smoothed ATR that uses color to show whether the trend strengthens or weakens.

The Exp_ColorBBCandles Expert Advisor based on the ColorBBCandles indicator.

The indicator displays the dominant force of market movement (bulls-bears) to the volume

Signals of entries and exits on the system "Friday effect"

The channel ZigZag

The indicator draws two trend lines for the closest price extremes

Advanced ADX indicator.

The MDAC indicator with bar coloring according to Elder.

X2MA_HTF_Signal_BG shows information about trend direction (based on the X2MA indicator data) as a graphic object with a colored indication of trend or deal direction and gives alerts or audio signals and sends push notifications to a smartphone.

A semaphore arrow indicator that shows trend change time based on the ADX indicator.

A non-normalized trend oscillator.

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

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

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

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

Range Expansion Index (REI) is a relative oscillator with the timeframe selection option available in the input parameters.

The WPRTrend_x10 indicator shows the WPR oscillator position from ten different timeframes.

1...126127128129130131132133134135136137138139140...193