You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Right here is where the polling takes place.
Reading a variable in an interval and acting upon it is polling. Only if the DLL side could "directly" inform the EA without any delays, I wouldn't consider it polling.
Now I'll return the question to you: where does the polling take place here?
From what I can see the second EAs thread will get blocked but without polling (would be waked up by some form of synchronization primitive)
I think you might be mixing up polling and blocking. ChatGPT gives a surprisingly good comparision: https://chat.openai.com/share/66952c20-2f72-45cd-ac7c-6cdd71b71b79
The latency from blocking and waking the thread once a signal is ready seems to be 10-20 microseconds on my hardware. orders of magnitude faster than what possible using manual polling in OnTick or OnTimer.
If my plan will actually work out we'll see :), i feel like there could be something I missed
I'll come back later to the link you sent
The latency from blocking and waking the thread once a signal is ready seems to be 10-20 microseconds on my hardware. orders of magnitude faster than what possible using manual polling in OnTick or OnTimer.
If my plan will actually work out we'll see :), i feel like there could be something I missed
I'll come back later to the link you sent