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

Submit your code

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.

OpenOrder script allows you to open an order defining the % of balance to risk, the Stop Loss distance in pips and the Take Profit distance in pips and a magic number.

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.

A simple indicator to draw vertical lines at specified time in the settings.

Stochastic MACD (metatrader 4 version)

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

Trend indicator (separate window)

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

"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 .

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.

in raw form for currency pairs and indices.

The "Camarilla Pivots" indicator. The ideal indicator for those who like to work "by levels". It clearly shows the reversal level, support/resistance levels for the current day.

The indicator finds Doji candlesticks and highlights them on the chart.

Almost classical TS based on the intersection of two MA.

Like MA cross but this indicator shows more valid signal. Buy and Sell Signal appears when it cross each others.

The EA is based on the indicator TREND_alexcud Something goes wrong with it

1...596061626364656667686970717273...102