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 ContinueTwo iMA indicators with hard coded periods of 3 and 7, and on iRSI indicator with the period of 2.
The Expert Advisor makes trading decisions based on simple candlestick combinations. It is designed for use on the H4 period.
Pending Buy Limit (BuyLimit) and Sell Limit (SellLimit) orders. Using OnTradeTransaction().
RSI EA - trading based on overbought/oversold zones determined by the iRSI (Relative Strength Index, RSI) indicator.
An example for calculating the lot value with a fixed margin level. That is, if you specify 10%, a position with the margin equal to 10% of free margin will be opened.
An example of working with the trading history on Hedge accounts — reconstruction of positions.
The Expert Advisor places two pending orders (BuyStop and SellStop) with the specified expiration.
Uses two iStochastic (Stochastic Oscillator) indicators and one iRSI (RSI, Relative Strength Index). Calculates the lot size based on the analysis of closed trades.
The Expert Advisor uses Parabolic SAR and three EMAs (with the periods of 10, 25 and 50).
The Expert Advisor trades moving average breakouts. It uses the following indicators: two iMAs (Moving Average, MA), iRSI(Relative Strength Index, RSI) and two iEnvelopes (Envelopes).
Trades using indicators: iStochastic (Stochastic Oscillator) and iRSI (Relative Strength Index, RSI).
The creation of the Expert Advisor stems from the topic "Neural networks - where to start studying them".
The Fractal_WeightOscillator indicator with the timeframe selection option available in input parameters.