This is the largest free source code library for MetaTrader 5 platform programs. Here you can find ready-made Expert Advisors, technical indicators, scripts and libraries. Use the code library when learning MQL5 language and develop your own automated trading applications based on the provided codes.
You can freely download and test published codes, as well as launch them in MetaTrader 5. The library is also available directly from MetaTrader 5 platform and MetaEditor development environment.
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 ContinueAn example of how to use the IndicatorSetString() function. A simple indicator that shows how to create a label, e.g. "Overbought level" for each level.
A panel for opening and closing positions on several financial symbols in one click.
An example of the IndicatorSetInteger() function. A simple indicator that shows how to create a label, e.g. "Overbought level" for each horizontal level.
An indicator of pin bars, to be used as a built-in indicator in Expert Advisors. Shows levels specified by the pattern for the open price and stop-loss.
A trend indicator implemented in the form of NRTR. Timeframe is specified in the input parameters of the indicator.
The Change To Range Ratio indicator is used for closing short-term positions and/or for filtering entry points.
A semaphore signal indicator showing the MACD histogram calculated on the timeframe specified in the input parameters
A fan of Stochastic indicators, the period of which is defined by one of four types of progressions
The indicator without averaging of the data array, that is a Buy/Sell decision is made in one move.
An indicator for short term trading, it can be used as a signal for closing a position or as the filter to enter one.
A stochastic oscillator with an option for selecting a timeframe for calculations, which may differ from the timeframe on which the indicator is applied
The RSI oscillator with the boundaries of the overbought/oversold areas expressed by Bollinger Bands
A trailing stop module based on the WPR indicator with short and long Stop Loss
The original indicator that shows buy and sell signals of three indicators on nine timeframes