View Single Post
  #4 (permalink)  
Old 02-11-2007, 10:32 AM
Tradinator's Avatar
Tradinator Tradinator is offline
Junior Member
 
Join Date: Feb 2007
Posts: 8
Tradinator is on a distinguished road
EA to Close All Open Trades When Your Account Floating Profit Reaches a Certain Amoun

Attached is a EA to close ALL open trades in your account when the profit in your account reaches an amount that you want (currently set at $300).

For example, if you are using 2 or more different EAs on your account, then this EA will close all open trades on your account, regardless of which ever EA made them or the currency pair - it will close ALL open positions whether they were made by an EA or manually.


The EA can be put on any chart, but is best to put the EA on a symbol with lots of tick movements like gbpusd, gbpchf or gbpjpy.

See the picture attached for a setup example.
Attached Images
File Type: gif example1.gif (81.0 KB, 668 views)
Attached Files
File Type: mq4 CloseTrades_After_Account_Profit_Reached.mq4 (2.5 KB, 291 views)

Last edited by Tradinator; 02-11-2007 at 03:51 PM.
Reply With Quote