Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Enable two-factor authentication ContinueIndicator PCaudateXPeriodCandleRange with the timeframe selection option available in its input parameters.
Indicator CRF (Cumulative Rotation Factor) displays the states of the market: Uptrends/downtrends/consolidation.
Multi LSMA Slopes indicator checks slopes of 5 (different period) Least Squares Moving Averages (LSMA or linear regression value) and adds them up to show overall trend.
The SilverTrend indicator with the ability to change the indicator timeframe using the input parameters.
This is a working singleton code example. The sole purpose of this post is to provide a working code sample of a singleton object. A singleton object is created when there 'can be only one' of the object. This is accomplished by making an object's constructor private, and ensuring assignment and copy operations are also private. I was working on an EA and identified that an object should never have more than one copy. I don't expect the EA to ever get large enough for it to actually matter that a singleton is used, but I like the clarity in the code for the object's type. The code follows closely the tutorial at http://www.yolinux.com/TUTORIALS/C++Singleton.html.
An institutional-grade order flow and footprint chart indicator ported from Pine Script to MQL5. It dynamically deconstructs major timeframe bars using lower timeframe (LTF) historical tick/real volume to compute buy/sell volume delta at each price level. The indicator features automatic timeframe selection, Point of Control (POC) highlighting, Stacked Imbalances, extreme Absorption detection, Unfinished Business (UB) tracking with live mitigation, and real-time alert triggers.
Stop trading retail noise. This is an institutional-grade, asynchronous multi-asset scanner. It combines True Fractal CHOCH, Z-Score volumetric anomalies, and Fair Value Gap (FVG) validation to detect high-probability Order Blocks without freezing your terminal.
The Demarker Indicator (DeM) is based on the comparison of the period maximum with the previous period maximum. When the indicator falls below 30, the bullish price reversal should be expected. When the indicator rises above 70, the bearish price reversal should be expected.
This is the Heiken Ashi indicator, based on the averaged Open, High, Low and Close prices, averaged using the Adaptive Moving Average.
The Expert Advisor is profitable only if the "Open prices" only or "1 minute OHLC" modes used in Strategy Tester.
Trade signals based on "3 Black Crows/3 White Soldiers" candlestick pattern, confirmed by Commodity Channel Index (CCI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.
Trade signals based on "Hammer/Hanging Man" candlestick pattern, confirmed by Stochastic indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.
The DRAW_COLOR_LINE drawing style is used to plot lines with different colors, the colors are specified in the color buffer.
The indicator generates buy and sell signals using colored dots on a chart and displays messages.
Four-colored histogram of OsMA (Moving Average of Oscillator) allowing to implement different smoothing algorithms.
The simple script for deleting all graphical objects from a financial asset chart. It can be useful, in case the chart is overcrowded by objects that are not needed anymore.
CADOnArray class is designed for calculation of AD (Accumulation Distribution, A/D) values on indicator buffers. Test_ADOnArray indicator is provided as the example of the class use.
BykovTrend_HTF_Signal shows a trend direction or a signal for performing a deal generated by BykovTrend indicator as a graphic object with colored trend indication or deal direction.
SilverTrend_HTF_Signal shows a trend direction or a signal for performing a deal generated by SilverTrend_Signal indicator as a graphic object with colored trend indication or deal direction.
Trading signals module for MQL5 Wizard. Go indicator's color arrow serves as a market entry signal.
Trading signals module for MQL5 Wizard. Sidus indicator's color arrow serves as a market entry signal.
The function that decrypts the code of the trade operation result for the functions OrderSend() and OrderCheck().