| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| All ports used up on windows 7 machine https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=2094 |
Page 1 of 1 |
| Author: | garyfritz [ Wed May 08, 2013 3:01 am ] |
| Post subject: | Re: All ports used up on windows 7 machine |
Do you really want to act on every tick? As you said sometimes that's too fast. Other times it may be too slow? You could put the EA into a loop and look once per second or whatever. That would probably prevent runnung out of ports...? |
|
| Author: | garyfritz [ Wed May 08, 2013 3:50 pm ] |
| Post subject: | Re: All ports used up on windows 7 machine |
I seem to remember there are reasons why you don't want to put loops in init() -- i.e. it has to return from init() to finish setting things up or something -- but I'm not sure. Just put the loop in start() and never exit the function. But once per minute!? For a trade copier you want a lot better response than that! I'd loop once per second or so. |
|
| Author: | mobthehop [ Sat May 11, 2013 8:43 am ] |
| Post subject: | Re: All ports used up on windows 7 machine |
FrinkFX - just stumbled over this little proggy- maybe it helps to shed some light on what is going on... http://www.gaijin.at/en/dlopview.php Cheers / Mop |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|