Experts: Exp_GStop

 

Exp_GStop:

This Expert Advisor closes all positions if the total loss/profit exceeds a predefined limit.

Author: Nikolay Kositsin

 
Hello! In my terminal, when I reach .... points the Expert Advisor does not close all orders, but opens new ones in the opposite direction!
 

Gena_xyligan:
Здравствуйте! У меня в терминале при достижения .... пунктов советник не закрывает все ордера, а открывает новые в обратную сторону! Не могли бы вы исправить?

 
Gena_xyligan:
Genady, alas, nothing lasts forever under the moon. The MQL5 language has been updated a little bit and now we have such pies. I have changed the files, I don't know when they will be published. The new version of the Expert Advisor is 1.10.
 
Nikolay Kositsin:
Genady, alas, nothing lasts forever under the moon. The MQL5 language has been updated a little bit and now we have such pies. I have changed the files, I don't know when they will be published. The new version of the Expert Advisor is 1.10.
Thank you! Do you trade or only write?
 

Good afternoon.
Good robot.

It would be nice to add to it forced closing of orders at a set time.

If you trade futures within a trading session, you need to close in the current day by intraday provision.

 
Is the take profit also in percentages?