Range Rider EA

This is a very simple Expert Advisor for the Metatrader 4 platform. It is designed to place buy and sell orders at certain prices, with fixed profit levels, and loop until the command is given to close all open orders.

The following variables will be used -

SYMBOL = the currency pair to be used e.g. EUR USD

LOTSIZE = order size e.g. 0.05 lots

SELL PRICE = the pending price at which a sell order is placed

BUYPRICE = the pending price at which a buy order is placed

PROFITPIPSELL = the number of pips profit target before the sell order is closed

PROFITPIPBUY = the number of pips profit target before the buy order is closed

AGGPROFIT = The total profit target in base currency since the EA was launched. If set to 0 this feature is disabled. If it set to, say 50, then when the total aggregate profit of 50 units of base currency is reached, including the cost of closing the current open trade at a profit / loss is reached the EA will disable itself and place no further trades.

If the current price is in between, or outside the buy and sell price range, then it simply waits until it crosses one of the threshold values for buy or sell.

It then places a buy or a sell trade. If the trade closes in profit, it immediately sets up a new trade in the opposite direction as per the buy and sell variables.

It does this in a continuous loop for both buy and sell trades, until any open trades are closed manually or the preset aggregate profit target is met.

Here is an example from the EUR USD - We want to take profit from a tight range so we set it up for a 12 pip profit target as follows :-



SELLPRICE = 1.3432

BUYPRICE = 1.3420




The price is 1.3440 when the EA is loaded, and the EA waits for the price to to touch 1.3432, then opens up a 0.1 lot sell trade. This closes in profit and the EA opens up a buy trade at 1.3420. The price moves back up and the buy trade closes in profit back at 1.3432, when another sell trade is opened. This goes on for several hours and eventually after 5 winning trades the agg profit reaches 60 pips with the current trade losing by 10 pips - so we have met our profit target and can shut down the EA.

Habilidades: Engenharia, Gestão de projetos, Arquitetura de software, Teste de Software

Veja mais: open buy open sell, simple loop command, profit close, open orders, total engineering project management, pending order sell buy price, buy sell open price, usd engineering, sell order number, expert close trade, moves profit, eur expert advisor, pending order metatrader, place buy sell, project expert advisor, buy sell currency, closing trade, sell trade, expert advisor eur usd, close orders, total price units, expert advisor profit, range expert advisor, rider, trade management expert advisor

Acerca do Empregador:
( 5 comentários ) Chapel-en-le-Frith, United Kingdom

ID do Projeto: #3065814

Concedido a:


See private message.

$29.75 USD em 14 dias
(19 Comentários)

6 freelancers estão ofertando em média $54 para esse trabalho


See private message.

$63.75 USD in 14 dias
(111 Comentários)

See private message.

$55.25 USD in 14 dias
(39 Comentários)

See private message.

$63.75 USD in 14 dias
(18 Comentários)

See private message.

$59.5 USD in 14 dias
(1 Comentário)

See private message.

$51 USD in 14 dias
(1 Comentário)