FlaxF / Publications
Forum
MT5 high CPU usage after copy_rates_from_pos loop in Python
Before run the script: CPU cool at ~1% During the loop: ramp up ok After the loop stopped: ~20% to 40%. (more than 10 min after the code run and in idle). I have to manually close the Meta Trader every time. mt5 .shutdown() return as True, but CPU usage continues high. import MetaTrader5 as mt5