darwinex / dwxconnect

Seamlessly link any Trading Strategy in ANY programming language to Darwinex liquidity via MetaTrader 4 or 5. DWX Connect is your very own, fully customizable Trading API!
BSD 3-Clause "New" or "Revised" License
175 stars 89 forks source link

Expert Advisor insta closed #37

Closed Sankyuubigan closed 1 year ago

Sankyuubigan commented 1 year ago

why when you install an Expert Advisor on a chart, after 5 seconds it turns itself off, closes and disappears from the chart ?

Sankyuubigan commented 1 year ago

image MT4 closes the EA itself after a couple of seconds

Sankyuubigan commented 1 year ago

I didn't even connect to MT4 with the code. I'm just trying to configure the server, I just installed MT4 and I'm trying to run it on the chart but it fails after 10 tries.

piotryordanov commented 1 year ago

Maybe you are using the wrong expert code. There is a version for MT5 and one for MT4

Sankyuubigan commented 1 year ago

Maybe you are using the wrong expert code. There is a version for MT5 and one for MT4

I used the correct code. the same code worked on another computer. it turned out to be a matter of CPU and RAM utilization. as soon as I freed up the resources on the same machine, everything worked.