| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| TargetCloseAllTradesBE" when it "ClosePair (symbol)" https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4844 |
Page 1 of 1 |
| Author: | traderduke [ Sat Jul 30, 2016 1:36 pm ] |
| Post subject: | TargetCloseAllTradesBE" when it "ClosePair (symbol)" |
Hi I just started using TargetCloseAllTradesBE with the EmergPairLossPerc option (line 37), on BnG pg88. I identify the EA this way because their are same name EAs without the newest option. The problem is "TargetCloseAllTradesBE" when "EmergPairLossPerc" calls for "ClosePair (symbol)" in BnG the errors are caused by the pending orders. The pending orders do get closed evently but with nuuuuuumerous failures. When you have hundreds of pending it can a lot of failures. We need a EA coder to close pending orders properly. Thank you for your help Ray See attached: |
|
| Author: | renexxxx [ Sat Jul 30, 2016 8:24 pm ] |
| Post subject: | TargetCloseAllTradesBE" when it "ClosePair (symbol)" |
Your version of ClosePair(string pair): Code: Select all Code: Select all Code: Select all And, one other thing, get rid of the second OrderSelect() ... the order has already been selected, no need to select it again. R. |
|
| Author: | traderduke [ Sun Jul 31, 2016 12:10 pm ] |
| Post subject: | TargetCloseAllTradesBE" when it "ClosePair (symbol)" |
Rene Thanks for your help, I'll test it this week! Ray |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|