blazecrown » Sun Aug 24, 2014 3:35 am wrote:
I believe I understand what the problem is and how it should be fixed. But can you please share the statements, incl. date and time (and time zone or broker) for the trades?
hi TheInsider, i already changed the S/L and T/P parameters after i removed the EA... but here are the details of the ALR transactions before i removed the EA from the chart (FxPro Demo, New York time):
1st transaction: Buy 0.15 lot @GBPJPY 170.980, Time: 2014.08.14 18:05:13, ALR Zone: 34.7 pips, T/P: 100 pips
2nd transaction: Sell 0.32 lot @ 170.633, Time: 2014.08.15 18:54:03 (left this open on a weekend)
3rd transaction: this is where the gap happened. a pending Buy Stop @ 170.980
I did a backtest with my version of ALR Maneger (I will share it soon).
First, your initial Buy order at 2014.08.14 18:05:13 New York time = GMT - 4h = 22:05:13 GMT.
SL (aka ALR zone) = 34.7 pip, TP = 100 pip.
DukasCopy TickData (GMT)
Date Time, Bid, Ask
2014.08.14 22:05:09.479,170.968,170.994
2014.08.14 22:05:19.629,170.969,170.994
So the prices are not exactly the same.
In my test, the Buy order was opened at 22:05 with the Ask price 170.994, and a total of 3 positions (the initial position and 2 hedged positions was executed, excluding the 4th order that was opened as a pending order but then deleted at the same time as all market orders was closed.
But my test shows a different lot size increment: 0.15, 0.26, 0.26, 0.35 based on...
Profit = 50
SL = 34.7 pip ( aka ALR zone )
TP = 100 pip
Commission = 10 per lot
Tickvalue = 0.9696
The lot sizes can also be confirmed with my
ALR-Calculations_v_1.1.xls
However, the lot size increment will change if the Profit is set to another value.
Here all 3 orders was closed with a net profit of $38.62
In my ALR TradeManager it doesn't matter if there's a price gap, because once the basket are in profit (or as close to Breakeven as possible), any hit of SL or TP will close the entire basket of open market orders and delete any pending order.
You do not have the required permissions to view the files attached to this post.