Errors, bugs, questions - page 2104

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
So automate the manual search.
So automate the manual override.
Manually, you can see the buffer that draws and distinguish it from the one that calculates
I doubt that the calculation buffers are externally accessible.
Question for the developers. If I have a strategy that needs to read data from a file, how do I do this correctly during the optimisation.
Question for the developers. If my strategy needs to read data from a file, how should I do it during optimization?
Use tester_file directive to pass file to Agent sandbox, and from sandbox read as standard.
Use the tester_file directive to pass the file to the Agent sandbox, and from the sandbox read as standard.
#property tester_file "test_patterns.bin"
correct call? in the header? - for some reason does not want to transfer the file
I put the file in Terminal\Common\Files
Good evening, I need some help with code
The goal is to make my EA work on certain days of the year, I have DayOfYear() function, but it doesn't work as required, for example, I want my EA to work only on 16th day of year, if I set DayOfYear()==16, the result will not be achieved, a good structure for an EA should be like this
- if day of year =16 or 17....... (or date range)->function check1->open order
- if day of the year equals =120 or 135...... (or date range)->function check1->open order
i couldn't find a matching function on the forum, if i've searched too hard, hit me with the nose))))
Good evening, I need some help with code
The goal is to make my EA work on certain days of the year, I have DayOfYear() function, but it doesn't work as required, for example, I want my EA to work only on 16th day of year, if I set DayOfYear()==16, the result will not be achieved, a good structure for an EA should be like this
- if day of year =16 or 17....... (or date range)->function check1->open order
- if day of the year equals =120 or 135...... (or date range)->function check1->open order
I couldn't find a suitable function on the forum, if I've searched badly - poke the nose at))))
You should dig in the direction of the structure
structMqlDateTime
{
intyear;// year
intmon;// month
intday;// day
inthour;// hour
intmin;// minutes
intsec;//seconds
intday_of_week;// day of week (0-Sunday, 1-Monday, ...,6-Saturday )
intday_of_year;// number in a year (1st of January has number 0 )
};