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

Submit your code

These scripts are designed to buy with fixed values of Stop Loss and Take Profit in points from the current price

ZigZag inscribed in Gann angles.

An indicator of the series of simple indicators without averaging.

Relative Strength Index with the market flat state detection option.

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

A semaphore signal indicator that uses divergence between two Momentum oscillators based on extreme points of the last five bars.

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

The Channel indicator. The indicator also displays the current channel levels as price labels and the type of the signal for making trading decisions.

A trading system based on the signals of the NonLagDot indicator.

ROC2_VG indicator with the timeframe selection option available in the input parameters.

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

Uses two iStochastic (Stochastic Oscillator) indicators and one iRSI (RSI, Relative Strength Index). Calculates the lot size based on the analysis of closed trades.

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

An Expert Advisor based on the iIchimoku (Ichimoku Kinko Hyo) indicator. Fixed lot.

The DSL (Discontinued Signal Line) version of Stochastic does not use a moving average in a classical way for signals, but is instead calculating the signal lines depending on the value(s) of the stochastic. Thus, we are having two things : a signal line and a sort of levels that can be used for overbought and oversold estimation.

This is not a directional indicator. This means that even it is stochastic it does not show the direction of the market, but shows the direction-amount-size of volatility. The assumption that seems sound enough and after which this indicator is made is that in the times of extremely low volatility it is a good time to enter the market, since the change in volatility is imminent. Those times are marked by dark gray dots on this indicator. For direction of entry, you should use some other trend showing indicator(s).

A trading system based on the 2XMA_Ichimoku_Oscilator indicator signals.

Volatility Quality indicator made "on-chart".

Trend envelopes - parabolic weighted MA

A swing-based Expert Advisor: The EA sets a pending stop order with an increased lot size and in the opposite direction.

A trading system based on the signals of indicator i-KlPrice_Vol_Direct

Indicator Non lag average

Convert MqlTick-s into minified structures to free RAM or store tick arrays in a compact files.

Multi Selllimit and Sellstop orders are script files that enable traders to place multiple orders with ease. These orders allow traders to enter the market at a specific price level, or at a specified number of pips away from the current market price, with stop-loss and take-profit levels. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker. Moreover, the multi Selllimit and Sellstop orders offer traders the flexibility to customize their trading strategies. Traders can set the stop-loss level to zero if they do not use stop-loss, and can choose between a target price or a pip-based entry. This level of flexibility allows traders to tailor their trading strategies to their specific needs, which can result in better trading outcomes.

Stochastic Indicator (smoothed q-period Stochastic) by William Blau.

The Expert Advisor moves Stop Loss of the open position along the border of the channel built using ATR_Trailing.

The simpliest linear combination of eight stochastics in the form of the oscillator

The indicator of Peak Price Values.

The chart layout in X-points reversal

The trend indicator with divergence histogram.

Smooth Stochastic.

A trend indicator of the series of indicators without averaging.

The Mass Index is intended for detection of trend turns based on changes in the bandwidth between the highest and the lowest prices.

The popular indicator by Constantine Kopyrkin. This version is based on the normalized NRatio oscillator.

O indicador NRatio com a opção de seleção de um período de tempo diferente nos parâmetros de entrada.

The indicator utilizes the idea of ​​finding possible resistance and support levels, similar to the use of GSV.

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

The Exp_SimpleBars Expert Advisor is based on the signals of the trend indicator SimpleBars.

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

The RSITrend_x10 indicator shows the RSI oscillator position from ten different timeframes.

1...151152153154155156157158159160161162163164165...183