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

Submit your code

This is a multi timeframe dashboard scanner for RSI and Stochastic.

Quantile Price Analysis by Jas Wu, Calculations are below.

Simple stoploss script

This code can be used to take screenshot from code itself at any particular desired time.

candle pattern

SmoothStep (metatrader 4 version)

What if we could have two Stop Loss instead of one?

This is an MT4 indicator which generates signals based on Bollinger bands crossover with price.

Advisor Nextbar.

Developed by John Ehlers, the RSI-based inverse Fisher Transform is used to help clearly define trigger points. The normal RSI indicator is calculated and adjusted so that the values are centered around zero. The inverse transform is then applied to these values.

This Script is the example of using function LineNotify that use to send message to LINE APP via Line Notify service As the function LineNotify use webrequest to send HTTP request so it can be used in EA or Script program only , can't use in Indicator program

Kalman Speed oscillator... Just an experiment

Clone of Smart Envelope from tradingview

This EA places buy trades based on trend of last 5 candles.

The indicator marks the current chart with red/blue arrows to signal a possibility for buy/sell.

It's an expert to open and close orders on specific day and time. Expert open and close orders only with the same symbol it attached.

This EA demonstrates how to implement martingale based on signals from any indicator.

This is a RVI crossover indicator.

Adds the ability to automatically export the transaction history after running the Expert in the strategy Tester.

Just a Basic Functions For BreakEven.

A script that displays MarketInfo and SymbolInfo data through a button list built from MarketWatch.

A customizable logging library with Debug,Info,Error logging levels.

Momentum deviation

This is an EA using RVI crossover.

it saves the current chart to default template , it just helps to do it faster than a manual save. you can assign a hotkey for it. it has no confirmation and immediately saves the template, if you want it to save to a template other than default just edit the code and replace "default.tpl" to any other name you want.

This is a WPR crossover indicator based signal generating indicator.

Get notifications when hit price level

This Is a Normal Trailing Function For All Open Order In MT4.

Limit channels - with states - metatrader 4 version

This code helps beginners in MQL4, specially those migrating from C++ to perform some basic fie operation.

This is a simple script to chart the intermarket spread between 2 different futures or CFD contracts. The spread trading is a popular futures trading strategy and can be done using CFDs more easily as there is no formal expiry date.

a bit more EA frliendly version

Converted ATR Bands by AlexanderTeaH from TradingView to MQL4

Tipu MACD EA is a simple EA created to automate buy/sell orders based on the MACD indicator. You can automate entries and manage trades. This EA comes with many useful functions that can used to by anyone to create their own EA.

Histogram of momentum

This Is Just A Normal Trailing Step Function.

This is an EA to generate signals based on RSI signal crossing the upper level or lower level.

Murrey Math (ММ) is a trading system suitable for any markets. The MM system comprises two main components: geometry, used for measuring the price movements of the specified market, and a set of rules based on the Gann technique and Japanese candlesticks.

Digital High Pass (KGHP) indicator.

I am sharing this pyramid. It is not perfect but works for me.

1...9293949596979899100101