Version 1.8 2025.12.05
Added another model for accounting positions - one_given_magic_and_all_symbols.
Version 1.7 2025.10.16
Fixed a bug in the time function.
Version 1.6 2025.10.06
Added time parameters.
Time values ​​for when the utility will close positions (when the specified profit or loss conditions are met): Start_Time_Work and End_Time_Work (for activation, Time_for_Work=true).
Time values ​​for when the utility will not close positions under any circumstances: Start_Time_StopWork and End_Time_StopWork (for activation, Time_for_StopWork=true).
Version 1.5 2025.08.26
You can hide utility information on the chart: Info_on_Chart = false.
Version 1.4 2023.11.29
Fixed a bug with: Select_trades = one_given_magic_and_chart_symbol
Version 1.3 2023.10.25
Added the ability to partially close positions.
New parameters:
Activate_partial_closing_of_positions - activate partial closing of positions when a specified floating profit or loss is reached.
Percent_for_partial_closing - percentage of the volume of positions for partial closure.
Version 1.2 2023.04.25
Mandatory update.
Fixed a critical bug.
Version 1.1 2023.04.21
1) It became possible to delete pending orders when closing positions.
"Also_delete_pending_orders_at_profit" - delete pending orders when closing in profit.
"Also_delete_pending_orders_at_loss" - deleting pending orders when closing at a loss.
2) Another position accounting model "Select_trades = one_given_magic_and_chart_symbol" has appeared. When choosing this model, ONLY positions with a magic number from the "One_given_magic_number" parameter for the chart symbol to which the utility is attached will be taken into account.