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

Submit your code
VZO

Indicator VZO

Ergodic TSI (True Strength Index) as described by William Blau

Indicator RSI Overlay

Advance Parabolic Time/Price System

Correlation market state

Strategy based on the standard indicator iCHO (Chaikin Oscillator, CHO) and custom indicator 'CCIDualOnMA'

Custom Hammer and Inverted Hammer

This function performs the main logic of opening a trade. It calculates the opening price, take profit levels and stop loss based on the symbol information and parameters provided by the user. Prepare a trade request (MqlTradeRequest) with the necessary information such as symbol, volume, order type, slippage, comment, magic number, etc. Call the OrderSend function to send the trade request and get the result. SetTypeFillingBySymbol function: determines the order fulfilment type (Fill or Cancel, Immediate or Cancel or Return) according to the symbol's fulfilment policy. GetMinTradeLevel function: calculates the minimum trade level based on the freeze level and stop level of the symbol. Adjusts the minimum level to ensure that it is within certain limits and returns the result.

A short format for storing ticks.

The Bollinger Bands ® Indicator (BB) is similar to Envelopes. The only difference is that the bands of Envelopes are plotted a fixed distance (%) away from the moving average, while the Bollinger Bands are plotted a certain number of standard deviations away from it.

An indicator lets you specify the number of bars separately before and after the current High / Low (fractal) can.

This indicator fits a trigonometric model to prices and extrapolates it in the future.

The Panel Designed for "Best Graphic Panel in MQL5" Contest. This graphic panel allows to automate manual trading. It has many functions, including the visual construction of trading strategies.

The ZigzagColor_Channel plots a channel by connecting the ZigZag peaks and ZigZag bottoms.

Trade signals based on reversal candlestick patterns is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

Trade signals based on "Morning Star/Evening Star" 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 script downloads historical data (for the current symbol), available at trade server.

Trade signals based on "Bullish/Bearish Meeting Lines" candlestick pattern, confirmed by Market Facilitation Index (MFI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

BrainTrend2Sig is an indicator of the market trends that assigns colors to candlesticks according to the trend direction.

Multi-currency Expert Advisor functional module for organization of an access to any historical data with a request result processing.

Set of Keltner Channels based on the universal smoothing.

This indicator determines trend power and direction.

New CCalendarInputBox control element of the IncGUI library has been designed for date and/or time input.

Ergonomic Parabolic SAR. The indicator itself is a two-color one and it also adds large colored dots that appear during each trend reversal.

The indicator transfers the price data to the new coordinates system associated with X2MA indicator values.

Script for the charts simultaneous scrolling.

Candlesticks length volatility indicator useful for tracking gaps on the market and having the settings analogous to the Bollinger Channel. The indicator can show flats and trend beginnings.

Nonlagdot is the supply and demand indicator that calculates a possible trend considering market forces domination.

Adaptive Exponentially Smoothed Moving Average, based on StdDev indicator.

This indicator draws a period of operation that specifies trade start time and trade stop time.

Export MQL5 live data to Excel (DDE)

This is Bollinger Bands %b indicator for MetaTrader 5.

Trading signals module based on Delta ZigZag indicator.

FuzzyNet library for developing fuzzy models was written in C#. While converting to MQL5, 8 membership functions and 4 defuzzification methods for Mamdani-type systems were added to the library.

The script tests the computer in 45 performance tests. It is possible to compare the performance of VPS/VDS servers.

A trading robot for performing arbitrage between EURGBP and its synthetic quotes (triangular arbitrage).

The Exp_FRASMAv2 Expert Advisor is based on change in color of the FRASMAv2 moving average.

The MACD histogram, based on the FATL and SATL digital filters with color indication of trends.

This version of Bollinger Bands has a choice of calculating the standard deviation as a sample or as an uncorrected deviation.

ZigZagOnParabolic with its values displayed as fractal labels.

1...212223242526272829303132333435...199