|
Hi icfxtrader. I re-did the lot-size code, it should work now.
A few points to bear in mind though, first, its uses the Ordershistorytotal() function to determine lotsize, which has never worked correctly on backtest (unless Metaquotes has fixed this, which I seriously doubt), and second, in order to ensure the EA works correctly, you must manually select 'All History' on the 'Accounts History' tab. (right-click it and select 'All History')
Edit: Problem seems to be a 'recovery' issue - restored 'original' code & added recovery code...
Last edited by omelette; 08-13-2008 at 12:14 AM.
Reason: Oops, more gremlins...
|