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

MQL4 Source Codes of Technical Indicators for MetaTrader 4 - 24

The library of technical indicators for MetaTrader 4 developed in MQL4. Regardless of the market (forex, securities or commodity market), indicators help to represent quotes in an accessible form for easy perception.

This section contains thousands of applications that analyze financial markets using different algorithms. Conventionally, they can be divided into a few categories: trend indicators, oscillators, volume indicators and so on. In addition, there are sets of indicators based on algorithms by famous financiers. For example, Bill Williams' indicators and likes of it. All of them are characterized by different parameters of reliability, efficiency, lagging and others. There are more than 2000 indicators for technical analysis: trend indicators, reversal indicators, indicators of levels, predictors, scalping indicators and many others.

To post a new code, please log in or register
latest|best

Tick chart in separate window with Ask line and candle price lines.

The On Balance True Range Indicator is essentially based on the On Balance Volume indicator but uses the Average True Range Period 1 instead of Volume.

The indicator shows a messsage then the price crosses the lines, titled the "Support" and "Rezistans" on the chart.

Zigzag lines are built on fractals

The indicator is constructed based on 3 gistorgammu stochastics higher order

Momentum oscillator of averaged bull/bear percentages.

Ricx - 1st indicator submit This indicator will plot EURUSD D1 candlestick chart on white or other bright background.

This is the Doda-Donchian v2 created by Gopal Krishan Doda, but when I use this indicator, I found some error and I have to fix it. also adding features price and candle time. Doda-Donchian v2 mod fix-->Fix Stop Loss Color

Indicator that draws for the last ( You nominate how many bars back ) x bars the levels at which the psar indi turns.

A support and resistance indicator to assist in setting stop losses and take profits with any strategy.

AggM is a composite trend and mean-reversion indicator.

Indicator of some basic information.

AggZ is a composite trend and mean-reversion indicator.

Just trade looking at the arrows shown by indicator

Indicator for detect trends of the market. For trend following usage.

Shows upcoming news events 1 hour before and 30 minutes after event. Also shows active sessions etc.

Shows whether the market is trending or range-bound. Must to note before opening any position.

The Alerter simply works on 1 or 2 trendlines and plays a sound file when the trendline has been broken so the only think you must do is name correctly the trendlines.

Modified version of Donchian channel that shows when to Buy & Sell and most important, where to place stop-loss.

Wilder's Volaility System

This bands Are used by me for the calculation of the stop loss for a breakout entry and for indicate 2 things: the expected volatility and the trailing stop

Gives Buy, Sell and Exit signals based on EMA

The Crossover Moving Average Mirror user, completed with Sound Alert.

Whether you use Fibonacci for visual trading or for automated trading, this Fibonacci will handle it. Works across multiple timeframes and pairs.

The Next Generation of MA Mirror, completed with SignalSMA.

Upgraded version of Slope Direction Line.

Another simple, powerfull and profitable Mirror Indicator.

Entry BUY after Red Line crossing up the Blue Line and exit before the Red Line crossing down the Blue Line. Opposite position : entry SELL after Red Line crossing down the Blue Line.

Полосы Боллинджера на основе цифровых фильтров

This indicator is a combination of a classic RSI and even more classic MA indicators. I hope it will be more stable and with more Profit/Loss Ratio.

Optimize trading with a single moving average. This indcator tests each moving average and automatically finds the moving average which fits best to the current market

Indicator MaEnv_02B will be helpful to BUY, SELL or stay out of the market.

Draws a fibonacci study on the visible portion of your chart, and basic downtrend and uptrend lines. Shows the basic price action geometry.

This script gives You information about time left to end of the bar.

Ichimoku indicator based on RSI values that displays in your sub-window.

Numeric representation of how many times each price occurred during a given period, Use on a 1 min chart, enter number of hours and minutes you want to look back. Useful in determining actual support and resistance levels.

This indicator is a spin off of the Doji Reader 2 found in the code base. I have made several changes such as it is now capable of being used in code for coding use, not just as a visual indicator. I also took out several un-needed code that was redunda

Get the High Median and Low values of each timeframe, use them all or one at a time, pick a specific one it is up to you and your needs. The family of indicators will be here for your use

Auto updating fib retracer showing zones for range trading/breakouts.

This indicator shows the change in percentage between the Close of the current period and the previous one.

1...171819202122232425262728293031...54