stevenengland / MMM

A free set of messeging modules for the MetaTrader platform
GNU Affero General Public License v3.0
14 stars 3 forks source link

Is it working with MT4 ? #21

Closed gbenisty closed 4 years ago

gbenisty commented 4 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

DaSimplify commented 4 years ago

@gbenisty Yes...it works on MT4 & MT5.

Thank you @stevenengland for the Ver3.0 (updates for TLS 1.2 Telegram)

gbenisty commented 4 years ago

I have this message when I try to load the Expert 'MQL4\Libraries\StEn.MMM.Mql.Telegram.dll' is not 32-bit version Brokers provide in majority the 32-bit version of MT4 Could you provide a 32-Bit version as you did before Thanks in advance

DaSimplify commented 4 years ago

@gbenisty ... I'm sorry...my bad.. just tried it on MT4 and received same message.

image

@stevenengland please solve this issue... thank you in advance

Mpower321 commented 4 years ago

I have this message when I try to load the Expert 'MQL4\Libraries\StEn.MMM.Mql.Telegram.dll' is not 32-bit version Brokers provide in majority the 32-bit version of MT4 Could you provide a 32-Bit version as you did before Thanks in advance

Dear Developers,

I tried v3.0 including TLS 1.2 updates and i am also getting "Cannot load... dll" like @gbenisty

I am running MT4 on Windows 7 64Bit.

Any advice to solve it ?

Have a great day to all !

DaSimplify commented 4 years ago

hello @gbenisty & @Mpower321 ... I've had tried to download the sourcecode, open the project files using Visual Studio, modify the PlatformTarget from X64 to AnyCPU, and then rebuild the project. The built DLL files seems fine and the error's gone when I attach my indicator to the chart.

You can try it while waiting @stevenengland the owner's update.

But I have no idea how to use the methods( ie:GetUpdates() ) in TelegramModule Class in MQ4. (in MT5 we can simply type "TelegramModule::GetUpdates(value,value);" any idea?

gbenisty commented 4 years ago

Hello @DaSimplify Very good news Find enclosed the expert MT4 file I used to test the DLL Could you please share with us the new Built DLL? Thanks in advance TestNewTelegram.zip

DaSimplify commented 4 years ago

@gbenisty ... I tried to run the file(TestNewTelegram) but got this error...

image

I think the methods in TelegramModule Class cannot be accessed using that way. anyone have idea how to use the methods?

here's the file that I changed the target from X64 to AnyCPU. please review it while waiting @stevenengland the owner's official release..

StEn.MMM.Mql.Telegram-AnyCPU.zip

Mpower321 commented 4 years ago

Hello Developers @gbenisty @DaSimplify

First of all thank you for keeping active this thread and efforts you provide.

Now DLL can be loaded ! GREAT JOB ! But unfortunately, Function Calls are not found.

Previous and New function names :

Have a great day !

DaSimplify commented 4 years ago

Hello Developers @gbenisty @DaSimplify

First of all thank you for keeping active this thread and efforts you provide.

Now DLL can be loaded ! GREAT JOB ! But unfortunately, Function Calls are not found.

Previous and New function names :

  • Initialize (that contains TOKEN)
  • TelegramSendTextAsync
  • TelegramSendText
  • SendText
  • StartSendText ...

Have a great day !

Yes... II just changed the target only. I already checked the change that developer @stevenengland made in GitHub. I have no idea how to use that function(declare or import) in MQ4. would you provide previous DLL implemented into mq4 file?

Mpower321 commented 4 years ago

Dear @DaSimplify

In attachment the DLL (2016) i have used until now.

Telegram4Mql.zip

DaSimplify commented 4 years ago

Dear @DaSimplify

In attachment the DLL (2016) i have used until now.

Telegram4Mql.zip

@Mpower321 That's the oldest one... image

the oldest one is discontinued... the site is in here: https://telegram4mql.steven-england.info/doc/Start

the successor is in here: https://mmm.steven-england.info/MMM-Home

different way to use the functions.

What we're talking in this thread is the successor and the latest one.

Mpower321 commented 4 years ago

Thank you for your prompt reply @DaSimplify

That's why I am confused.

Here @stevenengland is mentioning : https://www.mql5.com/en/forum/94610/page2 "the problem is that Telegram changed the way they treat traffic secured by TLS < v1.2 -> They do not allow it anymore. So the 2016 (telegram4mql) version and the new (mql.telegram) version have this issue. After the weekend I will write a fix vor the newer version. As far as there is enough time I will also update the older version. Sorry for the inconvenience..."

Is he referring (older version) to telegram4mql ?

Alos in his last post @stevenengland is mentioning : https://www.mql5.com/en/forum/94610/page2 "The newest version of MMM MQL Telegram (MT5 only) is fixed."

Let's wait for MT4 version in that case. Maybe that is the reason why we cannot call functions in MT4 ?

Thank you @DaSimplify for your support !

alexter6277 commented 4 years ago

@Mpower321 and @DaSimplify

Basically what it means is that the old version (Telegram4MQL) is discontinued but @stevenengland will provide an update to that old implementation so that people who are using that in MT4 can still use it.

The version that is currently fixed and working is the one you are posting questions to the MMM/MQLTelegram which was designed with MT5 only in mind as MT4 has been left behind by their developers.

I understand that many people still use MT4 and some broker functions and software (such as MAM accounts, trade copiers, and existing accounts) are still using MT4.

It would be of great help for us as users to show @stevenengland appreciation for what he has created and given for free for years by donating him a coffee or more if you have greatly benefited by his tool. https://mmm.steven-england.info/Donate

It's always good to appreciate the work from people who are providing valuable tools for free to the community and that have tools that are useful and trustworthy. (you would be surprised how much shit there is out there trying to sell you dodgy telegram notifications to use on MT4 and even some that are "free" but upon inspection, they send your data to a suspicious server before sending it to telegram).

I do hope that in the future there could be a way to be able to import the MMM/MQLTelegram to MT4 so it can be kept updated but programmer time is limited and they are doing this for free so, unless they are using themselves for a critical function on their own trading it's hard to justify spending the hours or days required to maintain that. (donations help justify that and that is why they are so important, also if other programmers out there want to hop in and help a community also helps )

Sorry for the long rant.

DaSimplify commented 4 years ago

Here @stevenengland is mentioning : https://www.mql5.com/en/forum/94610/page2 thank you so much for the info, I didn't know he's replying in the forum.

"the problem is that Telegram changed the way they treat traffic secured by TLS < v1.2 -> They do not allow it anymore. So the 2016 (telegram4mql) version and the new (mql.telegram) version have this issue. After the weekend I will write a fix vor the newer version. As far as there is enough time I will also update the older version. Sorry for the inconvenience..." he has updated mql.telegram version in GitHub as he promised.

Is he referring (older version) to telegram4mql ? Yes... he's referring to telegram4mql.

Alos in his last post @stevenengland is mentioning : https://www.mql5.com/en/forum/94610/page2 "The newest version of MMM MQL Telegram (MT5 only) is fixed." Now I know why it's not working on MT4 after I modify the Target from X64 to AnyCPU.

Let's wait for MT4 version in that case. Maybe that is the reason why we cannot call functions in MT4 ? Correct.

Mpower321 commented 4 years ago

Dear @alexter6277 Thak you for your reply and we really appreciate it ! I am used to give Donation to Developers and it is already done :) DonSE Have a great day to all !

DaSimplify commented 4 years ago

The version that is currently fixed and working is the one you are posting questions to the MMM/MQLTelegram which was designed with MT5 only in mind as MT4 has been left behind by their developers. yes, my bad, didn't know that before.

I understand that many people still use MT4 and some broker functions and software (such as MAM accounts, trade copiers, and existing accounts) are still using MT4.

It would be of great help for us as users to show @stevenengland appreciation for what he has created and given for free for years by donating him a coffee or more if you have greatly benefited by his tool. https://mmm.steven-england.info/Donate YES.... 100% agree... we must support him.

I do hope that in the future there could be a way to be able to import the MMM/MQLTelegram to MT4 so it can be kept updated but programmer time is limited and they are doing this for free so, unless they are using themselves for a critical function on their own trading it's hard to justify spending the hours or days required to maintain that. (donations help justify that and that is why they are so important, also if other programmers out there want to hop in and help a community also helps ) again...totally agree with @alexter6277 ... and @stevenengland have link the project to GitHub, so other programmer can develop/update from the source.

Sorry for the long rant. Thank you @alexter6277 for your reply. really appreciate it.

stevenengland commented 4 years ago

Hi to everyone, thank you for your participation. Sorry for the late reply. Please give me a little more time and I will respond to all the diffent questions etc. here. See u soon

DaSimplify commented 4 years ago

Hi to everyone, thank you for your participation. Sorry for the late reply. Please give me a little more time and I will respond to all the diffent questions etc. here. See u soon

thank you so much @stevenengland ... glad to hear that.

stevenengland commented 4 years ago

Hi everybody, first things first, before I answer any questions: I delivered a fix for

Both of them are able to run under MT4 and MT5 as well. See the documentation pages for their usage.

Telegram4MQL doc

MMM MQL Telegram MQL implementation sample

MMM MQL Telegram MQL API doc

DaSimplify commented 4 years ago

Hi everybody, first things first, before I answer any questions: I delivered a fix for

Both of them are able to run under MT4 and MT5 as well. See the documentation pages for their usage.

Telegram4MQL doc

MMM MQL Telegram MQL implementation sample

MMM MQL Telegram MQL API doc

@stevenengland thank you so much for the complete update... really appreciate the time you spent at weekend.

gbenisty commented 4 years ago

Hi Guys, I still have the error message from MT4 DLL is not 32 bit version. For Telegram4MQL or MMM

Le dim. 16 févr. 2020 à 17:37, DaSimplify notifications@github.com a écrit :

Hi everybody, first things first, before I answer any questions: I delivered a fix for

Both of them are able to run under MT4 and MT5 as well. See the documentation pages for their usage.

Telegram4MQL doc https://telegram4mql.steven-england.info/doc/

MMM MQL Telegram MQL implementation sample https://github.com/stevenengland/MMM/blob/releases/mql_telegram/1.0/doc/module_usage/implementation/metatrader5/MQL5/Experts/MMM_Modules/mql_telegram/Mql_Telegram_1.3.mq5

MMM MQL Telegram MQL API doc https://github.com/stevenengland/MMM/blob/releases/mql_telegram/1.0/doc/module_usage/api/mql_telegram/Mql_Telegram_1.3.md

@stevenengland https://github.com/stevenengland thank you so much for the complete update... really appreciate the time you spent at weekend.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/stevenengland/MMM/issues/21?email_source=notifications&email_token=AONT4SRHA34LZU7ABO442ATRDFTTFA5CNFSM4KSWHWQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL4LX3Q#issuecomment-586726382, or unsubscribe https://github.com/notifications/unsubscribe-auth/AONT4SQH6YNFRZAWVQ3LGZLRDFTTFANCNFSM4KSWHWQQ .

DaSimplify commented 4 years ago

Hi Guys, I still have the error message from MT4 DLL is not 32 bit version. For Telegram4MQL or MMM Le dim. 16 févr. 2020 à 17:37, DaSimplify notifications@github.com a écrit : Hi everybody, first things first, before I answer any questions: I delivered a fix for - Telegram4MQL (see here https://telegram4mql.steven-england.info/doc/Download) - MMM MQL Telegram v1.3 (see here https://mmm.steven-england.info/Downloads) Both of them are able to run under MT4 and MT5 as well. See the documentation pages for their usage. Telegram4MQL doc https://telegram4mql.steven-england.info/doc/ MMM MQL Telegram MQL implementation sample https://github.com/stevenengland/MMM/blob/releases/mql_telegram/1.0/doc/module_usage/implementation/metatrader5/MQL5/Experts/MMM_Modules/mql_telegram/Mql_Telegram_1.3.mq5 MMM MQL Telegram MQL API doc https://github.com/stevenengland/MMM/blob/releases/mql_telegram/1.0/doc/module_usage/api/mql_telegram/Mql_Telegram_1.3.md @stevenengland https://github.com/stevenengland thank you so much for the complete update... really appreciate the time you spent at weekend. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#21?email_source=notifications&email_token=AONT4SRHA34LZU7ABO442ATRDFTTFA5CNFSM4KSWHWQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL4LX3Q#issuecomment-586726382>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AONT4SQH6YNFRZAWVQ3LGZLRDFTTFANCNFSM4KSWHWQQ .

I'd had tried Telegram4MQL... works well now... please make sure to use this one: image

gbenisty commented 4 years ago

Yes I did Could you share the ea mql4 you use to test it?

Envoyé de mon iPhone

Le 16 févr. 2020 à 20:07, DaSimplify notifications@github.com a écrit :

 Hi Guys, I still have the error message from MT4 DLL is not 32 bit version. For Telegram4MQL or MMM Le dim. 16 févr. 2020 à 17:37, DaSimplify notifications@github.com a écrit : … Hi everybody, first things first, before I answer any questions: I delivered a fix for - Telegram4MQL (see here https://telegram4mql.steven-england.info/doc/Download) - MMM MQL Telegram v1.3 (see here https://mmm.steven-england.info/Downloads) Both of them are able to run under MT4 and MT5 as well. See the documentation pages for their usage. Telegram4MQL doc https://telegram4mql.steven-england.info/doc/ MMM MQL Telegram MQL implementation sample https://github.com/stevenengland/MMM/blob/releases/mql_telegram/1.0/doc/module_usage/implementation/metatrader5/MQL5/Experts/MMM_Modules/mql_telegram/Mql_Telegram_1.3.mq5 MMM MQL Telegram MQL API doc https://github.com/stevenengland/MMM/blob/releases/mql_telegram/1.0/doc/module_usage/api/mql_telegram/Mql_Telegram_1.3.md @stevenengland https://github.com/stevenengland thank you so much for the complete update... really appreciate the time you spent at weekend. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#21?email_source=notifications&email_token=AONT4SRHA34LZU7ABO442ATRDFTTFA5CNFSM4KSWHWQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL4LX3Q#issuecomment-586726382>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AONT4SQH6YNFRZAWVQ3LGZLRDFTTFANCNFSM4KSWHWQQ .

I'd had tried Telegram4MQL... works well now... please make sure to use this one:

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

gbenisty commented 4 years ago

It works !!!, I will donate as soon as my credit card is unblicked

Le dim. 16 févr. 2020 à 20:16, Gad Benisty gad.benisty@gmail.com a écrit :

Yes I did Could you share the ea mql4 you use to test it?

Envoyé de mon iPhone

Le 16 févr. 2020 à 20:07, DaSimplify notifications@github.com a écrit :



Hi Guys, I still have the error message from MT4 DLL is not 32 bit version. For Telegram4MQL or MMM Le dim. 16 févr. 2020 à 17:37, DaSimplify notifications@github.com a écrit : … <#m6844473992501925788> Hi everybody, first things first, before I answer any questions: I delivered a fix for - Telegram4MQL (see here https://telegram4mql.steven-england.info/doc/Download) - MMM MQL Telegram v1.3 (see here https://mmm.steven-england.info/Downloads) Both of them are able to run under MT4 and MT5 as well. See the documentation pages for their usage. Telegram4MQL doc https://telegram4mql.steven-england.info/doc/ MMM MQL Telegram MQL implementation sample https://github.com/stevenengland/MMM/blob/releases/mql_telegram/1.0/doc/module_usage/implementation/metatrader5/MQL5/Experts/MMM_Modules/mql_telegram/Mql_Telegram_1.3.mq5 MMM MQL Telegram MQL API doc https://github.com/stevenengland/MMM/blob/releases/mql_telegram/1.0/doc/module_usage/api/mql_telegram/Mql_Telegram_1.3.md @stevenengland https://github.com/stevenengland https://github.com/stevenengland thank you so much for the complete update... really appreciate the time you spent at weekend. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#21 https://github.com/stevenengland/MMM/issues/21?email_source=notifications&email_token=AONT4SRHA34LZU7ABO442ATRDFTTFA5CNFSM4KSWHWQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL4LX3Q#issuecomment-586726382>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AONT4SQH6YNFRZAWVQ3LGZLRDFTTFANCNFSM4KSWHWQQ .

I'd had tried Telegram4MQL... works well now... please make sure to use this one: [image: image] https://user-images.githubusercontent.com/7405362/74610934-410bf380-512a-11ea-857a-e4ed20ee567a.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/stevenengland/MMM/issues/21?email_source=notifications&email_token=AONT4STL7BXHUBZP2G3ANGTRDGFHXA5CNFSM4KSWHWQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL4PMGY#issuecomment-586741275, or unsubscribe https://github.com/notifications/unsubscribe-auth/AONT4SS7LDZGNHO3VMVGN5TRDGFHXANCNFSM4KSWHWQQ .

DaSimplify commented 4 years ago

It works !!!, I will donate as soon as my credit card is unblicked Le dim. 16 févr. 2020 à 20:16, Gad Benisty gad.benisty@gmail.com a écrit : Yes I did Could you share the ea mql4 you use to test it?

glad to hear that... what was the problem? sorry just read it.

Mpower321 commented 4 years ago

Dear @stevenengland Thank you so much for the great work you share with the community. We hope to continue to follow and support you. I am sure many people will make donations to support people like you ! Have a great day to All, I stay tuned !

stevenengland commented 4 years ago

A late "thank you" for all the support I got from you all. Concerning the issue: I'll close it now, the binaries are deployed for everyone.