仕事が完了した
指定
I need an Expert Advisor that controls my trade copier through a global terminal variable.
1. Whenever a trade is newly opened in a symbol, an adjustable time (e.g. 2 seconds) should be waited before setting a global terminal variable, which reads as follows: "Suspend-SYMBOL" (the symbol corresponds to that of the opened trade).
2. The terminal variable should be automatically removed after an adjustable time (e.g. 300 seconds) (GlobalVariableTime can be used to check when the variable was created).
3. The variable should also be removed when the Expert Advisor is closed.
The behavior should take place automatically and independently on all symbols. In the Expert Advisor log, it should be recorded when a terminal variable is set or deleted.
Thank you.