Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 411
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
Didn't you say where to send the book?
Right! I forgot because of the holidays! :) thanks for reminding me!
Did you say where to send the book?
I wrote to the post office
Tell me, how do I know what the minimum TP can be at any given time?
thanks) knew Market info, didn't know which parameter to set in the function.
Hello. Couldn't find it on the forum, so I'm writing here. I'm trying to get a new EA based on a training EA. The EA that is given as an example trades on MA crossings. There are two pieces with different periods. A slow MA and a fast MA. When the fast one intersects the slow one from the bottom upwards, we buy; if vice versa, we sell. I want to add this function to standard trading conditions in order to additionally track results of a deal. If a position is closed by a Stop Loss or 0, the EA will open an opposite position instead of waiting for the next crossing. In other words, we opened a buy position, incurred a stop loss (the market did not go where we wanted) and immediately at the level of the stop-loss opened a sell position. I know that such an EA will still be losing, but I want to understand what kind of code should be written. I hope to get some help from the professionals. I hope to get some help from the professionals. Thank you very much.
I would like to place pending order at the level of stop-loss.
Place a pending order at the stop loss level in the opposite direction.
I would like to place it without any pending. I have found the following code of the Expert Advisor on the Internet. It opens an opposite position at taking a loss but I cannot combine it with conditions of trading with two MAs.
Geez... I'm certainly glad that you began to solve the problem, but my message you somehow have not noticed, where I said the same thing, a little different words, and immediately said the shortcomings, except for closing the file, not immediately saw where you have it happens:)
You wrote a three-point response. In the first one you made a mistake (my entry is quite correct), in the second one you also made a mistake (although this message leveled it out :) The third point sounded as if you suggested to move the cursor to the end after the entry, not before it (which was taken as a mistake again). In the face of such a picture, I preferred to make a clarification from a much-experienced moderator who responded.
Nevertheless, thank you indeed for your feedback. And a Happy New Year! :)