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
Part 3.
Yes, Alexey, I've already seen this code. It's in the form of an include file. To be honest, I didn't find anything about the symbol in it, though I looked through it several times. Perhaps I misunderstood something or am just searching poorly.
Sincerely, Vladimir.
I've learned a new word for myself - mauvais ton.
(Bad manners; behaviour, manners and conduct considered inappropriate, indecent, unacceptable in a given society; bad, ill-mannered)
I have learned a new word for myself - covetousness
("bad manners"; behaviour, manners and actions considered inappropriate, indecent, unacceptable in a given society; bad, ill-mannered).
I won't get in the way - communicate!
------------------------------------
although you could've picked something up in those tatters...
i equals the number of open positions, so many cycles will be with printing
you need to remove the "=" sign in why you need to go through the loop when the number of open positions is 0. on this null call the second print came outHello! Thank you very much! Now I don't understand why I thought the cycle starts with "0" instead of "1". To make a long story short, I should stop studying at night, as I used to do in my youth.
Regards, Vladimir.
Hello Aleksey! I will be very grateful for any help.
Sincerely, Vladimir.
So, based on the literature I read, I wrote a short algorithm for creating an Expert Advisor with the Trailing Stop function:
I have made some corrections
I will not describe in detail the algorithms of stop transfer for parts one and two. You have already described them in general correctly. If you describe them, you should further follow the pattern:
Part 1. Breakeven:Hello Alexey, I would be very grateful for any help you can give me.
Regards, Vladimir.
You have two major errors in your TOR description:
1. You are going too much into low-level details. Why, for instance, write (incorrectly, by the way) "you must return to the loop if no positions are found". If there are no positions, there will be nothing to process. You don't have to return to the loop, you just have to exit and wait for a new tick, maybe something will appear there, maybe not. You don't need to describe cases of "what if not..." - There are an infinite number of such cases, you can't describe them all. Instead, focus on the "what ifs".
2. The TOR clearly shows a desire for consistency. Do not do this. Go from general to specific:"I need a stop that a) transfers to Breakeven, and b) when it is transferred to Breakeven, it is pulled up by trawl. The rules of transfer to Breakeven and pulling up the stop, attached below..." . - I assure you , any freelance programmer would understand such TOR, and for him, the programmer, such TOR will be much easier and clearer than deal with loops, which come back to themselves, if there is no position, etc.