mikolyk / mqltms

Sending notification from Metatrader to telegram
https://tmsrv.pw/
Apache License 2.0
16 stars 29 forks source link

Error in MT4 #1

Open ac24365 opened 5 years ago

ac24365 commented 5 years ago

I tried installing you MT4 tmsrv_wininet.mqh file in my code but getting errors as attached. Pls advise

error original mqh file part of my code

mikolyk commented 5 years ago

need more code. probably wrong declared a function.

ac24365 commented 5 years ago

Should I send you the mqh file? On 24 Aug 2018, 10:32 PM +0530, Aleksandr M notifications@github.com, wrote:

need more code. probably wrong declared a function. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

mikolyk commented 5 years ago

send me indicator code and tmsrv_wininet.mqh
I need to see how you use it.

amikolyk@yandex.ru

mikolyk commented 5 years ago

Delete string 86 (this what i said before wrong declaration function alredy declarated in mqh) bool tms_send(string message, string token="538443346:618bd7dd");

I didn't check your version of tmsrv_wininet.mqh I saw you change somehow if the error will still be appeared download original msrv_wininet.mqh and replace your copy.

ac24365 commented 5 years ago

Thank you friend. Will do as said. On 26 Aug 2018, 5:12 PM +0530, Aleksandr M notifications@github.com, wrote:

Delete string 86 (this what i said before wrong declaration) bool tms_send(string message, string token="538443346:618bd7dd"); I didn't check your version of tmsrv_wininet.mqh I saw you change somehow if the error will still be appeared download original msrv_wininet.mqh and replace your copy. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

ac24365 commented 5 years ago

Hello friend

  1. Can I send screenshot attachments from MT4 to Telegram?

  2. Do you know some application to post from MT4 to twitter?

Thanks

A. On 26 Aug 2018, 5:12 PM +0530, Aleksandr M notifications@github.com, wrote:

Delete string 86 (this what i said before wrong declaration) bool tms_send(string message, string token="538443346:618bd7dd"); I didn't check your version of tmsrv_wininet.mqh I saw you change somehow if the error will still be appeared download original msrv_wininet.mqh and replace your copy. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

mikolyk commented 5 years ago

Hello friend 1. Can I send screenshot attachments from MT4 to Telegram? 2. Do you know some application to post from MT4 to twitter? Thanks A.

  1. No, for this better to use official API ( I was thinking about that feature, but do not have time to make it)
  2. Try to google it. I am using service which posted to Twitter from RSS on mine website.
ac24365 commented 5 years ago

Thanks so much.

I also see that i can just get the token only for one channel. When i am seeking a token for a second channel it doesnt send anything. How to solve this problem? Pls see the attachment.

Thanks. On 13 Sep 2018, 7:42 PM +0530, Aleksandr M notifications@github.com, wrote:

Hello friend 1. Can I send screenshot attachments from MT4 to Telegram? 2. Do you know some application to post from MT4 to twitter? Thanks A.

  1. No, for this better to use official API ( I was thinking about that feature, but do not have time to make it)
  2. Try to google it. I am using service which posted to Twitter from RSS on mine website.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

mikolyk commented 5 years ago

Thanks so much. I also see that i can just get the token only for one channel. When i am seeking a token for a second channel it doesnt send anything. How to solve this problem? Pls see the attachment. Thanks.

Hello! I did not find an attachment. I have tried to add the bot to 2 channel it works fine. Mabe, you forget /start the bot

ac24365 commented 5 years ago

I forgot to add the bot to the group. Working now.

Thanks. On 14 Sep 2018, 1:36 PM +0530, Aleksandr M notifications@github.com, wrote:

Thanks so much. I also see that i can just get the token only for one channel. When i am seeking a token for a second channel it doesnt send anything. How to solve this problem? Pls see the attachment. Thanks. Hello! I did not find an attachment. I have tried to add the bot to 2 channel it works fine. Mabe, you forget /start the bot — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

ac24365 commented 5 years ago

friend i have sent you am email mentioning compiling error. pls chk and help