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

Submit your code
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.

The trading system based on DEMA_Range_Channel indicator signals with the possibility to set a fixed position holding time.

Trend Trigger Factor indicator with T3 smoothing (to lessen false signals) and some extras in order to make the trend triggering state easier.

CCI_Histogram_Vol indicator with additional averaging of the resulting histogram

Expert Advisor based on iRSI (RSI) and iMA (Moving Average, MA).

Position volume calculation based on trading history. The Expert Advisor applies iCCI (Commodity Channel Index) and iMA (Moving Average) indicators. Trailing is present as well.

Stochastic volatility - on chart

Indicator Colored Middle Point of Candles

Indicator Fractal Channel

Two identical trading systems (for long and short deals) based on the ColorMaRsi-Trigger indicator signals that can be configured in different ways 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.

Indicator of Murrey levels in indicator buffers with the added visual text information on those levels, calculating the levels on a timeframe specified in the inputs

A price channel based on a bar of user-defined duration (timeframe).

PdfMA based awesome oscillator

BB stops - Hull average based with multiple stops included

Adaptive ATR channel

TRIX (using fast EMA for calculation)

To assist traders who wish to open multiple sell orders quickly, a script file has been developed that allows them to execute a large number of trades with just one command. The default take profit and stop loss values are set in 5-digit broker format, but for traders using a 4-digit broker, the default must be TP=40 and SL=20. Num_of_Sell is the number of trades to execute. This script file can be extremely useful for traders who want to take advantage of market conditions quickly and efficiently. By simplifying the process of opening multiple sell orders, it can save traders valuable time and allow them to focus on other aspects of their trading

Ichimoku beginner tutorial to learn how to code in MQL5

Six bulls or six bear continuous candles

This script helps traders understand the distribution and range of candles in a specific period, which can be useful for making trading decisions such as determining which historical values to use for Take Profit or Stop Loss.

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.

The Accumulation/Distribution Indicator is determined by the changes in price and volume.

Calculates fractals and lets you specify the number of bars separately before and after the current High / Low (fractal).

The updated version of TimeClosingPeriod indicator, it plots the time, remained to the current bar complete. At the last second it plays the sound file, specified in the input parameters.

The panel simplifies manual trading and trailing of the opened position.

The Expert Advisor is profitable only if the "Open prices" only or "1 minute OHLC" modes used in Strategy Tester.

1...262728293031323334353637383940...185