View Single Post
 
Old 11-19-2006, 01:30 PM
Denkhaus's Avatar
Denkhaus Denkhaus is offline
Junior Member
 
Join Date: Oct 2005
Posts: 6
Denkhaus is on a distinguished road
API-Call checking

hi daraknor,

thank you and the others for your work. I've tested Phoenix_5_6_04 with
MIG - Trading Metatrader and most of the time i get OrderModify Errors 130.

The Errors occur in Mode3_MoveSL_Trade_3() function. I think the reason is that
SL is greater OrderOpenPrice() in a Long order and vicaversa in a Short order.


It seems that the EA code is not fully checked if API Errors happen.
I think we should introduce API call checking for each API call and evaluate
GetLastError() if possible. This would make Phoenix more reliable.

regards

Last edited by Denkhaus; 11-19-2006 at 02:32 PM.