Советники: NetPrice TakeProfit - страница 3

 

Добрый Вечер. Раньше не мог проверить.

Всё проверил Работает хорошо тейк профит ставит и на бай и на сел.

Есть Только два момента.

1 До этого, если закрываешь вторую сделку, он определял что в рынке осталась одна сделка  и удалял свой тейк профит сам,  сейчас не удаляет это мялась не удобно.   Если Это возможно! то хорошо бы сделать проверку чтоб сам удалял  свой тейкпрофит если осталась одна сделка в рынке.

2. Вы вроде говорили что сможете контроль по  магикам  сделать (интересное бы было дополнение).

                  А так всё просто Отлично!  Спасибо огромное Чёткий эксперт получился!

 
ai1111:

***

1 До этого, если закрываешь вторую сделку, он определял что в рынке осталась одна сделка  и удалял свой тейк профит сам,  сейчас не удаляет это мялась не удобно.   Если Это возможно! то хорошо бы сделать проверку чтоб сам удалял  свой тейкпрофит если осталась одна сделка в рынке.

***

1.006 - если позиция одна в этом направлении - обнуляем у неё Тейк Профит.

 
Vladimir Karputov:

1.006 - если позиция одна в этом направлении - обнуляем у неё Тейк Профит.

Добрый день!

Изначально  эксперт тейкпрофит удалял сам

1. потом когда сложилась такая ситуация:   одна сделка была в плюсе - другая в минусе - после закрытия плюсовой сделки тейкпрофит не удалился - и потом тейк профит  перестал удаляться сам совсем.  (или например обе в плюсе вроде тоже перестаёт удалять если оставить одну)

вобщем перестаёт работать потом совсем даже после переустановки эксперта у меня не решилась проблема.

2 всё перепроверил Если коротко:  Всё изначально работало и тейк профит удалялся сам  но потом он перестаёт удаляться  и я даже удалил эксперта и установил заново (делал эту операцию неоднократно) но как не странно проблемма осталась таже. Лог из журнала эксперты приложил ниже.

Файлы:
1.jpg  262 kb
 
2021.08.18 12:28:56.172 NetPrice TakeProfit (XAUUSDb,M1)        File: NetPrice TakeProfit.mq5, symbol: XAUUSDb
2021.08.18 12:28:56.172 NetPrice TakeProfit (XAUUSDb,M1)        Code of request result: 10009
2021.08.18 12:28:56.172 NetPrice TakeProfit (XAUUSDb,M1)        code of request result as a string: done
2021.08.18 12:28:56.172 NetPrice TakeProfit (XAUUSDb,M1)        Deal ticket: 0
2021.08.18 12:28:56.172 NetPrice TakeProfit (XAUUSDb,M1)        Order ticket: 0
2021.08.18 12:28:56.172 NetPrice TakeProfit (XAUUSDb,M1)        Volume of deal or order: 0.00
2021.08.18 12:28:56.172 NetPrice TakeProfit (XAUUSDb,M1)        Price, confirmed by broker: 0.00
2021.08.18 12:28:56.172 NetPrice TakeProfit (XAUUSDb,M1)        Current bid price: 1793.23 (the requote): 0.00
2021.08.18 12:28:56.172 NetPrice TakeProfit (XAUUSDb,M1)        Current ask price: 1793.40 (the requote): 0.00
2021.08.18 12:28:56.172 NetPrice TakeProfit (XAUUSDb,M1)        Broker comment: Request executed
2021.08.18 12:28:56.173 NetPrice TakeProfit (XAUUSDb,M1)        Freeze Level: 0, Stops Level: 0
2021.08.18 12:28:56.173 NetPrice TakeProfit (XAUUSDb,M1)        Price of position opening: 1793.39
2021.08.18 12:28:56.173 NetPrice TakeProfit (XAUUSDb,M1)        Price of position's Stop Loss: 0.00
2021.08.18 12:28:56.173 NetPrice TakeProfit (XAUUSDb,M1)        Price of position's Take Profit: 1797.75
2021.08.18 12:28:56.173 NetPrice TakeProfit (XAUUSDb,M1)        Current price by position: 1793.23
2021.08.18 12:28:56.317 NetPrice TakeProfit (XAUUSDb,M1)        File: NetPrice TakeProfit.mq5, symbol: XAUUSDb
2021.08.18 12:28:56.317 NetPrice TakeProfit (XAUUSDb,M1)        Code of request result: 10009
2021.08.18 12:28:56.317 NetPrice TakeProfit (XAUUSDb,M1)        code of request result as a string: done
2021.08.18 12:28:56.317 NetPrice TakeProfit (XAUUSDb,M1)        Deal ticket: 0
2021.08.18 12:28:56.317 NetPrice TakeProfit (XAUUSDb,M1)        Order ticket: 0
2021.08.18 12:28:56.317 NetPrice TakeProfit (XAUUSDb,M1)        Volume of deal or order: 0.00
2021.08.18 12:28:56.317 NetPrice TakeProfit (XAUUSDb,M1)        Price, confirmed by broker: 0.00
2021.08.18 12:28:56.317 NetPrice TakeProfit (XAUUSDb,M1)        Current bid price: 1793.26 (the requote): 0.00
2021.08.18 12:28:56.317 NetPrice TakeProfit (XAUUSDb,M1)        Current ask price: 1793.40 (the requote): 0.00
2021.08.18 12:28:56.317 NetPrice TakeProfit (XAUUSDb,M1)        Broker comment: Request executed
2021.08.18 12:28:56.317 NetPrice TakeProfit (XAUUSDb,M1)        Freeze Level: 0, Stops Level: 0
2021.08.18 12:28:56.318 NetPrice TakeProfit (XAUUSDb,M1)        Price of position opening: 1792.91
2021.08.18 12:28:56.318 NetPrice TakeProfit (XAUUSDb,M1)        Price of position's Stop Loss: 0.00
2021.08.18 12:28:56.318 NetPrice TakeProfit (XAUUSDb,M1)        Price of position's Take Profit: 1797.75
2021.08.18 12:28:56.318 NetPrice TakeProfit (XAUUSDb,M1)        Current price by position: 1793.26
2021.08.18 12:38:10.019 NetPrice TakeProfit (XAUUSDb,M1)        File: NetPrice TakeProfit.mq5, symbol: XAUUSDb
2021.08.18 12:38:10.019 NetPrice TakeProfit (XAUUSDb,M1)        Code of request result: 10009
2021.08.18 12:38:10.019 NetPrice TakeProfit (XAUUSDb,M1)        code of request result as a string: done
2021.08.18 12:38:10.019 NetPrice TakeProfit (XAUUSDb,M1)        Deal ticket: 0
2021.08.18 12:38:10.019 NetPrice TakeProfit (XAUUSDb,M1)        Order ticket: 0
2021.08.18 12:38:10.019 NetPrice TakeProfit (XAUUSDb,M1)        Volume of deal or order: 0.00
2021.08.18 12:38:10.019 NetPrice TakeProfit (XAUUSDb,M1)        Price, confirmed by broker: 0.00
2021.08.18 12:38:10.019 NetPrice TakeProfit (XAUUSDb,M1)        Current bid price: 1793.07 (the requote): 0.00
2021.08.18 12:38:10.019 NetPrice TakeProfit (XAUUSDb,M1)        Current ask price: 1793.20 (the requote): 0.00
2021.08.18 12:38:10.019 NetPrice TakeProfit (XAUUSDb,M1)        Broker comment: Request executed
2021.08.18 12:38:10.019 NetPrice TakeProfit (XAUUSDb,M1)        Freeze Level: 0, Stops Level: 0
2021.08.18 12:38:10.019 NetPrice TakeProfit (XAUUSDb,M1)        Price of position opening: 1793.20
2021.08.18 12:38:10.019 NetPrice TakeProfit (XAUUSDb,M1)        Price of position's Stop Loss: 0.00
2021.08.18 12:38:10.019 NetPrice TakeProfit (XAUUSDb,M1)        Price of position's Take Profit: 1797.90
2021.08.18 12:38:10.019 NetPrice TakeProfit (XAUUSDb,M1)        Current price by position: 1793.07
2021.08.18 12:38:10.117 NetPrice TakeProfit (XAUUSDb,M1)        File: NetPrice TakeProfit.mq5, symbol: XAUUSDb
2021.08.18 12:38:10.117 NetPrice TakeProfit (XAUUSDb,M1)        Code of request result: 10009
2021.08.18 12:38:10.117 NetPrice TakeProfit (XAUUSDb,M1)        code of request result as a string: done
2021.08.18 12:38:10.117 NetPrice TakeProfit (XAUUSDb,M1)        Deal ticket: 0
2021.08.18 12:38:10.117 NetPrice TakeProfit (XAUUSDb,M1)        Order ticket: 0
2021.08.18 12:38:10.117 NetPrice TakeProfit (XAUUSDb,M1)        Volume of deal or order: 0.00
2021.08.18 12:38:10.117 NetPrice TakeProfit (XAUUSDb,M1)        Price, confirmed by broker: 0.00
2021.08.18 12:38:10.117 NetPrice TakeProfit (XAUUSDb,M1)        Current bid price: 1793.07 (the requote): 0.00
2021.08.18 12:38:10.117 NetPrice TakeProfit (XAUUSDb,M1)        Current ask price: 1793.20 (the requote): 0.00
2021.08.18 12:38:10.117 NetPrice TakeProfit (XAUUSDb,M1)        Broker comment: Request executed
2021.08.18 12:38:10.117 NetPrice TakeProfit (XAUUSDb,M1)        Freeze Level: 0, Stops Level: 0
2021.08.18 12:38:10.117 NetPrice TakeProfit (XAUUSDb,M1)        Price of position opening: 1793.39
2021.08.18 12:38:10.117 NetPrice TakeProfit (XAUUSDb,M1)        Price of position's Stop Loss: 0.00
2021.08.18 12:38:10.117 NetPrice TakeProfit (XAUUSDb,M1)        Price of position's Take Profit: 1797.90
2021.08.18 12:38:10.117 NetPrice TakeProfit (XAUUSDb,M1)        Current price by position: 1793.07
2021.08.18 12:43:04.495 NetPrice TakeProfit (XAUUSDb,M1)        File: NetPrice TakeProfit.mq5, symbol: XAUUSDb
2021.08.18 12:43:04.495 NetPrice TakeProfit (XAUUSDb,M1)        Code of request result: 10009
2021.08.18 12:43:04.495 NetPrice TakeProfit (XAUUSDb,M1)        code of request result as a string: done
2021.08.18 12:43:04.495 NetPrice TakeProfit (XAUUSDb,M1)        Deal ticket: 0
2021.08.18 12:43:04.495 NetPrice TakeProfit (XAUUSDb,M1)        Order ticket: 0
2021.08.18 12:43:04.495 NetPrice TakeProfit (XAUUSDb,M1)        Volume of deal or order: 0.00
2021.08.18 12:43:04.495 NetPrice TakeProfit (XAUUSDb,M1)        Price, confirmed by broker: 0.00
2021.08.18 12:43:04.495 NetPrice TakeProfit (XAUUSDb,M1)        Current bid price: 1792.20 (the requote): 0.00
2021.08.18 12:43:04.495 NetPrice TakeProfit (XAUUSDb,M1)        Current ask price: 1792.30 (the requote): 0.00
2021.08.18 12:43:04.495 NetPrice TakeProfit (XAUUSDb,M1)        Broker comment: Request executed
2021.08.18 12:43:04.495 NetPrice TakeProfit (XAUUSDb,M1)        Freeze Level: 0, Stops Level: 0
2021.08.18 12:43:04.495 NetPrice TakeProfit (XAUUSDb,M1)        Price of position opening: 1792.31
2021.08.18 12:43:04.495 NetPrice TakeProfit (XAUUSDb,M1)        Price of position's Stop Loss: 0.00
2021.08.18 12:43:04.495 NetPrice TakeProfit (XAUUSDb,M1)        Price of position's Take Profit: 1797.07
2021.08.18 12:43:04.495 NetPrice TakeProfit (XAUUSDb,M1)        Current price by position: 1792.20
2021.08.18 12:43:04.582 NetPrice TakeProfit (XAUUSDb,M1)        File: NetPrice TakeProfit.mq5, symbol: XAUUSDb
2021.08.18 12:43:04.582 NetPrice TakeProfit (XAUUSDb,M1)        Code of request result: 10009
2021.08.18 12:43:04.582 NetPrice TakeProfit (XAUUSDb,M1)        code of request result as a string: done
2021.08.18 12:43:04.582 NetPrice TakeProfit (XAUUSDb,M1)        Deal ticket: 0
2021.08.18 12:43:04.582 NetPrice TakeProfit (XAUUSDb,M1)        Order ticket: 0
2021.08.18 12:43:04.582 NetPrice TakeProfit (XAUUSDb,M1)        Volume of deal or order: 0.00
2021.08.18 12:43:04.582 NetPrice TakeProfit (XAUUSDb,M1)        Price, confirmed by broker: 0.00
2021.08.18 12:43:04.582 NetPrice TakeProfit (XAUUSDb,M1)        Current bid price: 1792.20 (the requote): 0.00
2021.08.18 12:43:04.582 NetPrice TakeProfit (XAUUSDb,M1)        Current ask price: 1792.30 (the requote): 0.00
2021.08.18 12:43:04.582 NetPrice TakeProfit (XAUUSDb,M1)        Broker comment: Request executed
2021.08.18 12:43:04.582 NetPrice TakeProfit (XAUUSDb,M1)        Freeze Level: 0, Stops Level: 0
2021.08.18 12:43:04.582 NetPrice TakeProfit (XAUUSDb,M1)        Price of position opening: 1792.63
2021.08.18 12:43:04.582 NetPrice TakeProfit (XAUUSDb,M1)        Price of position's Stop Loss: 0.00
2021.08.18 12:43:04.582 NetPrice TakeProfit (XAUUSDb,M1)        Price of position's Take Profit: 1797.07
2021.08.18 12:43:04.582 NetPrice TakeProfit (XAUUSDb,M1)        Current price by position: 1792.20
2021.08.18 12:43:20.293 NetPrice TakeProfit (XAUUSDb,M1)        File: NetPrice TakeProfit.mq5, symbol: XAUUSDb
2021.08.18 12:43:20.293 NetPrice TakeProfit (XAUUSDb,M1)        Code of request result: 10009
2021.08.18 12:43:20.293 NetPrice TakeProfit (XAUUSDb,M1)        code of request result as a string: done
2021.08.18 12:43:20.293 NetPrice TakeProfit (XAUUSDb,M1)        Deal ticket: 0
2021.08.18 12:43:20.293 NetPrice TakeProfit (XAUUSDb,M1)        Order ticket: 0
2021.08.18 12:43:20.293 NetPrice TakeProfit (XAUUSDb,M1)        Volume of deal or order: 0.00
2021.08.18 12:43:20.294 NetPrice TakeProfit (XAUUSDb,M1)        Price, confirmed by broker: 0.00
2021.08.18 12:43:20.294 NetPrice TakeProfit (XAUUSDb,M1)        Current bid price: 1792.07 (the requote): 0.00
2021.08.18 12:43:20.294 NetPrice TakeProfit (XAUUSDb,M1)        Current ask price: 1792.27 (the requote): 0.00
2021.08.18 12:43:20.294 NetPrice TakeProfit (XAUUSDb,M1)        Broker comment: Request executed
2021.08.18 12:43:20.294 NetPrice TakeProfit (XAUUSDb,M1)        Freeze Level: 0, Stops Level: 0
2021.08.18 12:43:20.294 NetPrice TakeProfit (XAUUSDb,M1)        Price of position opening: 1792.31
2021.08.18 12:43:20.294 NetPrice TakeProfit (XAUUSDb,M1)        Price of position's Stop Loss: 0.00
2021.08.18 12:43:20.294 NetPrice TakeProfit (XAUUSDb,M1)        Price of position's Take Profit: 1794.47
2021.08.18 12:43:20.294 NetPrice TakeProfit (XAUUSDb,M1)        Current price by position: 1792.07
2021.08.18 12:43:20.382 NetPrice TakeProfit (XAUUSDb,M1)        File: NetPrice TakeProfit.mq5, symbol: XAUUSDb
2021.08.18 12:43:20.382 NetPrice TakeProfit (XAUUSDb,M1)        Code of request result: 10009
2021.08.18 12:43:20.382 NetPrice TakeProfit (XAUUSDb,M1)        code of request result as a string: done
2021.08.18 12:43:20.382 NetPrice TakeProfit (XAUUSDb,M1)        Deal ticket: 0
2021.08.18 12:43:20.382 NetPrice TakeProfit (XAUUSDb,M1)        Order ticket: 0
2021.08.18 12:43:20.382 NetPrice TakeProfit (XAUUSDb,M1)        Volume of deal or order: 0.00
2021.08.18 12:43:20.382 NetPrice TakeProfit (XAUUSDb,M1)        Price, confirmed by broker: 0.00
2021.08.18 12:43:20.382 NetPrice TakeProfit (XAUUSDb,M1)        Current bid price: 1792.09 (the requote): 0.00
2021.08.18 12:43:20.382 NetPrice TakeProfit (XAUUSDb,M1)        Current ask price: 1792.29 (the requote): 0.00
2021.08.18 12:43:20.382 NetPrice TakeProfit (XAUUSDb,M1)        Broker comment: Request executed
2021.08.18 12:43:20.382 NetPrice TakeProfit (XAUUSDb,M1)        Freeze Level: 0, Stops Level: 0
2021.08.18 12:43:20.382 NetPrice TakeProfit (XAUUSDb,M1)        Price of position opening: 1792.63
2021.08.18 12:43:20.382 NetPrice TakeProfit (XAUUSDb,M1)        Price of position's Stop Loss: 0.00
2021.08.18 12:43:20.382 NetPrice TakeProfit (XAUUSDb,M1)        Price of position's Take Profit: 1794.47
2021.08.18 12:43:20.382 NetPrice TakeProfit (XAUUSDb,M1)        Current price by position: 1792.09
 
1.007 Улучшен трейлинг (обнуление Тейк профита)
 
Vladimir Karputov:
1.007 Улучшен трейлинг (обнуление Тейк профита)

Всё заработало! Отлично!!!

С магиком только на ваше усмотрение (как хотите).

                                                                                     Круто!

 
ai1111:

Всё заработало! Отлично!!!

С магиком только на ваше усмотрение (как хотите).

                                                                                     Круто!

Думаю больше иже ничего не переделывать.

 
Vladimir Karputov:

Думаю больше иже ничего не переделывать.

Согласен! пусть так будет! раз Вы так решили!.

 

Когда я выставляю свой тейк профит  советник его убирает, Это очень не удобно приходится советник отключать,  Владимир Скажите пожалуйста можно как-то  это исправить,  то-есть  если я сам куда то ставлю тейк профит в ручную, советник чтоб его не снимал?

 
ai1111 #:

Когда я выставляю свой тейк профит  советник его убирает, Это очень не удобно приходится советник отключать,  Владимир Скажите пожалуйста можно как-то  это исправить,  то-есть  если я сам куда то ставлю тейк профит в ручную, советник чтоб его не снимал?

Я это отследить не могу.

Причина обращения: