Don't think anything negative about me, for instance. I don't know how you got 30 losses, of course if you get 100 pips stops and takes, then you may get 100 losses.
Here is my example of 1000 pips here and there, 50 orders in different places. The maximum number of losses of just one order is 6 in 10 months. The chart does not trade further as the lots are limited
But here's the problem, the initial deposit of 1000 quid, and drawdowns are a bit too much for me. And if I exclude at least 4-5 losing orders, then I need at least 300-400 quid instead of 1000 green ones.
As for the position value, if you don't open a losing trade, you need to have a commission of 300-400 bucks.
evillive: The smaller the stops - the more times a loss can be incurred. if the size of the stops is comparable to the spread - then there will be hundreds of losing trades, if they are 1000 pips each - then the drawdown will eat everything up.
You'd better offer the function without arrays, eh?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
There's nothing abstruse about it.
Does it work? I'd be surprised if it works ;).
Does it work? I'd be surprised if it works ;).
Don't think anything negative about me, for instance. I don't know how you got 30 losses, of course if you get 100 pips stops and takes, then you may get 100 losses.
Here is my example of 1000 pips here and there, 50 orders in different places. The maximum number of losses of just one order is 6 in 10 months. The chart does not trade further as the lots are limited
But here's the problem, the initial deposit of 1000 quid, and drawdowns are a bit too much for me. And if I exclude at least 4-5 losing orders, then I need at least 300-400 quid instead of 1000 green ones.
Connoisseurs! Help me simplify an expression:
But without a loop! With a loop it's easy, but it's inconvenient to insert it in a condition. Thanks a lot for sure! ;)
x=amount from i=1 to n (i).
4276 0100 2078 8749
And it's not even about the unclosed brackets.)
The smaller the stops - the more times a loss can be incurred. if the size of the stops is comparable to the spread - then there will be hundreds of losing trades, if they are 1000 pips each - then the drawdown will eat everything up.
So, does it work? I'll be surprised if it works ;).
Why not?
Just didn't take into account the new builds and writing "by hand" doesn't guarantee absence of such errors as missing parenthesis.
No it doesn't work :) It's not because of brackets.
The new feature of mql4 is that the array size should be specified.
Why not?
I just did not take into account innovations of new builds and writing "by hand" does not guarantee absence of such errors as a missing parenthesis.
mql4 innovations are that the array size should be specified.
mql4 innovation is that the size of the array has to be specified.
What's the big deal?