TheSnowGuru / PyTrader-python-mt4-mt5-trading-api-connector-drag-n-drop

Open Source Trading Strategies & End-to-End solution connecting Metatrader4 & Metatrader5 💹 with Python with a simple drag and drop EA. Fully tested bug free & efficient solution for live & paper trading⭐ Full Documentation ready. Lightweight, efficient and stable implementation 🔥
https://discord.gg/wRMUNP8ERa
653 stars 11 forks source link

Mt4 v2.06 version has import dll problem! #12

Closed shawnxiaos closed 2 years ago

shawnxiaos commented 3 years ago

I had set allow import dll ,but it still tell me Alert: Allow DLL import ; Did I set something wrong?

image

image

2021.04.23 14:40:48.417 Expert Pytrader_MT4_EA_V2.06 CADJPY+,H1: removed 2021.04.23 14:40:48.413 Pytrader_MT4_EA_V2.06 CADJPY+,H1: Server socket terminated 2021.04.23 14:40:48.413 Pytrader_MT4_EA_V2.06 CADJPY+,H1: uninit reason 8 2021.04.23 14:40:48.413 Pytrader_MT4_EA_V2.06 CADJPY+,H1: initialization failed (1) 2021.04.23 14:40:48.413 Pytrader_MT4_EA_V2.06 CADJPY+,H1: Alert: Allow DLL import. 2021.04.23 14:40:48.348 Pytrader_MT4_EA_V2.06 CADJPY+,H1 inputs: ServerPort=1122; location=Market\Pytrader mt4 Python; 2021.04.23 14:40:09.424 Expert Pytrader_MT4_EA_V2.06 CADJPY+,H1: loaded successfully

My OS Version: image My Mt4 platform: image

shawnxiaos commented 3 years ago

I had set autotrading too. image

Branly76 commented 3 years ago

So problem solved ???

cevangelio commented 3 years ago

This happened to me too and even if you tick Allow DLL import, it keeps giving the message. The solution is to permanently tick Allow DLL import from Tools > Options > Expert Advisors