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

Submit your code

Usual MACD with showing volumes on it.

Pivot Point (PP) indicator for use on timeframes < D1 with adjustable preceding day close time, elimination of sunday bars, optional display of weekly and monthly PP, preview of tomorrows' PP and current days' midpoints.

This script creates a .CSV file of your order history so you can import it into Excel and analyse it using the calculated heat map slots and other calculated values. All trading attributes are extracted from the history and output to the .CSV file. Updated version 1.03 (about 27KB) has NetProfit, OpenDay, OpenHour, OpenSlot, CloseDay, CloseHour, CloseSlot, DurationMinutes, PotentialWinPips, PotentialLossPips and others. The file is tab delimited for easier conversion from text to columns in Excel. Times are server time. Handles 4 and 5 digit brokers and 2/3 and 4/5 point value pairs, e.g. JPY correctly.

Simple and clean panel that shows RSI values on all timeframes with Oversold and Overbought notification.

The indicator is designed for calculating and displaying the options levels on the screen.

Pivot indicator. Standard, Fibonacci, Camarilla, Woody's, Demark. Calculates pivot points from previous bar of chosen period (M5 - MN).

Experimental indicator I wrote for myself. It's made to show some reference (it's more like a rifle scope, than a rifle). Main components are pip scale, ATR/pivot, MA level, RSI, and spread alert. Can be used on any timeframe, but since it's made for scalping it is somewhat adjusted for M1-M15.

This indicator allows you to see the Moving Averages from different timeframes on the same chart. It helps you to spot the dynamic levels of support and resistance. It uses a custom window with check boxes to show/hide the different Moving Averages without need to access the indicator settings window.

This script is used to convert history data from M1 to M5, M15, M30, H1, H3, D1, W1, MN.

Building good trading habits by seeing things in terms of percentage not in terms of money.

[@Buy_Sell_Close] Manual trading EA for trading newbies, EA can be used in backtesting visual mode, EA can also be used in live trading. You can practice your own trading system in backtesting.

A simple trend indicator that clearly shows the direction of the current trend. It can be used in the breakout trading systems.

The DailyPivot Points indicator helps to get the idea of the future market movements, unlike other tools that are usually behind the market.

The Keltner Channel indicator locates the most important trends.

Trade 5min charts mostly EURUSD. Added news filter from Forex Factory and stops. Loads of versions inside. Good luck

Adviser may trade in two modes: Martingale and antimartingeyl ...

An indicator based on three moving averages.

Tick chart of the price/spread/volume. Saves tick data in a file.

Rapid Application Development library.

This script removes all instruments with spread higher than the specified maximum requested and it also removes all non-trade enabled instruments from Market Watch, which allows you to concentrate on items you may want to trade without all the clutter.

This Martingale EA trades with one moving average, it is considered relatively safe because it takes a single trade at a time.

Indicator ZigZag System with Signal and Alert Added Alert and modify by Roberto Jacobs 3rjfx @ 2018/12/29

Let say you have an EA and you want it to trade in between an interval of time but you do not have the source codes to modify the EA. This utility allows you to automatically enable or disable the automated trading button. You can use the codes as an EA, Indicator or script but I used as an EA. You can remove Ordersend command because I set it only for the codes to past the test but it is meaningless.

An oscillator that duplicates the chart of a selected asset in a separate window in three ways: line, bars and candles. This is essentially an indicator Bollinger bands, displayed in a separate window. In my opinion, it will be useful for beginners as a way to look at various technical signals from a different angle. This indicator helped me in an adviser for filtering unfavorable moments for trades.

The indicator is replotted when a vertical line is moved.

This indicator is based on the first version of Sidus trading method. It shows market entry points.

The Expert Advisor creates equivolume charts using tick history.

The Stochastic Oscillator indicator compares where a security’s price closed relative to its price range over a given time period.

Market Facilitation Index Indicator (BW MFI) is the indicator which shows the change of price for on

A script for visualization of trades on the chart. It is useful when you change the account/PC.

Indicator Heiken_Ashi_Ma_T3.

Drawing all results from a strategy tester report file into a chart.

The indicator determines the patterns of the Woodies CCI trading system.

Buy Sell Customized With RefreshRates and Lots Manager

Universal EA scheme to enable easy multiple strategy implementation into one EA

Indicator that able to read doji with lenght set up

The indicator with market entry signals and stop lines

This indicator calculates and displays the Dollar Index and 2 definable moving averages. Edited 18 September 2015 - updated link to official description and calculation from ICE Futures U.S.

The Indicator analyses last 100 waves and shows its sizes, average volumes and average velocities (in pips/hour) for each wave.

An evolution of John Ehlers Inverse Fisher Transform of RSI.

1...212223242526272829303132333435...102