[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 587
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
easy to say... :) is it possible for someone with little knowledge to do so?
Did you look carefully at the link you were given? I quote: e-CloseByProfit.rar The Expert Advisor closes all positions when they reach a specified total profit or loss level in pips .
Question,
Is the value of the ticket of the pending order and the ticket after the execution of this pending order the same?
Question,
Is the value of the ticket of the pending order and the ticket after the execution of this pending order the same?
No
No
Yes, the ticket does not change.
The only exception, the broker can execute your pending order as a few market orders (for example, dividing the volume of 7.5 lots into 5.0 + 2.5). Then the ticket of one market order will coincide with that of the pending order, and the other ones will be different. This situation really happened to me, I had to handle it. Check with your broker/DC.
OK, thanks for the answer!
I'll draw two helpers for two different directions then.
Question - how to define a ticket order without cycle?
I am confused... Can you suggest a function?
Forum members, here's a question:
Why, if you test in the strategy tester the same Expert Advisor, on the same date, there are different results every time. Why does this happen?
Hello. I am not at all good at programming. Therefore, I am asking for help, please help me add StopLoss and TrailingStop to my code. The Expert Advisor is not mine, but the strategy is not bad, so trial and error remaking the EA for myself - and to be honest, I`m already blowing my mind, and there is not much time - work. I have already tried and tested it and, frankly, I have no time to waste - I have to work. And here is what I do with it:
Forum members, here's a question:
Why, if you test in the strategy tester the same Expert Advisor, on the same date, there are different results every time. Why does this happen?
Alternatively, the spread used in testing is changed
the date is the same, from February 15 to February 16