Watch how to download trading robots for free
Find us on Twitter!
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 5 based on user ratings - 38

Submit your code

Slightly improved version of the previous one.

& moving average , two rsi filters.

This MT5 Expert Advisor opens multiple buy and sell orders based on user input, featuring a simple interface with Buy and Sell buttons. The EA calculates lot size, checks the spread against slippage, and places orders accordingly. It is essential to test this EA in a demo account before using it in live trading.

Just a very simple expert that execute orders from a text file.

Simple EA on 'iVIDyA' indicator

Detecting the start of a new bar or candle, in the OnTick() event handler of an expert advisor.

An automated trading system with a data panel in form of the OBJ_LABEL objects.

This EA started off as a job to trail equity. I then added the function of managing individual trades. Thereafter I added the facility of manually putting the price of when it can send a grid of pending order's. This EA does not have condition set in it to open trades. You have to determine that if market moves to an area you believe you would open a grid of orders if you were by your computer watching the market. No what this EA helps is you wake up in the morning you see the area you a grid to open. PUT THE PRICE FOR THE EA TO OPEN A GRID OF PENDING ORDERS. If the market reaches the area price you have set. The EA will send the grid and will manage those trades putting Stop Loss (if you set it) trailing(if you set it). Today 13 Sep 2022 the EA generates has NO ERROR when compiled

Strategy based on the 'DeMarker' indicator, working with pending orders

Strategy based on the custom indicator 'RSI_MAonRSI_Filling'. The minimum step is set between positions

Finalization of previous version. Now, when opening a 'SELL' position, we immediately close all 'BUY' positions and vice versa: when opening a 'BUY' position, we immediately close all 'SELL' positions

Checks if Metatrader5 Terminal is connected to Internet or not. The expert will Print a message for the connectivity status

Open Pending order After Position Get StopLoss

This code use detect economic calendar and put pending order before released news time

Modify to allow direct specification of the starting point of the Parabolic SAR.

Trading strategy based on the custom indicator 'MA on Momentum'

Shows the optimal position size through a comment from a symbol chart based on a risk percentage on daily ATR, you can use either balance or equity.

Takes trades based on ICT silverbullet and 2022 model with trailing stops and partials, also keeps entry according to OTE, and risk minimal. It works in a small time window of silver bullet especially NY session, and if no trade found, 2022 model and fibonacci OTE jumps in to get a trade. But entry is so only after confirmation with these models being there, hence trades will be less for minimal drawdown and high winrate. To know more about these strategies, you may visit Inner Circle Trader YouTube channel.

Very simplified code: intersection of two custom indicators 'MA Other TimeFrame Correct'. There is no Stop Loss, Take Profit or Trailing.

Expert is a joke! The position is opened at random!

This EA collects information about the spread and shows the statistics on the chart. When the EA ends its working, it prints all statistics to the Journal, which can be useful for the Strategy Tester.

This EA collects information about the spreads and Shows the number of spreads in the specified range based on the ticks that occur each year.

This EA can Calculate each trade volume base on received TP and SL Prices and Risk percent of account in each trade.

trending breakout

This is a simple EA test code I made for adapting Candlepatterns.mqh

Set Trailing Stop only when profit

Single Currency or Manual orders Closing or deleting sections are very easy to understand but if you have a question you leave it at comment section. The code check for Comment to detect the Orders to close or delete for multi currencies EA in case the input EAComment is empty It will close according to type of close. It supports prefix or suffix of EA Comment. Many options can be added if you are interested on developping it more you can leave your suggestion on comment section.

Trading strategy for the custom indicator 'CHO Smoothed EA'

Calculates Brokerage, Commission or Slippage based on the Input on the strategy Tester

Use protect profit after open position

pips in time

For MT5, When Press the Button, it will delete all STOP LOSS and TAKE PROFIT applied to Current Open Market positions. For All Symbols. The panel is based on the CDialog class, works for all symbols

Trading strategy for the custom indicator 'OsMA Four Colors Arrow EA'

Reverse candle patterns

Proportional grid distance, open long and short orders at the same time, skip two grids to take profit; When the equity recaches the take profit of setting, close all positions and restart.

Around the moving average index to set grid.

This code use close all profit at end of week for currency pair

macd divergence and rsi filter

Check exists pending order prevent duplicate create pending order

1...3132333435363738