Page 1 of 1

Bracket EA reads from xls

Posted: Fri Sep 04, 2009 4:27 am
by MarketSlayer
This EA is great to enter parameters into and xls for Entry, Stop Loss, Take Profit 1, 2,3 and assign Lots per order for LONG and SHORT.
Trade management is key. When the Long order is triggered, the Shorts are cancelled.
When the first Take Profit is hit, the Stop Loss on the two remaining orders is slammed up to Break even.
If trades are not hit by 2pm the following day, all are cancelled.
I use this on a MT4 UK account so I can hedge or place Longs and Shorts at the same time.
I enter the trade data in the xls with formulas to calculate the stop etc.
Then when you save it as a .csv, it strips out the formulas and just the values are saved.(see the code for the path details)
Then attach the EA to the chart and at the first tick, it slams in all the trades.
Give it a whirl in a practice account and watch it manage the trades...very powerful. DISCLAIMER....DO NOT USE THIS IN A LIVE ACCOUNT
USE AT YOUR OWN RISK...NOT RESPONSIBLE FOR ANY LOSSES...ETC ETC