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

Submit your code

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

Advisor scalper. Trading algorithm: Candle[0]> Candle[1] * 2. Taimeframe - 4H && Day.

The MelBar™ EuroSwiss 1.85x 2Y™ Expert Advisor is a specific purpose profit-scalping tool which success depends on your understanding of its underlying strategy and your ability to configure it. Backtest results using historical data from 6 February 2018 15:00 to 19 February 2020 00:00 for the EUR/CHF (M30) currency pair proves very highly profitable. Initial Deposit : US$500 Investment returns : US$1426.20 Net Profit : US$926.20 ROI : 185.24% Annualized ROI : 67.16% Investment Length : 2 years 14 days (2.04 years) Visit these websites : https://352422.e-junkie.com/product/1645482 https://www.facebook.com/TheSoftwareSuite/

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.

Colored Candlestick exemplifying a gradient. It was somewhat hard to find a good working example of DRAW_COLOR_CANDLES that was understandable, most of the comments were useless, and the documentation lacks to even specify the plot limitations (PLOT_COLOR_INDEXES being limited to 64 in length, [0; 63]) or which order the functions should be called.

Money-managing stop loss baseline indicator for MT5.

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

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

Trading panel that allows user to define levels of trade by simply dragging lines.

ATR adaptive smoothed Laguerre RSI 2 (extended)

Nadaraya-Watson estimator

This is a re-write of the old Solar Winds indicator for MQ5. There has recently been some 'excitement' about using this with other indicators for entry signals, and after a request to develop an indicator using it, I found that it was a classic re-painter - so I am contributing this code with an easy switch to allow seeing the indicator in re-paint versus non-repaint mode.

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.

A semaphore signal indicator based in the idea from "325 golden strategies" collection.

The ytg_Trend indicator with the timeframe selection option available in the input parameters.

The Inverse Fisher Transform normalizes the values in the desired range (-1 to +1 in this case) which helps in assessing the overbought and oversold market conditions.

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.

Oscillator ERVI (Ehlers' Relative Vigor Index) based on the relative vigor index by John F. Ehlers.

Projection Bands indicator.

Projection Bands indicator in the form of oscillators.

A semaphore signal indicator based on a breakthrough of the Kijun Sen line by the price.

Skyscraper_Fix_Cld indicator with the timeframe selection option available in input parameters

Nonlinear Kalman filter deviation

Corrected AMA

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

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

This simple indicator is just a statistical label showing Last and Current Candle Amplitude (MinMax), Last and Current Day Amplitude, Current Tick Amplitude and Time Remaining for next Candle. It also shows Server Time (Market Watch) and Local PC Time so you can focus more on the graph and adapt to market hours.

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

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

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

This is a module for MQL5 Wizard and Standard Library, which allows you to generate expert adviser based on arbitrary set of indicators and conditions.

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

Optimized ATR adaptive Laguerre RSI

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

1...169170171172173174175176177178179180181182183