Watch how to download trading robots for free
Find us on Twitter!
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 - 29

Submit your code

Double smoothed stochastic with some extra options

This version of RSI is "experimenting" with different ways how internally the RSI is calculated.

Rsi (7 types of RSI) with a lot of additions.

Fractal moving average with indication of the last value with a price label with the ability to change the averaging algorithm.

The Expert Advisor synchronizes the local computer time in the interval from 9:50 to 9:59 (before the beginning of the morning session) with the MetaTrader 5 FORTS server time.

The ZigZag indicator plotted using the NRTR algorithm.

The smoothed DeMark oscillator with the color indication of overbought/oversold level breakouts and of the histogram direction.

A simple trend indicator based on the smoothed Average Directional Movement Index drawn in the main chart window.

A script for placing a BuyStop order

The script allows to quickly remove indicators from charts.

A trading system based on the ColorFisher_m11 indicator signals.

A library for working with traditional and custom symbols

The indicator draws a channel based on the value of the breakout of channel levels.

The Difference indicator shows the difference between the current prices and prices as of N periods ago.

Logarithmic regression channel.

Kase DevStops. What all of this boils down to is that we need to take variance and skew into consideration when we are establishing a system for setting stops. Three steps that we can take in order to both better define and to minimize the threshold of uncertainty in setting stops are: 1. Consideration of the variance or the standard deviation of range. 2. Consideration of the skew, or more simply, the amount at which range can spike in the opposite direction of the trend. 3. Reformation of our data to be more consistent (this step is examined in detail in Chapter 81, while minimizing the degree of uncertainty as much as possible).

Printing GetLastError() and MqlTradeResult retcode as text description.

Trading panel based on class CDialog.

Average penetration histogram

Virtual trading environment

Elder Impulse System indicator

A simple indicator that calculates rounded volatility of a financial asset. Volatility is calculated in points based on the maximum and minimum prices

Indicator Murrey_Math_Lv with the levels shown as labels that can be changed in its input parameters

Long Short-Term Memory Neural Network - for time series analysis.

A class for easy access to the closed position properties.

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 allowing to set Fibo levels at two last extremums.

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").

1...222324252627282930313233343536...205