Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 964
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
Hello!
I've seen a bar-counting function somewhere, but I can't find it now. I need some number of bars to pass between opening a position and closing it (with or without condition). Please, send me the link if you know it. Thanks
Hello!
I've seen a bar-counting function somewhere, but I can't find it now. I need some number of bars to pass between opening a position and closing it (with or without condition). If you know this, please send me the link. Thanks
The second variant: If only 3 orders are provided for, we can declare, for example, int tick_buy_1, tick_buy_2, tick_buy_3 at the level of global variables and record the tickets in these variables when opening the order. Then we can select the order by ticket, check its type, whether the order is closed or not, and only then, without the loop.
Hello all !
What optimisable parameter should be chosen to get the minimum number of uninterrupted losing trades ? In restrictions I myself specify the desired amount, but if you set the "Balance", then it will be more profit-oriented. If I'm using Custom, what should I add in OnTester ? I found an article on custom optimizing criteria in MQL5 but it was not of much help.
It doesn't work. not enough qualifications....
And you can also mark orders in the description - and then use the description to find them ....
Good idea. It's the 'comment' parameter, if I'm not mistaken. I'll give it a try.
It's not working. lacking qualifications....
It goes something like this.
Hi all....
Can you give me a hint here's the thing.... why the formula only works up to a certain limit.
It works like this, but as soon as I add an accumulation, it stops counting at once.... And the main thing is that it does not give out any errors.....
But it stops working like this...