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

Submit your code

Time Averaged Price indicator

True Strength Index trade

Indicator LWMA/SMA ratio

Indicator Normalized Intraday Intensity Oscillator

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

RSICloud indicator with background filling for overbought/oversold areas, as well as for the channel between them

Highly Adaptable Moving Average Alert indicator

The Volatility2Step_Alerts indicator with the timeframe selection option available in the input parameters

Consensus of Five indicator

The Average change indicator

SpearmanRankCorrelation indicator implemented in the form of a color histogram

TRiX

Brief Description

Filtered WPR (Williams Percent Range)

The trading system based on SpearmanRankCorrelation_Histogram indicator signals

The script creates the Fibonacci levels graphic object with a large number of settings.

Multi timeframe Slow Volume Strength Index

The indicator builds graphical object Fibonacci Levels with many settings at High and Low prices over the period specified in the indicator input parameters

Very handy Multiple Moving Averages for those who like to look at Price Action using several time periods...

RSI of smoother average

Chande's DMI - volatility ratio adaptive

This indicator predicts future price movements by searching for similar candle patterns in the rate history.

This is an indicator w/o buffers which demonstrates parallel multi-threaded calculations in chart objects hosting worker expert adviser.

Provide a unified interface to a set of interfaces in a subsystem.

For a complex object separate its construction from representation. Same construction process can create different representations

Attach additional responsibilities to an object dynamically; and provide a flexible alternative to subclassing for extending functionality

This strategy is the well known set & forget accompanied by the martingale system. It is very useful if you are very busy in which you don't have time, you want to trade the London session while you are sleeping in USA, etc.

The DD_Relative function calculates the drawdown (relative loss) of the current trading account in percentage. To do this, it uses the Current_LossOrProfit() function to get the current profit or loss for all open positions and divides it by the current account balance. The result is rounded to two decimal places and displayed in the chart comment. The Current_LossOrProfit() function loops through all open positions in the account and adds the commission, swap, and current profit or loss for each position. The result is rounded to two decimal places and returned as the current profit or loss of all open positions.

Added colors to Parabolic SAR.

Smoothed Accelerator

Variation Index shows if a trend or a flat movement is prevailing in the time series or random behaviour.

Simple and demonstrative indicator of the current trend power and direction.

Three-pole super smoother filter from John Ehlers' book "Cybernetic Analysis for Stocks and Futures: Cutting-Edge DSP Technology to Improve Your Trading" is used in this indicator for moving average calculation.

The indicator "warning" about the appearance of the bars with an extended range and/or strong directed movements

The Expert Advisor used on such indicators as the Moving Average, the CCI, stochastic

The class is designed for calculation the Fractals technical indicator (Fractals) using the algorithm of the ring buffer.

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

The QStick indicator is a simple n-period moving average of the price difference.

Three RSI oscillators with three different timeframes on one chart.

Several envelopes with fixed shifts.

1...676869707172737475767778798081...183