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

Submit your code

This indicator will shows the time remaining until the end of the candle. You can choose colour and the font size.

The ADX (Average Directional Index) Smoothed indicator enhances the standard ADX by applying dual exponential smoothing filters to reduce noise and provide clearer trend signals. It plots three lines: smoothed +DI (blue), -DI (red), and the main ADX line (green). This refined version helps traders identify trend strength and potential direction changes with reduced false signals. The indicator excels at confirming established trends and warning of weakening momentum before actual price reversals occur, making it valuable for both trend following strategies and determining optimal entry/exit points.

A quantitative physics engine that applies differential calculus to price action, extracting true Market Velocity (1st Derivative) and Market Acceleration (2nd Derivative) to predict trend exhaustion before it happens.

The Bears Power Indicator measures the balance of the bears strength.

The Zigzag indicator is a series of sections connecting significant tops and bottoms at the price plot.

This indicator allows to see the activity of the market.

The Rabbit indicator plots the true support/resistance levels for any currency pair.

This indicator uses an autoregresive model to extrapolate prices

All we want is to think about algorithms and methods, not about syntax and values how to place orders. Here you have simple functions to manage positions in MQL5.

The script exports historical quotes data from MetaTrader 5 for the import to MetaTrader 4. This solution will allow you to get the full history for MetaTrader 4.

Library for working with files using WinAPI without location limitations.

The indicator is a combination of the FATL digital filter and analogue JMA adaptive smoothing.

Murrey Math Lines for the current bar are an effective tool for the market movements forecasts.

ExCandles-v2 indicator shows candlesticks combinations on a chart using the arrows.

CADXWOnArray class is designed for calculation of ADXW (Average Directional Movement Index Wilder, ADX Wilder) values on indicator buffers. The example of use of the class is provided.

CMACDOnArray class is designed for calculation of MACD (Moving Average Convergence/Divergence) values on indicator buffers. The example of use of the class is provided.

CDeMarkerOnArray class is designed for calculation of DeMarker values on indicator buffers.

The indicator shows the use of the free Library for Custom Chart library for the automatic connection of the indicators to iCustomChart custom charts created on the basis of custom history files.

DCC

The indicator plots the chart of the specified symbol in a separate window.

Class for working with matrices.

Dedicated functions to read and write object properties.

Export of all necessary instruments and time frames in one click with load and checking history

This CExpert subclass allows to open only long/short orders, showing its usage with an MACD example.

Indicator of daily price movement range. Shows the history of daily price fluctuations.

Indicator shows the size of one of the three candlestick elements: upper shadows, lower shadows or bodies. It displays the current candlestick value and the daily average value for a certain element.

Price(%)Range is the indicator for the MetaTrader 5, which calculates the price movement based on percentage High (Highest) and Low (Lowest) Price on 100 bars.

Semaphore signal indicator detecting changes in the direction of smoothed Detrended_Price_Oscillator and displaying them as signals.

Trading system based on ColorXTRIX_Histogram indicator signals.

The indicator is an example of smoothing a time series of the ADX indicator by filtering harmonics of higher order.

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

The Exp_Waddah_Attar_Trend Expert Advisor is based on the Waddah_Attar_Trend indicator color change.

ZigZag based on MFI oscillator.

Indicator in the form of a panel. Displays the resulting direction of the position: resulting lot size and up or down arrow.

Fractal Larry Williams' Percent Range.

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

Normalized MACD.

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

The indicator draws i-OneThird indicator candlesticks of a higher timeframe as color filled rectangles using DRAW_FILLING buffers.

BB stops - stochastic indicator.

The TriX indicator in a candlestick form with the Keltner channel calculated relative to TriX averaging.

1...242526272829303132333435363738...200