Is it possible to create an expert Advisor that puts orders in the history again when they get into the history? If there is an opportunity to help in this matter, let’s discuss.
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
barabashkakvn
As an option: Stop Loss Take Profit:
If you close on Stop loss – double the volume, if you take Profit-set the minimum volume. To determine that a trade occurred as a result of a Stop Loss or Take Profit trigger, we use OnTradeTransaction.
Starting with build 1625, the wonderful ENUM_DEAL_REASON enumeration appeared:
which can be tracked in OnTradeTransaction …
ziborov
Creating such an expert Advisor is a very simple matter. Personally, I do not write to order. If I write, it is only for myself.
What if You try to write this expert Advisor yourself, but only publicly, right here in this forum thread ? Write the program code, put it in this branch.
You, of course, will have something that does not work out. Errors are formal, semantic… Forum members will help you, correct you…
And so, gradually, by trial and error, you will write your own expert Advisor with the help of experienced people.
Another way is to order in Freelancing, or look for something similar in CodeBase.