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 Expert Advisors for MetaTrader 4 based on user ratings

Submit your code

alerts the user if the macd is above 0.0006 on 5m or below -0.0006 on 5m

An expert advisor designed to open and close orders at every first parabolic SAR signal i.e. when sequence shifts from below the price to above and vice.

An expert advisor designed to alert you when every first parabolic SAR dot in a sequence appears.

EA designed on the idea of the indicator Nik_PSAR_2B. EA works on the Symbol = "EURUSD" and Period = M1.

simple trail stop loss code example.

This EA monitors existing trades and automatically closes all profitable positions when a MA crossover signal is detected. Additionally, it provides real-time statistics for individual buy and sell profits, allowing traders to stay fully informed about their profits.

The EA created sell/buy limit orders according to: - Grid number of orders - Trading range (computed automatically by uwing weekly highs and lows) - Current price

This EA allows you to open trades with predefined TP, SL, and Lot Size parameters with just one click. It automatically handles pipette conversions and displays real-time Buy and Sell profits directly on the chart.

a Simple Visual Strategy Tester / Manual Trade Training using Martingale.

Virtual SL TP Pending with SL Trailing for Symbol Chart

Classic & Virtual Trailing for MT4

This EA works by automatically detecting all your profitable trades and closing them with a single click. Designed for traders who seek efficiency, this EA takes the hassle out of manually managing multiple positions and ensures your gains are locked in with precision.

Automatically closes all open trades when the total profit reaches your defined Profit threshold.

Adviser Starter v6mod. Uses indicator EMA Angle Zero.

this shortcode will calculate the drawdown of a particular ea, where it is applied to a specified symbol.

This MQL4 EA is designed to close positions for a basket of currency pairs based on certain profit and loss thresholds.

This code can detect if its a friday of the first week of the month. It is usually to detect days with NFP. Sone trader dont want to trade at that day. Maybe this code can help some one who need it

The strategy underlying this EA is based on the indicator of MA.

Forex Second Chance EA is a modification of Moving Average Convergence Divergence EA. Here, I have included "TrendShift" to the parameters and it is doing good.

Now with more options. Opens and closes orders on first parabolic SAR signals.

early Range, Break with RSI-Filter, Hedging, TrailingSL/TP with Vola-Filter, DayTrading Start- and Endtime, autoClosing, all Comments and Alerts.

The Dual Profit Closer EA is a powerful automated tool designed to independently close all buy or sell orders once they reach your predefined profit thresholds.

This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.

a Versatile automated trading tool for the MetaTrader 4 platform. This EA is designed to assist traders in managing their positions effectively by offering features such as setting a breakeven point, trailing stop, stop loss, and take profit levels. It works with various input parameters, allowing you to customize its behavior to fit your trading strategy.

This time, we're providing a sample that enters based on the Golden Cross and Dead Cross of the moving averages. If you want to see a sample where a long entry is made when the closing price of the candlestick crosses above the moving average, please refer to this article.

Close_on_PROFIT_or_LOSS_inAccont_Currency

Smart MA Trailing Stop EA automatically adjusts stop losses based on your selected MA period and distance between SL and MA.

The Doji Pattern Detector EA is designed to automatically detect the classic Doji candlestick pattern on any chart. A Doji pattern occurs when the open and close prices of a candle are very close to each other, signaling market indecision. This EA identifies Doji candles where the open and close prices are within a small range and positioned near the midpoint of the candle's high and low.

This expert opens trades based on signals from multiple technical indicators.

Th Expert will set the TP based on the SL manually set using the input multiplier. Using this you can set 2,3,4 etc times the SL set.

Most EAs tend to close orders in take profit based on the distance in pips from the purchase price. However, this MQL4 code is based mainly on the current profit.

Simple one click trade panel, typically useful for scalpers and day traders.

Trading and analysis dashboard which usually provides great trading opportunities during daytime.

At Bookkeeper's request, I've made an "egzpert advizor" by the ZigAndZag indicator, published at: http://codebase.mql4.com/ru/3681

Opens and closes orders using parabolic SAR signals

The Double Bollinger Band Strategy makes use of two Bollinger Bands in order to filter entries and exits in the forex market.

Trailing_StopLoss_for All_orders_and_symbols

Simple continuous trend-following strategy for buying and selling based on predefined conditions

Backtesting Trade Assistant Panel

Close all trades after reaching defined profit or loss

1234567891011121314151617181920212223242526272829