[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 127

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
In my opinion, this function lacks the closing time of the last profitable trade.
Without it, all losing trades in the history are recalculated, not only the last ones.
So, it should be like this:
Isn't it?
If I have to divide by 0 in the loop, will the calculation stop? The loop will not continue?
I have them too, but to exclude 0 you have to write lots of them everywhere.
so what is the answer to the question?
I have them too, but to exclude 0 you have to write lots of them everywhere.
So what's the answer to the question?
In the logbook it will always say "Division by 0". And no action ....
Only the loop knows what's going on in the loop itself))))
The Expert Advisor will not work.
Why do they often write Symbol() instead of NULL in functions? e.g. iClose(Symbol(), TF, i)
so nothing will happen. The function Funk2 - does not return any value. it is void