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

Submit your code

Gann high/low activator (oscillator)

The script is useful for inspecting the structure of ONNX models, providing insights into the input and output, their names, and their properties. It is particularly helpful for debugging and understanding the characteristics of ONNX models used in machine learning applications.

The Open Range Breakout (ORB) indicator is a powerful technical analysis tool that identifies and tracks price breakouts from the opening range of trading sessions. This indicator is based on the concept that the high and low prices established during the first minutes of a trading session often serve as significant support and resistance levels throughout the remainder of the day. The indicator automatically calculates the opening range based on user-defined time periods, plots multiple price targets, and provides visual and audio alerts for potential trading opportunities. It is designed to help traders identify high-probability breakout trades and retest scenarios.

The Standard Deviation (StdDev) measures the market volatility. This indicator charactrizes the scale of price changes relating to the Moving Average.

The Heiken Ashi indicator with smoothing.

The cIntBMP library provides the creation of graphic BMP images. We will consider the example of its use in creation of self-similar fractal sets using the Iterated Function System (IFS).

Perry Kaufman's adaptive moving average with indicative signal points.

Extrapolator is a result of a long-term research in the field of Timeseries Forecasting. This indicator forecasts future price behavior.

ZigZag indicator built using the values of the Parabolic SAR technical indicator with the added possibility to build Fibo levels on the last two indicator peaks and the channel generated with the use of three successive zigzag peaks with selection of these peaks.

This indicator calculates last average price for a symbol and determines the trend direction, so it can be a signal to commit a trade operation.

Modification of Bollinger Bands ® trend indicator.

The indicator displays the inclined trend line that sets the signal actuating level.

Corrected Average indicator by A.Uhl (also known as the "Optimal moving average").

Calculate Average Speed of price.

The purpose of the present code is to demonstrate how easy it is to create color scales, color gradients and heatmaps with the MQL5 language and functions.

The MultiChandelierStops_v1Trend_x10 indicator shows information on current trends using the ChandelierStops_v1 indicator position from ten different timeframes.

The i-CAi_Digit indicator with the timeframe selection option available in input parameters.

The Exp_ColorXvaMA_Digit Expert Advisor is based on the ColorXvaMA_Digit indicator color change.

The Exp_ColorJSatl_Digit Expert Advisor is based on the ColorJSatl_Digit indicator color change.

This indicator draws the daily, weekly and monthly Pivot with backtesting.

Indicator includes Spearman rank correlation and Pearson correlation.

You can choose if you wish to use a real volume or the ticks volume.

This Expert Advisor closes all positions if the total loss exceeds a predefined limit.

Gann swingchart and hybrid ZigZag implementation.

Short description.

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

ExpBuySellSide is a MetaTrader 5 Expert Advisor based on the ATRStops and StepUpDown indicators.

PDFma — average using probability density function for average calculation.

Elliot oscillator indicator.

The script deletes all pending orders on all symbols at a time.

Two Boa_ZigZag indicators with different periods, which appear as arrows on one chart.

The indicator draws daily candlesticks with extended parameters. It only works on the D1 chart timeframe.

Usually most brokers do not provide M1 data over 3 months in MetaTrader 4, but they provide M1 data over 3 years in MT5. So we can use this tool to obtain the M1 data in MetaTrader 5 tester and save the data into .hst file for MetaTrader 4 backtesting.

This version of Synthetic RSI is using Ehlers smoothed RSI in calculation instead of using "regular" RSI and that makes the resulting synthetic RSI even smoother.

The US dollar index against a basket of basic currencies.

CC

John Ehlers Cyclic Component Indicator.

A trading system based on the KWAN_RDP indicator signals.

Exponential moving average with a variable smoothing factor.

Moving averages on charts M5, M15, H1 are analyzed. The presence of the iMA (Moving Average, MA) "fan" is checked simultaneously on all three charts (M5, M15, and H1).

Trend Envelopes indicator made as histogram.

1...151617181920212223242526272829...195