Forum

MT5 - Compiled python script won't send orders?

I've made a python script that enters and closes trades (using pipinstall MetaTrader5). It works as expected through pycharm. But after I make exe (I've tried both as single file and multiple files), it "sends the trades"(I set up a little print statement so I know it has sent through that part in