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

Submit your code

Uses the iStochastic (Stochastic) indicator from three different timeframes.

"Corrected" velocity (smoother momentum).

Buy sell volume.

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

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

An implementation of the dictionary (associative array) data structure in MQL5, based on CArrayObj and CList.

The ShadeOpenX indicator with the possibility to display the percentage value of time that has elapsed since the beginning of the trading session displayed in input parameters. The possibility is implemented using the classes of libraries that were described in detail in the article "Custom indicators and infographics in CCanvas".

Two "Didi Needles" indicators from different timeframes on one chart.

The EA trades using pending Buy Stop and Sell Stop orders, applying the iAMA (Adaptive Moving Average, AMA) indicator based on a "round price". Position trailing.

This indicator uses DEMA calculation mode in order to make the lag lesser compared to the original Zero lag MA, and that makes this version faster.

The EA uses indicator Awesome Oscillator.

Trend strength assessment based on Jurik smoothed RSI.

Indicator SilverTrend_NRTR with the timeframe selection option available in input parameters, alerting and sending e-mails and push-messages when the indicator changes its color.

The EA is based on iMA (Moving Average, MA) indicator and analyzes the last six bars.

This indicator is a variation of a well known WPR (Williams Percent Range) indicator with 4 WPR values combined into "candles".

Compared to the original QQE indicator this version is adding fixed levels (to help further estimate the trend) and color changing histogram (based on those levels), and also using RSX (a smoother RSI without a lag) in order to further purify the signals.

Access to OnTradeTransaction data anywhere within an application

BullsBearsEyes oscillator displayed as a color histogram, using volumes

ATR adaptive Laguerre filter - levels

TMACD indicator

Indicator Heiken_Ashi_Smoothed with two color-filled channels built on mean-square deviations from the High and the Low of the indicator candles

Indicator XFisher_org_v2_Candle highlights the candles, the Close prices of which are closed within overbought/oversold zones

XFisher_org_v2_Candle indicator provides alerts, sends email and push notifications at the incoming trading signals. Possible signal options

Exp_XFisher_org_v1 Expert Advisor based on XFisher_org_v1 oscillator signals.

Now you can test the indicator and select the price type from the ENUM_APPLIED_PRICE enumeration

The indicator plots one vertical line per day in a specified moment of time once per week

Brief description

Two identical trading systems (for long and short positions) based on the signals of the Slow-Stoch indicator, which can be configured in different ways within one Expert Advisor

The Heiken_Ashi_Smoothed_VolatilityStep indicator with the ability to send alerts, emails and push notifications when the indicator breaks through the trigger level specified in the inputs.

Ilan based on indicator iMA (Moving Average, MA)

The code consists of lines created according to the opening, closing, low and high values of prices.

Rma MACD

If you only want to execute your code blocks "only once per bar" it's important to check if there is new bar arrived or not.

This Expert Advisor will simplify the manual trading. It supports the One-Click trading.

The script converts the time, represented as datetime variable into the year, month, day, hour, minutes and seconds.

The indicator consisting of two moving averages (Lead and its EMA smoothing) on one chart from John Ehlers' book "Cybernetic Analysis for Stocks and Futures: Cutting-Edge DSP Technology to Improve Your Trading".

ElliottWaveMaker 3.0 is Tool for Semi-Automatic Analysis of Elliott Waves and Andrew's Pitchforks, a logical extension of version 2.0 known as AutoElliottWaveMaker. In version 3.0 minor errors are corrected, the ability to draw Andrew's Pitchforks and a few additional functions are added.

The indicator of the star sky on the black chart

The script demonstrates the example of using the FileFlush() function

1...118119120121122123124125126127128129130131132...194