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 - 191

Submit your code

This indicator calculates the index of a given currency, using the USD index. It is based on indicator SymbolX, but four prices are used for calculations: OHLC instead of just one Close price.

Internal Strength indicator

iSAR indicator (Parabolic SAR, SAR) with filled areas between the indicator and the price. On the right side, a rectangle is drawn equal in size to the fill area

Bears vs Bulls. Bees vs honey. Rock vs drugs.

Standard Stochastic shown as a color histogram.

The indicator displays "squatter" fractals with regard to volumes.

Mogalef bands

Print info about a closed position by its position ticket or identifier.

Building good trading habits by seeing things in terms of percentage not in terms of money.

Signals (Arrow objects) of iCHO indicator (Chaikin Oscillator, CHO) and smoothed iCHO intersections

This indicator provides handles for 2 properties, MA Speed (scaled) & Price-to-MA Distance (%)

ADXm (experiment)

A simple and effective Expert Advisor based on Stochastic Oscillator reversal signals on the H1 timeframe. Buy signals are triggered when %K crosses above %D below the 20 level. Sell signals are triggered when %K crosses below %D above the 80 level. Risk is calculated based on the account balance, with the lot size set to 0.1 (adjustable as needed). Take Profit (TP) is set to 300 points for all positions. Stop Loss (SL) is dynamically calculated based on the opposite crossover signal. The position is closed when a crossover in the opposite direction occurs, as well as when TP or SL is reached

Clouds formed by the masses of moving averages of different periods.

Stochastic Oscillator in the main chart window relative to the Moving Average indicator.

This strategy is the well known set & forget with the ALERTING system. It is very useful on different trading scenarios. I urge you guys to always use trading tools that will make your live easier. So instead of watching the charts and the time and all day long, you can use this indicator that will watch the charts for you.

The Decycler II: John Ehlers, "Stocks & Commodities V. 33:09", стр.12-15

Strategy that uses the CCI indicator 0-line cross to spot trades and the MACD indicator to confirm them.

iExposure will show the opening of trading positions in tabular form in the sub-window below the main window. This allows the trader to see at a glance the positions in the market including the profit value and the amount of risk for each position. The iExposure indicator is a technical tool that is easy to use and very helpful, especially if a trader opens several trades at once with several different instruments. Traders can add the iExposure indicator to any price chart if they wish to use it. By adding the iExposure indicator, traders can also still see tabs of other trading positions for other currencies. Also note that iExposure can also monitor all trading positions, besides being able to make details by displaying one position for one window.

The indicator compares OHLC prices

The indicator "The Trend Detection Index" is a changed TDI indicator.

The indicator draws candlesticks of a larger timeframe as color filled rectangles in accordance with the colors of the CronexMFI indicator.

VSI

VSI - Volatility Switch Indicator.

The indicator plots four horizontal lines: Two basic ones (red by default) above the High and below the Low of the "Bar number" bar and help lines (green by default) shifted from the basic ones.

Projection Bands indicator.

Projection Bands indicator in the form of oscillators.

Nonlinear Kalman filter deviation

Three Moving Averages Convergence/Divergence - Indicator for MT5

Use sharing to support large numbers of fine-grained objects efficiently

Provide a surrogate or placeholder for another object to control access to it

Sometime we have to work with Custom Angles based trendline for price action analysis e.g. 45 degree angle is considered more important for up or down trend. This indicator will help you by drawing a trendline which will match your custom angle on last input number of bars

Shows Last Price, Daily percentage change and Time based on Input selection to the Price Line

Simple class for getting the number of microseconds (µs) elapsed since January 1, 1970

This is MQL5 version of Shved Supply and Demand indicator written by Shved and upgraded by eevviill7 from this link. Subsequently Mr. Behzad Movaghar added other functionalities to this link. This version of the Indicator contains the Code with an option to select the time frame of the Indicator other than that of the chart. For example if the chart is in 5M and the user want to see the support and Resistance levels of a particular chart pair at 15 M, is possible with this.

The trend indicator drawn in the form of the colored cloud.

This EA help you to auto set the TP, SL & TRAILING by default, easy to close all orders with button "Close All" *Update April 2022. Channge ushor to ulong to support giant spread like Boom/Crash Synthetic Symbols

Sorts the values in the first dimension of a multidimensional numeric array in the ascending order.

Risk Reward Tool calculates Risk reward like 1:2 1:3 1:4 and 1:5

Two indicators iRSI (Relative Strength Index, RSI) smoothed using iMA (Moving Average, MA)

The indicator draws the boundaries of the calendar day for trading by Larry Williams

1...184185186187188189190191192193194195196197198