Close by percentage MT5
- Utilità
- Konstantin Kulikov
- Versione: 1.4
- Aggiornato: 29 novembre 2023
Just open one additional chart, attach this utility and set the desired percentage for closing all trades on the account.
- "Close_trades_by_loss_percentage" - percentage of floating loss from the balance at which positions are closed; at 0 the function is not active.
- "Close_trades_by_profit_percentage" - percentage of floating profit from the balance at which positions are closed; at 0 the function is not active.
- "Close_trades_by_loss_money" - floating loss in deposit currency at which positions are closed; at 0 the function is not active.
- "Close_trades_by_profit_money" - floating profit in the deposit currency, at which positions are closed; at 0 the function is not active.
- "Select_trades" - if "All", then consider all positions on the account simultaneously; if "by_Symbol", then consider positions for different symbols separately; if "by_Magic", then consider positions with different magic numbers separately; if "by_Magic_and_Symbol", then consider positions for different symbols and with different magic numbers separately (this is the same as using the "Close_trades_by_profit_percentage" parameter in each Expert Advisor).
- 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.
can you add this magnificent program traling stop but calculation with money for every single position by sembol :)... for instance after 2$ profit put to traling 1$ and ever 50 cent traling moves :D