Errors, bugs, questions - page 1622

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
It seems to be about the sometimes unclosed windows from visual testing. I can't reproduce it, though. It's working now.
Have you been testing or optimising? If the latter, there are indeed problems with this.
Here is the script that brings up the "File" menu - item "Connect to trading account" - click on the "OK" button - thus the terminal will connect to the last trading account that was authored:
_IsX64 cannot be used in this way. It is only relevant at runtime.
Have you been testing or optimising? If the latter, there are indeed problems with this.
_IsX64 cannot be used in this way. It only matters at runtime.
Thanks for the tip. Corrected it and made it as a include file:
Unfortunately, not always. If there is no connection for a long time, the terminal shows "Account disable" and then you have to login manually. This happens e.g. at a fund where the servers are usually switched off at night.
Here is the solution: EA periodically checks connection status to the trade server(TERMINAL_CONNECTED) and if the returned value is "0", it calls (using WIn API) "File" menu, "Connect to trade account" item. The include file where the menu click function is implemented can be found here. Example of an EA:
Advisor checks connection status every 12 seconds and erases comments every once in a while.
How do I connect an array file to my EA?
First, the script writes an array:
I connect the file in the EA:
#include <mas.dat>
When compiling, errors:
'??????????????????????????t????...' - identifier is too long mas.dat 1 1
'' - unknown symbol mas.dat 1 3015
How do I connect an array file to my EA?
First, the script writes an array:
I connect the file in the EA:
When compiling, errors:
'??????????????????????????t????...' - identifier is too long mas.dat 1 1
'' - unknown symbol mas.dat 1 3015
Here is the solution: EA periodically checks connection status to the trade server(TERMINAL_CONNECTED) and if the returned value is "0", it calls (using WIn API) "File" menu, "Connect to trade account" item. The include file in which the menu click function is implemented can be found here. Example of an EA:
The advisor checks the connection status every 12 seconds and erases the comments every once in a while.