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

Submit your code

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

Correlations (Spearman or Pearson rank (auto)correlation) drawn as candles.

Recursive (double) smoothed stochastic - allows calculating double smoothed stochastic up to depth 15.

Analysis of bars, if they contain N consecutive bars of the same type.

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

Analysis of OHLC on 0, 1, 2 and 3 bars.

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

Crossing of the two iMAs. Lot calculation based on the risk value as a percentage of margin.

The smoothed Simple Trend Detector with the color indication of overbought/oversold level breakouts and of the histogram direction.

Trading system based on the signals of the ThreeCandles indicator

EMA

Intersection of two Moving Averages. Take Profit and Stop Loss levels are virtual.

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

A script for placing a SellStop order

The Exp_Stochastic_Chaikins_Volatility Expert Advisor based on the Stochastic_Chaikins_Volatility indicator color change.

The RBVI indicator (Relative Broker Vigor Index) implemented as a colored histogram.

Closing all open positions with the specified profit percent.

The BarTimer indicator implemented using the classes of libraries that were described in detail in the article "Custom indicators and infographics in CCanvas", with the possibility to set a fixed timeframe, data from which the indicator displays in input parameters.

The indicator shows a text block with the values ​​of the user defined CCI oscillator period for each timeframe

The ZScore indicator shows relative price deviation from its average value.

Kurtosis is an indicator of market sentiment.

The US dollar index against a basket of basic currencies.

Fast Stochastic.

It deletes the arrow objects from the chart, which mark the transactions in the chart. The utility is implemented as an indicator that does not draw anything by itself.

A trading system based on the KWAN_NRP indicator signals.

A script for showing the swap value on a financial instrument. The texts of positive and negative swaps are shown in different colors.

PDO

Indicator PDO (Percent Difference Oscillator).

Moving averages on charts M5, M15, H1 are analyzed. The presence of the iMA (Moving Average, MA) "fan" is checked simultaneously on all three charts (M5, M15, and H1).

This version of ADX instead uses different display in order to make that as easy as it can be. The ADX values are easily comparable to the significant level, the the color of the ADX value and histogram clearly shows the trend. That way it is easier to follow the ADX trend(s) and values.

A trading system using oscillator BlauErgodicMDI with the option of strictly setting a trading time interval

Indicator AbsolutelyNoLagLwma_BBx7_Cloud_Digit with the timeframe selection option available in the input parameters.

Indicator BykovTrend as candlesticks.

Two independent trading systems using indicators SilverTrend_V2 and ColorJFatl_Digit within one EA.

Indicator Swing Shift

An Expert Advisor for closing all positions, in case of the total profits on those positions exceeded the Take Profit level fixed in inputs or the total losses on those positions exceeded the Stop Loss level fixed in inputs, or where it is necessary to close all positions beyond the time interval fixed in the settings.

OHLC VolumeH volume difference indicator

Three independent trading systems using ColorX2MA_Digit indicators within a single EA with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system

МА as an oscillator

Trend Trail indicator

WPR HL indicator

KDJ Averages oscillator defines when it is necessary to search for market entry conditions. Unlike KDJ, it is calculated using standard smoothing methods. In case of the default settings, its J line is slightly faster.

1...242526272829303132333435363738...183