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 ContinueThe Exp_XOSignal_ReOpen trading system based on the signals of the XOSignal indicator with trend following scaling
The ICHI_OSC indicator with the timeframe selection option available in input parameters
The KhaosAssault indicator with the timeframe selection option available in input parameters
The ThreeCandles indicator, which features alerts, sends emails and push notifications.
The Exp_CGOscillator_X2 trend trading system based on the signals from two CGOscillator indicators.
The smoothed Simple Trend Detector with the color indication of overbought/oversold level breakouts and of the histogram direction.
The Exp_ttm-trend_ReOpen trading system based on the signals of the ttm-trend indicator with trend following scaling.
The smoothed DeMark oscillator with the color indication of overbought/oversold level breakouts and of the histogram direction.
The TTM-Trend indicator with the timeframe selection option available in the input parameters.
The smoothed Commodity Channel Index oscillator with the color indication of overbought/oversold level breakouts and of the histogram direction
Crossing of the two iMAs. Lot calculation based on the risk value as a percentage of margin.
The Exp_ChandelExitSign_ReOpen trading system based on the signals of the ChandelExitSign indicator with trend following scaling.
The smoothed Money Flow Index oscillator with the color indication of overbought/oversold level breakouts and of the histogram direction.
The smoothed Larry Williams' Percent Range oscillator with the color indication of overbought/oversold level breakouts and of the histogram direction.
The smoothed Relative Strength Index oscillator with the color indication of overbought/oversold level breakouts and of the histogram direction
The CDir class allows getting information about files and folders outside the MQL5 sandbox similar to the MS-DOS Dir command. Call of system DLL is used, therefore you should allow their use.
Keltner Channel built relative to the average value of the XCCX oscillator as a sequence of candlesticks
The price chart speed expressed in points, with the author markup of significant price change levels.
The NRTR_extr_ZigZag_Price indicator with the timeframe selection option available in the input parameters.
The NRTR_ZigZag_Price indicator with the timeframe selection option available in input parameters
Keltner Channel built relative to the average value of the XRSX oscillator as a sequence of candlesticks
The Expert Advisor opens a deal in the breakout direction. Lot calculation depending on risk percent of margin.
A simple oscillator that uses the difference between candlestick open and close prices.
Keltner Channel built relative to the average value of the OsMACandle oscillator as a sequence of candlesticks
An example of using HistorySelectByPosition (based on the HistoryDealGetTicket use example).
Keltner Channel built relative to the average value of the MomentumCandle oscillator as a sequence of candlesticks
The indicator plots price channel and Fibonacci levels based on the latest NRTR_extr_ZigZag peaks
The indicator plots price channel and Fibonacci levels based on the latest NRTR_ZigZag peaks