View Single Post
  #5 (permalink)  
Old 02-11-2007, 10:37 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 Loss Reaches a Certain Amount

Attached is an EA to close ALL open trades in your account when the floating loss in your account reaches a certain amount (currently set at -$1000).

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 example2.gif (81.2 KB, 641 views)
Attached Files
File Type: mq4 CloseTrades_After_Account_Loss_TooMuch.mq4 (3.2 KB, 207 views)

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