仕事が完了した
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
The proposed amendments are as follows:
1. Only start trading if there is no other trade running at the account (true/false).
Balance value = Equity = Free margin;
2. Replace all the pending buy/sell stop orders by instant execution orders (true/false).
With this option enabled, the EA never opens or shows the pending orders. At the price were the pending orders would be triggered, the EA should open instant execution orders;
3. Hide the stop loss, the take profit, and the trailing stop (if exists) from the broker (true/false).
However the EA should close the trade when the price reaches the corresponding values of the TP and SL;
4. Add a fake stop loss and take profit to show at the broker, if the previous option is enabled.
For example if the TP is 20 and the SL is 40, I could add 30 and 50 respectively, and those values could also function as security levels to close the trades if everything fails. Something like…
- Fake Take Profit: _ _ _ _ _ _ _ _ (value)
- Fake Stop Loss: _ _ _ _ _ _ _ _ (value);
5. Integration of a new parameter “Daily Trading Hours”. Something like…
- Starting Hour: _ _ _ _ _;
- Starting Minutes: _ _ _ _ _; (For shorter time frames)
- Ending Hour: _ _ _ _ _;
- Ending Minutes: _ _ _ _ _; (For shorter time frames)
At the end of the selected period, the EA should not open new trades, but if some trade stays opened, the EA should manage it until be closed.
6. Close Friday hours. An hour after the trading period defined at the previous setting, when all the trades that remain open should be closed. Something like…
- Close Friday hour: _ _ _ _ _ _ _ _ (value).