• Overview
  • Reviews (4)
  • Comments (22)
  • What's new

TargetEA

This Expert Advisor is a tool to be used for closing all open positions by ticket in profit. Does not open positions, can only close positions.

You can select the type of profits (pips or currency) and type of tickets (buy or sell) to manage it, and specific ID (magic number).


Parameters

  • ManageBuySellOrders - Way to manage opened orders, as different basket buy from sell, or same basket buy and sell.
  • CloseBuyOrders - Close all buy positions if target achieved.
  • CloseSellOrders - Close all sell positions if target achieved.
  • DeleteBuyPendingPositions - Delete all pending buy positions if target achieved.
  • DeleteSellPendingPositions - Delete all pending sell positions if target achieved.
  • TypeTargetUse - Type of profits used to close positions, in pips or in currency.
  • CloseInProfit - Use target in profit.
  • TargetProfitInPips - Target profit in pips.
  • TargetProfitInCurrency - Target profit in currency.
  • CloseInLoss - Use target in loss.
  • TargetLossInPips - Target loss in pips.
  • TargetLossInCurrency - Target loss in currency.
  • MagicNumber - If use 0, the EA will manage all open positions. If you use -1, the Expert Advisor will manage positions without ID. And if you use greater than 0, it will manage position with the specific ID.
Lev Vladimirovic Marushkin
1238
Lev Vladimirovic Marushkin 2017.11.09 16:45 
 

Works, works and works again. Top Product and best support ever! The author was even so kind to modify the EA for me to meet my needs. That is how mql5 should be! Thank you Nikolaos!

Eleni Anna Branou
6041
Eleni Anna Branou 2017.02.16 12:38 
 

Great tool.

Evolve
232
Evolve 2016.06.20 10:14 
 

Good!

Istvan Hideg
315
Istvan Hideg 2014.11.28 16:32 
 

Awesome EA, works fantastic, thank You !

Version 1.3 - 2017.11.17
Added new option to manage all orders (buy and sell) as one basket.
Changed code to delete pending orders if target is achieved.
Version 1.2 - 2015.04.07
New possibility to delete pending orders.
New design.
Version 1.1 - 2014.12.17
New option to close transactions in loss (Target in profit and/or in loss).