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

Submit your code

RSI_X20 indicator is able to color each line depending on its position relative to overbought and oversold areas

The Ultimate Oscillator indicator

The MA Slope indicator

RSI EA - trading based on overbought/oversold zones determined by the iRSI (Relative Strength Index, RSI) indicator.

Double smoothed stochastic of ratio

Three timeframes RSI Average

Correlation angle

Class for comparing two floating point variables.

A wick engulf candlestick pattern

This code block loops through all opened position and do trailing based on Ask and Bid prices.

The Swing High/Low Identifier for MetaTrader 5 marks significant swing highs and swing lows directly on your chart with color-coded arrows. This tool helps traders quickly identify key price levels, which can serve as resistance and support, and is ideal for trend reversal analysis, support and resistance mapping, and enhancing price action strategies. By highlighting these crucial swing points, it provides valuable insights for making informed trading decisions and optimizing trading strategies.

Trade signals based on "Bullish Harami/Bearish Harami" candlestick pattern, confirmed by Relative Strength Index (RSI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

Arrows&Curves shows signals to open and close positions.

The fan based on the five T3 moving averages for trend indication.

ZigZag allowing to build Fibo fans on the last two ZigZags.

The indicator allows to work with changing in real time and mirror reversed (1/X) trading instrument.

The indicator creates areas of preferable stop-losses location for long and short positions at any time.

Empirical mode decomposition of the current symbol.

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

The SchaffTrendCycle oscillator performed as a color histogram.

When you drag this script onto the chart, it will calculate the price where you drop the script and use this price to figure out if a Sell Stop or Sell Limit pending order should be placed.

The indicator allows to use a special background color for marking the price chart in the period of day selected in the input parameters.

Modified scripts to change Charts(next,previous) and Timeframes(higher,lower) of all charts quickly by hotkeys.

A set of support and resistance levels built on the last tops of ZigZagOnParabolic_HTF with an option of fixing the timeframe, on which the zigzag is calculated.

The i-BB-Width indicator with the timeframe selection option available in the input parameters.

The Exp_Instantaneous_TrendFilter Expert Advisor enters the market when the Instantaneous_TrendFilter indicator cloud changes its color.

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

The idea of this moving average indicator is in giving the bar with a greater volume a greater weight in averaging.

The extensive use of standard library classes and the uniform code for data acquisition from iMACD, iStochastic, iSAR and iMomentum indicators.

Real time indicator designed for scalping on FORTS.

New version of non-repainting step stochastic indicator.

A script for placing a BuyStop Limit order.

A script for placing a SellStop Limit order.

A moving average with the five-fold EMA averaging, with a real period and the possibility to shift the indicator horizontally or vertically.

The Boa_ZigZag zigzag, with values displayed as fractal labels.

A complete Renko chart indicator with wicks. Configure using Tick Size, Pip Size, Points or R. Now with Asymetric Reversals!

Balance of Market Power combined with DSL (Discontinued Signal Line) it can be used both for trending and scalping mode.

Gap searching indicator.

Wilson Relative Price Channel - modification

Simultaneous opening of oppositely directed positions

1...656667686970717273747576777879...184