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

Submit your code

BBMACD_v2 is the Bollinger Bands® and MACD indicator in the same place at separate window version 2.

Moving average with some extra features.

This EA is based on Forex Fraus (for M1) which was made by Dmitriy Zaytsev. I added limitation of positions, multi-currency trading.

Build Binary Options strategies to test in the Strategy Tester of MetaTrader 4 with Binary Options Strategy Tester utility from marketplace.

"Day Trading" EA Trades with Day Trading strategy,has Trailing Stop Loss &Take Profit works on 1D time frame major forex pairs and stocks NASDAQ.

Previous day&week High/Low

This is an indicator on Daily Pivot Points and Support and Resistance levels.

This strategy is the well known set & forget accompanied by the martingale system. It is very useful if you are very busy in which you don't have time, you want to trade the London session while you are sleeping in USA, etc.

Indicator MTF Forex freedom Bar.

H_L

Indicator HL.

TMA

Here, the focus is on the middle part of the price series. In fact, they are double-smoothed simple moving averages. The simple Moving Averages' length depends on evenness or oddness of the chosen number of periods.

Adviser FrBestExp02 1.

Bars of almost equal volumes are formed.

The 3_Otkat_Sys_v1.2 Expert Advisor. The system is configured for 5 hours (Moscow Time), does not trade on the nights of Monday and Friday.

The minimums and maximums of the previous day are used. I'm sorry that I wrote it without comments.

Execution of orders by slanting lines. For the purposes of real trading and learning, graphical orders are implemented in Tester. The EA was evaluated on MQL4 Forum. Version_V5 considers all the suggestions and wishes.

Indicator Impulse CD (Color) is a sequel of impulse approach. By users' requests, colors and signal line are added.

A TS based on the kickback from intraday levels calculated by indicator Pivot is implemented.

The indicator denotes the price range of the next bar.

The EA is based on the permanent variation of the direction of the trades depending on the TakeProfit, StopLoss and TrailingStop levels. It demonstrates how to create a profitable trading system without any indicators, mathematical models and other wisdom

Trade machine for manual trading with automatic risk management and "SuperTrainer" mode

ADX_System Expert Advisor.

wlxBWWiseMan Indicator.

Раскраска баров в зависимости от направления тренда.

This EA capitalises on four timeframes SAR, RSI and BB to determine entry as well as time zone.

EA based on MAC-Fibo trading strategy

Shows the Max and Min levels of the previos day and today's open price. Change the "up" and "dn" parameters to see the day candle.

The indicator registers the price level breakout moments and the significance of these levels.

RSI Bollinger Bands are used to establish overbought and oversold RSI regions for generation of short and long trading signals.

The Expert Advisor that moves the stop loss to breakeven after reaching certain profit.

This will create an offline chart for the ticks.

Trend indicator

This indicator draws a trend-line directly on a chart. It uses the Theil Sen Estimation method to calculate the slope of the trend-line. Theil–Sen estimation is a method for robustly fitting a line to sample points in the plane (simple linear regression) by choosing the median of the slopes of all lines through pairs of points.

In the case of weighted moving average, the latest data is of more value than more early data. Weighted moving average is calculated by multiplying each one of the closing prices within the considered series, by a certain weight coefficient.

Synchronized version numbering using the iGentor CCIM v.0.2.

This is a very simplistic method, one of the best in the signal processing and target tracking.

Correlation USDCHF/EURUSD Indicator.

Fractal ZigZag Expert Advisors.

Example of working with OBJ_EDIT graphic object.

ATR Levels indicator marks 5pm NY on the chart along with the 14 day ATR value.

1...666768697071727374757677787980...102