darwinex / dwx-zeromq-connector

Wrapper library for algorithmic trading in Python 3, providing DMA/STP access to Darwinex liquidity via a ZeroMQ-enabled MetaTrader Bridge EA.
https://blog.darwinex.com/zeromq-interface-python-r-metatrader4/
BSD 3-Clause "New" or "Revised" License
342 stars 227 forks source link

Compile errors Metatrader 4 terminal build 1280 #88

Closed thomas795 closed 3 years ago

thomas795 commented 4 years ago

after upgrading to Metatrader terminal 4 build 1280 the Zero MQ implementation from Darwinx (DWX_ZeroMQ_Server_v2.0.1_RC8.mq4) project will no longer compile. i receive this error:

'::' - unexpected token GlobalVariable.mqh in line 200 'create' - function not defined GlobalVariable.mqh in line 200 '::' - unexpected token GlobalVariable.mqh in line 211 'create' - function not defined GlobalVariable.mqh in line 211

Please help! :)

Adolfo2978 commented 4 years ago

Hello I have the same problem as a solution thanks

kmels commented 4 years ago

was fixed here: https://github.com/dingmaotu/mql-zmq/commit/981394b9e91467256c060a03d5059548f4f6cf8a

To fix: just download and replace the newest Include/Mql/GlobalVariable.mqh and Include/Zmq/Context.mqh files

thomas795 commented 3 years ago

Thanks alot kmels that worked! :)

Martian4x commented 3 years ago

Hello, I coped the files and on compile I got another error. Can you help? tempsnip

thomas795 commented 3 years ago

Martian4x this is what helped me:

https://github.com/dingmaotu/mql4-lib/issues/54

the answer from 7iW. I copied all the mql4-lib include folders.