Discussion of article "Step-by-Step Guide to Writing an Expert Advisor in MQL5 for Beginners" - page 10

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
when compiling it gives an error
return value of 'OrderSend' should be checked my_first_ea.mq5 211 10
what could be wrong?
when compiling it gives an error
return value of 'OrderSend' should be checked my_first_ea.mq5 211 10
what can be wrong?
Hello! Can I ask you a question? Does the Expert Advisor trade with accuracy up to seconds? That is, if I need to open and close trades not just in a certain hour and minute, but also in a certain second?
Hello! Can I ask you a question? Does the Expert Advisor trade with accuracy up to seconds? That is, if I need to open and close trades not just in a certain hour and minute, but also in a certain second?
A minute consists of a hundred seconds - which one do you want ?
I don't get it!? A minute consists of 60 seconds. I program the Expert Advisor to open a position for example at 12:30 and I need it to trigger at 45 seconds. When I set 12:30 everything works, the deal is opened, but when I try to add seconds it doesn't work!!!??
Here is the code itself:
extern int tp = 1000;
Here is the code itself:
extern int tp = 1000;
Can you tell me more please! Is it possible to open and close positions in Expert Advisors, clearly by time in seconds, regardless of ticks, like a regular timer. That is, if the clock is 12:52:25, then the position would open, and not wait for a new tick, as well as with closing?