51

Re: Multiple Unwanted Adds to a Position

thanks; didn'r know that's where expert was wriitng   As best I can tell, this is the  log for April 20 15m USDCHY incident I was describing in my post. 

FST Request: Add to the current position.
2012.04.20 17:08:55,USDCHF iargs[0]=1 iargs[1]=78 iargs[2]=0 iargs[3]=0 iargs[4]=0 dargs[0]=0.01000 dargs[1]=0.91013 dargs[2]=958.00000 dargs[3]=453.00000 dargs[4]=0.00000 TS0=0;BRE=334
2012.04.20 17:08:57,SendOrder OrderSend(USDCHF, 1, Lots=0.01, Price=0.91013, Slippage=78, StopLoss=0.91997, TakeProfit=0.90586, "ID = 3", Magic=3), Response=19080428, LastError=0
2012.04.20 17:08:57,OpenNewPosition SendOrder orderResponse=19080428
2012.04.20 17:08:57,AggregatePosition Ticket=19080428, Type=Short, Time=21:37:01, OpenPrice=0.91316, Lots=0.05, Profit=15.14, Commission=0.00, StopLoss=0.91997, TakeProfit=0.90586, "ID = 3"
2012.04.20 17:08:57,AddToCurrentPosition OpenNewPosition orderResponse=19080428
2012.04.20 17:08:57,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19061490, Price=0.91581, StopLoss=0.91998, TakeProfit=0.90587) Response=1 LastError=0
2012.04.20 17:08:57,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19062547, Price=0.91555, StopLoss=0.91998, TakeProfit=0.90587) Response=0 LastError=1
2012.04.20 17:08:57,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19062547, Price=0.91555, StopLoss=0.91998, TakeProfit=0.90587) Response=0 LastError=1
2012.04.20 17:08:58,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19062547, Price=0.91555, StopLoss=0.91998, TakeProfit=0.90587) Response=0 LastError=1
2012.04.20 17:08:58,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19062547, Price=0.91555, StopLoss=0.91998, TakeProfit=0.90587) Response=0 LastError=1
2012.04.20 17:08:58,Error in FST Request OrderSend: No error

FST Request: Add to the current position.
2012.04.20 17:08:59,USDCHF iargs[0]=1 iargs[1]=78 iargs[2]=0 iargs[3]=0 iargs[4]=0 dargs[0]=0.01000 dargs[1]=0.91013 dargs[2]=958.00000 dargs[3]=453.00000 dargs[4]=0.00000 TS0=0;BRE=334
2012.04.20 17:09:00,SendOrder OrderSend(USDCHF, 1, Lots=0.01, Price=0.91013, Slippage=78, StopLoss=0.91997, TakeProfit=0.90586, "ID = 3", Magic=3), Response=19080429, LastError=0
2012.04.20 17:09:00,OpenNewPosition SendOrder orderResponse=19080429
2012.04.20 17:09:00,AggregatePosition Ticket=19080429, Type=Short, Time=21:37:01, OpenPrice=0.91265, Lots=0.06, Profit=16.59, Commission=0.00, StopLoss=0.91997, TakeProfit=0.90586, "ID = 3"
2012.04.20 17:09:00,AddToCurrentPosition OpenNewPosition orderResponse=19080429
2012.04.20 17:09:00,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19061490, Price=0.91581, StopLoss=0.91970, TakeProfit=0.90559) Response=1 LastError=0
2012.04.20 17:09:00,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19062547, Price=0.91555, StopLoss=0.91970, TakeProfit=0.90559) Response=0 LastError=1
2012.04.20 17:09:00,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19062547, Price=0.91555, StopLoss=0.91970, TakeProfit=0.90559) Response=0 LastError=1
2012.04.20 17:09:00,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19062547, Price=0.91555, StopLoss=0.91970, TakeProfit=0.90559) Response=0 LastError=1
2012.04.20 17:09:00,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19062547, Price=0.91555, StopLoss=0.91970, TakeProfit=0.90559) Response=0 LastError=1
2012.04.20 17:09:00,Error in FST Request OrderSend: No error

SetBreakEvenStop
2012.04.20 17:11:11,BreakPrice=0.91265
2012.04.20 17:11:12,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19061490, Price=0.91581, StopLoss=0.91265, TakeProfit=0.90559) Response=1 LastError=0

FST Request: Add to the current position.
2012.04.20 22:13:05,USDCHF iargs[0]=1 iargs[1]=78 iargs[2]=0 iargs[3]=0 iargs[4]=0 dargs[0]=0.01000 dargs[1]=0.90895 dargs[2]=958.00000 dargs[3]=453.00000 dargs[4]=0.00000 TS0=0;BRE=334
2012.04.20 22:13:07,SendOrder OrderSend(USDCHF, 1, Lots=0.01, Price=0.90895, Slippage=78, StopLoss=0.91879, TakeProfit=0.90468, "ID = 3", Magic=3), Response=19081969, LastError=0
2012.04.20 22:13:07,OpenNewPosition SendOrder orderResponse=19081969
2012.04.20 22:13:07,AggregatePosition Ticket=19081969, Type=Short, Time=21:37:01, OpenPrice=0.90974, Lots=0.03, Profit=1.70, Commission=0.00, StopLoss=0.91879, TakeProfit=0.90468, "ID = 3"
2012.04.20 22:13:07,AddToCurrentPosition OpenNewPosition orderResponse=19081969
2012.04.20 22:13:07,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080428, Price=0.91013, StopLoss=0.91880, TakeProfit=0.90469) Response=1 LastError=0
2012.04.20 22:13:07,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080429, Price=0.91013, StopLoss=0.91880, TakeProfit=0.90469) Response=0 LastError=1
2012.04.20 22:13:08,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080429, Price=0.91013, StopLoss=0.91880, TakeProfit=0.90469) Response=0 LastError=1
2012.04.20 22:13:08,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080429, Price=0.91013, StopLoss=0.91880, TakeProfit=0.90469) Response=0 LastError=1
2012.04.20 22:13:08,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080429, Price=0.91013, StopLoss=0.91880, TakeProfit=0.90469) Response=0 LastError=1
2012.04.20 22:13:08,Error in FST Request OrderSend: No error

FST Request: Add to the current position.
2012.04.20 22:13:17,USDCHF iargs[0]=1 iargs[1]=78 iargs[2]=0 iargs[3]=0 iargs[4]=0 dargs[0]=0.01000 dargs[1]=0.90895 dargs[2]=958.00000 dargs[3]=453.00000 dargs[4]=0.00000 TS0=0;BRE=334
2012.04.20 22:13:17,SendOrder OrderSend(USDCHF, 1, Lots=0.01, Price=0.90895, Slippage=78, StopLoss=0.91879, TakeProfit=0.90468, "ID = 3", Magic=3), Response=19081970, LastError=0
2012.04.20 22:13:17,OpenNewPosition SendOrder orderResponse=19081970
2012.04.20 22:13:17,AggregatePosition Ticket=19081970, Type=Short, Time=21:37:01, OpenPrice=0.90954, Lots=0.04, Profit=1.44, Commission=0.00, StopLoss=0.91879, TakeProfit=0.90468, "ID = 3"
2012.04.20 22:13:17,AddToCurrentPosition OpenNewPosition orderResponse=19081970
2012.04.20 22:13:18,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080428, Price=0.91013, StopLoss=0.91879, TakeProfit=0.90468) Response=0 LastError=1
2012.04.20 22:13:18,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080428, Price=0.91013, StopLoss=0.91879, TakeProfit=0.90468) Response=0 LastError=1
2012.04.20 22:13:18,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080428, Price=0.91013, StopLoss=0.91879, TakeProfit=0.90468) Response=0 LastError=1
2012.04.20 22:13:18,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080428, Price=0.91013, StopLoss=0.91879, TakeProfit=0.90468) Response=0 LastError=1
2012.04.20 22:13:18,Error in FST Request OrderSend: No error

FST Request: Add to the current position.
2012.04.20 22:13:32,USDCHF iargs[0]=1 iargs[1]=78 iargs[2]=0 iargs[3]=0 iargs[4]=0 dargs[0]=0.01000 dargs[1]=0.90892 dargs[2]=958.00000 dargs[3]=453.00000 dargs[4]=0.00000 TS0=0;BRE=334
2012.04.20 22:13:32,SendOrder OrderSend(USDCHF, 1, Lots=0.01, Price=0.90892, Slippage=78, StopLoss=0.91876, TakeProfit=0.90465, "ID = 3", Magic=3), Response=19081974, LastError=0
2012.04.20 22:13:32,OpenNewPosition SendOrder orderResponse=19081974
2012.04.20 22:13:32,AggregatePosition Ticket=19081974, Type=Short, Time=21:37:01, OpenPrice=0.90942, Lots=0.05, Profit=1.24, Commission=0.00, StopLoss=0.91876, TakeProfit=0.90465, "ID = 3"
2012.04.20 22:13:32,AddToCurrentPosition OpenNewPosition orderResponse=19081974
2012.04.20 22:13:33,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080428, Price=0.91013, StopLoss=0.91877, TakeProfit=0.90466) Response=1 LastError=0
2012.04.20 22:13:33,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080429, Price=0.91013, StopLoss=0.91877, TakeProfit=0.90466) Response=0 LastError=1
2012.04.20 22:13:33,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080429, Price=0.91013, StopLoss=0.91877, TakeProfit=0.90466) Response=0 LastError=1
2012.04.20 22:13:33,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080429, Price=0.91013, StopLoss=0.91877, TakeProfit=0.90466) Response=0 LastError=1
2012.04.20 22:13:33,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080429, Price=0.91013, StopLoss=0.91877, TakeProfit=0.90466) Response=0 LastError=1
2012.04.20 22:13:33,Error in FST Request OrderSend: No error

FST Request: Add to the current position.
2012.04.20 22:13:36,USDCHF iargs[0]=1 iargs[1]=78 iargs[2]=0 iargs[3]=0 iargs[4]=0 dargs[0]=0.01000 dargs[1]=0.90897 dargs[2]=958.00000 dargs[3]=453.00000 dargs[4]=0.00000 TS0=0;BRE=334
2012.04.20 22:13:36,SendOrder OrderSend(USDCHF, 1, Lots=0.01, Price=0.90897, Slippage=78, StopLoss=0.91881, TakeProfit=0.90470, "ID = 3", Magic=3), Response=19081975, LastError=0
2012.04.20 22:13:36,OpenNewPosition SendOrder orderResponse=19081975
2012.04.20 22:13:36,AggregatePosition Ticket=19081975, Type=Short, Time=21:37:01, OpenPrice=0.90934, Lots=0.06, Profit=0.73, Commission=0.00, StopLoss=0.91881, TakeProfit=0.90470, "ID = 3"
2012.04.20 22:13:36,AddToCurrentPosition OpenNewPosition orderResponse=19081975
2012.04.20 22:13:36,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080428, Price=0.91013, StopLoss=0.91881, TakeProfit=0.90470) Response=0 LastError=1
2012.04.20 22:13:36,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080428, Price=0.91013, StopLoss=0.91881, TakeProfit=0.90470) Response=0 LastError=1
2012.04.20 22:13:36,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080428, Price=0.91013, StopLoss=0.91881, TakeProfit=0.90470) Response=0 LastError=1
2012.04.20 22:13:36,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080428, Price=0.91013, StopLoss=0.91881, TakeProfit=0.90470) Response=0 LastError=1
2012.04.20 22:13:36,Error in FST Request OrderSend: No error

FST Request: Add to the current position.
2012.04.20 22:14:00,USDCHF iargs[0]=1 iargs[1]=78 iargs[2]=0 iargs[3]=0 iargs[4]=0 dargs[0]=0.01000 dargs[1]=0.90895 dargs[2]=958.00000 dargs[3]=453.00000 dargs[4]=0.00000 TS0=0;BRE=334
2012.04.20 22:14:00,SendOrder OrderSend(USDCHF, 1, Lots=0.01, Price=0.90895, Slippage=78, StopLoss=0.91879, TakeProfit=0.90468, "ID = 3", Magic=3), Response=19081976, LastError=0
2012.04.20 22:14:00,OpenNewPosition SendOrder orderResponse=19081976
2012.04.20 22:14:00,AggregatePosition Ticket=19081976, Type=Short, Time=21:37:01, OpenPrice=0.90929, Lots=0.07, Profit=0.57, Commission=0.00, StopLoss=0.91879, TakeProfit=0.90468, "ID = 3"
2012.04.20 22:14:00,AddToCurrentPosition OpenNewPosition orderResponse=19081976
2012.04.20 22:14:00,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080428, Price=0.91013, StopLoss=0.91879, TakeProfit=0.90468) Response=0 LastError=1
2012.04.20 22:14:00,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080428, Price=0.91013, StopLoss=0.91879, TakeProfit=0.90468) Response=0 LastError=1
2012.04.20 22:14:00,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080428, Price=0.91013, StopLoss=0.91879, TakeProfit=0.90468) Response=0 LastError=1
2012.04.20 22:14:01,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080428, Price=0.91013, StopLoss=0.91879, TakeProfit=0.90468) Response=0 LastError=1
2012.04.20 22:14:01,Error in FST Request OrderSend: No error

FST Request: Add to the current position.
2012.04.20 22:14:11,USDCHF iargs[0]=1 iargs[1]=78 iargs[2]=0 iargs[3]=0 iargs[4]=0 dargs[0]=0.01000 dargs[1]=0.90895 dargs[2]=958.00000 dargs[3]=453.00000 dargs[4]=0.00000 TS0=0;BRE=334
2012.04.20 22:14:11,SendOrder OrderSend(USDCHF, 1, Lots=0.01, Price=0.90895, Slippage=78, StopLoss=0.91879, TakeProfit=0.90468, "ID = 3", Magic=3), Response=19081978, LastError=0
2012.04.20 22:14:11,OpenNewPosition SendOrder orderResponse=19081978
2012.04.20 22:14:11,AggregatePosition Ticket=19081978, Type=Short, Time=21:37:01, OpenPrice=0.90924, Lots=0.08, Profit=0.28, Commission=0.00, StopLoss=0.91879, TakeProfit=0.90468, "ID = 3"
2012.04.20 22:14:11,AddToCurrentPosition OpenNewPosition orderResponse=19081978

FST Request: Add to the current position.
2012.04.20 23:15:48,USDCHF iargs[0]=1 iargs[1]=78 iargs[2]=0 iargs[3]=0 iargs[4]=0 dargs[0]=0.01000 dargs[1]=0.90885 dargs[2]=958.00000 dargs[3]=453.00000 dargs[4]=0.00000 TS0=0;BRE=334
2012.04.20 23:15:48,SendOrder OrderSend(USDCHF, 1, Lots=0.01, Price=0.90885, Slippage=78, StopLoss=0.91869, TakeProfit=0.90458, "ID = 3", Magic=3), Response=19082265, LastError=0
2012.04.20 23:15:48,OpenNewPosition SendOrder orderResponse=19082265
2012.04.20 23:15:48,AggregatePosition Ticket=19082265, Type=Short, Time=21:37:01, OpenPrice=0.90920, Lots=0.09, Profit=0.87, Commission=0.00, StopLoss=0.91869, TakeProfit=0.90458, "ID = 3"
2012.04.20 23:15:48,AddToCurrentPosition OpenNewPosition orderResponse=19082265
2012.04.20 23:15:48,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080428, Price=0.91013, StopLoss=0.91869, TakeProfit=0.90458) Response=0 LastError=1
2012.04.20 23:15:50,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080428, Price=0.91013, StopLoss=0.91869, TakeProfit=0.90458) Response=0 LastError=1
2012.04.20 23:15:50,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080428, Price=0.91013, StopLoss=0.91869, TakeProfit=0.90458) Response=0 LastError=1
2012.04.20 23:15:50,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080428, Price=0.91013, StopLoss=0.91869, TakeProfit=0.90458) Response=0 LastError=1
2012.04.20 23:15:50,Error in FST Request OrderSend: No error

FST Request: Add to the current position.
2012.04.20 23:15:55,USDCHF iargs[0]=1 iargs[1]=78 iargs[2]=0 iargs[3]=0 iargs[4]=0 dargs[0]=0.01000 dargs[1]=0.90885 dargs[2]=958.00000 dargs[3]=453.00000 dargs[4]=0.00000 TS0=0;BRE=334
2012.04.20 23:15:55,SendOrder OrderSend(USDCHF, 1, Lots=0.01, Price=0.90885, Slippage=78, StopLoss=0.91869, TakeProfit=0.90458, "ID = 3", Magic=3), Response=19082266, LastError=0
2012.04.20 23:15:55,OpenNewPosition SendOrder orderResponse=19082266
2012.04.20 23:15:55,AggregatePosition Ticket=19082266, Type=Short, Time=21:37:01, OpenPrice=0.90917, Lots=0.10, Profit=0.84, Commission=0.00, StopLoss=0.91869, TakeProfit=0.90458, "ID = 3"
2012.04.20 23:15:55,AddToCurrentPosition OpenNewPosition orderResponse=19082266
2012.04.20 23:15:56,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19080428, Price=0.91013, StopLoss=0.91867, TakeProfit=0.90456) Response=1 LastError=0

2012.04.23 05:21:00,MT4-FST Expert version 1.10 Closed.

Re: Multiple Unwanted Adds to a Position

2012.04.20 17:08:58,ModifyPositionByTicket OrderModify(USDCHF, Ticket=19062547, Price=0.91555, StopLoss=0.91998, TakeProfit=0.90587) Response=0 LastError=1
2012.04.20 17:08:58,Error in FST Request OrderSend: No error

Broker returns error on OrderModify where the error is "no error".
when FST sees that it's order is not executed, it sends the order again.
Read this thread: http://forexsb.com/forum/topic/3173/debug-fst-expert/

Update your expert and try again. Be sure that the expert is really updated. The version number is written in the log file and in the MT4 journals.