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

Submit your code

Based on ibull/ibear, but compare power to define good entry bars.

X trader trades using two moving average crosses.

Tracking Variable Spreads with an Offline Chart

GBPJPY 5M Only. Good luck.

My first exad.....comment if any not modified and improve ment running..

A kind of hedging style play base on "BaseSymbol" and hedge "Hedge.Symbol" to reduce the risk including the auto-calculate-correlation-function for all BaseSymbol-Hedge.Symbol.

This is simple copy of STUFIC PRO strategy which you can follow as signal or buy at the market.

RSI average commodity for gold and silver.

Order_EA is a simple visual oriented program that uses drag & drop scripts to control order processing.

The Expert Advisor can be used for Trailing and hidden Take Profit/Stop Loss.

Simple EA template to export trade details from a backtest or live trading to a CSV file.

The indicator is a histogram of the lowest/minimum spread only, given in a candle whilst the indicator has been running. Example scripts for placing buy or sell at the lowest spread are included.

This ZigZag indicator uses dual buffers to store high and low points.

The indicator marks the bars, the size of which exceeds the value specified in the settings.

View current and historical trends of every timeframe.

This is a conversion factor. It is used to detect whether broker is 4 or 5 digits. As MetaTrader 4 calculates everything using point basis, coder can use this function to convert pips to point for machine reading.

The EA using single layer Perceptron.

After back testing, we usually need to analyze the testing result on a new chart which we have loaded our template,in this case we need to copy the objects on the testing chart to the new chart. This script helps to save the objects into a file and show the objects on a new chart.

Set all opened charts to use auto scaling or fixed scaling simultaneously.

"Donchain Channel" EA Trades when there is a retracement from "DONCHAIN CHANNEL" levels has Trailing Stop Loss works on all time frames major forex pairs and stocks NASDAQ.

Bladerunner EA trades with "Fractals" indicator and 20 period moving average strategy has Trailing Stop Loss &Take Profit works on 1H time frame major forex pairs and stocks NASDAQ.

Stochastic MACD (metatrader 4 version)

Trend indicator (separate window)

Indicator DXYvsEXY is the USDX vs EURX with Awesome Oscillator Indicator for MT4.

Collection of ticks with writing data to a file and plotting non-standard charts.

"Buy Sell Stop Buttons" EA sets up 3 buttons for manual trading and allows to predetermine trailing stoploss & take profit, open and close all trades at once.

The Awesome Oscillator indicator is used for trade entry and exit

The indicator demonstrates the trend stops with multicolor dots. In order to distinguish the targets the BrainTrend2Stop uses Blue and Red dots.

Prediction of the daily price ranges.

Williams’ Percent Range Indicator (%R) is a dynamic technical indicator, which determines whether the market is overbought/oversold.

The SmartAssTrade-V2 Forex Expert Advisor is a new update for SmartAssTrade EA Version 1.

This indicator acts by PRICE ACTION to find the strongest trend each day.

Plays sound alerts when the price reaches certain levels, specified by trader.

The Expert Advisor is based on the operation of its predecessor — Forex Fraus (for M1), but using the Envelopes indicator.

Pending Order is an order that will be executed if the price touches a point that we specify, in other words open pending order means ordering to open a position at a certain price level. So if price hits a predetermined level, then automatically we have an open trading positions.

The Expert Advisor is designed for placing managing grids.

"Hedg System" EA trades with hedging strategy two trades at any given time: Buy and Sell ,works best on 1D time frames major forex pairs .

Let's say we have 20 open orders on one symbol and want to set takeprofit or stoploss for all of them at the same level(price) .The script selects all open orders of the symbol and can modify stoploss or takeprofit or both at the desired level (price). If the input parameters are left to zero , the stop or the takeprofit are left unchanged .

Simple oscillator with a histogram.

Power of GBP indicator shows actual strength of currency GBP calculated of 7 pairs that contain GBP. Indicator can be used for strategies based on mean reversion and/or correlation. Included pairs: EUR GBP, GBP USD, GBP JPY, GBP AUD, GBP CAD, GBP NZD, GBP CHF.

1...606162636465666768697071727374...102