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

Submit your code

TRIX (using double smoothed Wilder's EMA)

This script displays useful information.

This script is to get the last deal history data, for example : profit, deal type, etc, and put the Comment on the chart.

The 8 effective steps to build a robust day trading plan using Fibonacci retracement

This Script will Refresh All Open Charts in MT5, Usually custom symbols in MT5 needs to be Refresh sometime so this script will help to refresh all open chart at once. We can also use this Script anywhere where we need to refresh all open charts.

Generates, creates and stores passwords for your account.

The Buy/Sell signals of the indicator are based on crossover of two moving averages with different periods.

Chaikin Volatility Index determines volatility on the basis of the range width between minimum and maximum. The presented variant of this popular indicator allows to select the smoothing algorithm out of ten possible variants.

Envelopes drawn in ZigZag form. They can be drawn fixing Time Frame and then calculate input parameters

This script attempts to demonstrate the power of using support vector machines in solving classification style problems. This version of the code has been written specifically to be used in conjunction with the demo version of the Support Vector Machine Learning Tool available for free from the MQL5 Market.

The Expert Advisor moves Stop Loss of the open position along the border of the channel built using CandleStop indicator

The OpenSellPosition_X script is created to sell at fixed values of Stop Loss and Take Profit in points from the current price. Position volume is determined on the basis of the level of losses.

Trading system using the XMUV and MUV_NorDIFF_Cloud indicators.

The MACD Indicator, in which the price series is replaced by the series of values of the MFI technical indicator.

The MACD Indicator, in which the price series is replaced by the series of values of the iRSI technical indicator. It is drawn in the form of a colored cloud.

The CronexAO_Signal indicator shows information on the current trend using the values of the CronexAO indicator with a fixed timeframe.

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

Trading system using the TrendMagic indicator.

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

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

The BigBarSound indicator plays sound alerts when candlestick body size exceeds a certain value.

The indicator displays the pivot level, support and resistance levels.

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

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

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

Two Bollinger Bands channels based on one moving average, with the display of the last values as price labels.

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

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

Polychromatic momentum takes an weighted average of all significant lookback periods for the tradable.

Indicator 2XMA_Ichimoku_Oscillator with the timeframe selection option available in input parameters.

Indicator XStdDevSpeed_direction shows the information on the market volatility, using the values of indicator XStdDevSpeed with a fixed timeframe.

The inverted chart of the current financial instrument.

Indicator Volatility_Ratio.

Indicator AbsolutelyNoLagLwma_Digit with the timeframe selection option available in its input parameters.

XMA

Indicator XMA (Digital adaptive Moving Average) is a digital adaptive moving average XMA. It calculates the moving aberage using a digital filter.

Channel indicator Rj_SlidingRangeRj with the possibility to round the indicator levels to the required number of digits.

Chaikin volatility indicator as a colored histogram.

This Expert Advisor doesn't use any indicators. It only applies analysis of Close prices at bar #1 and the specified bar.

XCCI_Histogram_Vol_Direct indicator with the timeframe selection option available in input parameters

Three standard deviation channels using indicator buffers based on the number of bars defined in the indicator inputs

1...147148149150151152153154155156157158159160161...185