[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 192
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
What I meant was this.
Well, I wrote that I want it in init, because if you make a flag in the start - it will be checked every time
Dear MQL4 users! I would like to know what kind of profitability of the Expert Advisor (for example, for one year) you think is worthy? Not in %, and not in absolute values of the deposit currency. This is secondary. It depends on the lot, on the percentage of used funds. The question is about the profit of the Expert Advisor in pips. I`d like to know the drawdown, but please, don`t make fun of it. The question is not rhetorical! What to strive for????????
Well, I wrote that I want it in init, because if you make a flag at start, it will be checked every time
Well, Victor gave you an idea, why not build on it? I've been using such a design for a long time:
The drawback of this construct is that init() is launched again during reinitialization and not the original data are saved. That's why they suggest using global variables of the terminal in such a construct.
I've given you a lot of ideas - go ahead... :)
Dear MQL4 users! I would like to know what kind of profitability of the Expert Advisor (for example, for one year) you think is worthy? Not in %, and not in absolute values of the deposit currency. This is secondary. It depends on the lot, on the percentage of used funds. The question is about the profit of the Expert Advisor in pips. I`d like to know the drawdown, but please, don`t make fun of it. The question is not rhetorical! What to strive for????????
There is no definite answer to this question.
It does not matter how much money the Expert Advisor may earn, what is important is that it does not lose the deposit.
Strive to create an Expert Advisor, which you could entrust with any amount of money.
1. Well, Victor gave you an idea, why not build on it?
2. I've been using such a design for a long time
1. I told you - because if you make a flag at start - it will be checked every time.
2. how to wait for and remember the time of first tick in milliseconds i can't see
1. I told you - because if you make a flag at the start - it will be checked every time.
2. how to wait and remember the time of the first tick in milliseconds I do not see
take out what? the tick time? but how do you wait for it in init-e?
Why actually init?
Wait at start, write it to global, if you are afraid of losing it, write it to the terminal's global.