
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Thank you! Do you have any idea on how to solve the problem of the append of the CSV file btw?
i'll try that now since thats the method you want to utilize and let you know . ☕️
Thank you! Do you have any idea on how to solve the problem of the append of the CSV file btw?
@Fabio Brondo try this , you needed to seek to the end of file and open it for read + write when it already existed
@Fabio Brondo try this , you needed to seek to the end of file and open it for read + write when it already existed
@Lorentzos Thank you! Sorry for the stupid questions below, but to be shure, i think that i have to modify the code in those points:
Compiling your file returns 0 errors, but it's not recording nothig yet, not even generating the file...
@Lorentzos Thank you! Sorry for the stupid questions below, but to be shure, i think that i have to modify the code in those points:
Compiling your file returns 0 errors, but it's not recording nothig yet, not even generating the file...
My bad i did not give instructions of what it does . It places a trade on every new bar so to test it place it on an M1 chart and in 3 minutes you will have your test completed.
My bad i did not give instructions of what it does . It places a trade on every new bar so to test it place it on an M1 chart and in 3 minutes you will have your test completed.
So if i've got your suggestion this part will look like this:
1:
2. Yes, it has Start,init, deinit.
3.Ok i will keep _path
4. I don't care of the name, if it works :)
5. It will be like this:
So if i've got your suggestion this part will look like this:
1:
2. Yes, it has Start,init, deinit.
3.Ok i will keep _path
4. I don't care of the name, if it works :)
5. It will be like this:
You don't need to send the C:\users... stuff , it will take care of it on its own.
Hi @Lorentzos Roussos, thanks for your help, now i'm able to store all the data in the CSV file!
I have one more question to you, i'm still not able to get the ID of the message that is sent each time a new order is opened or closed.
I'm currently using the bot.SendMessage function, do you know how i can get the ID of this message with this function?
Thanks for your support!
Hi @Lorentzos Roussos, thanks for your help, now i'm able to store all the data in the CSV file!
I have one more question to you, i'm still not able to get the ID of the message that is sent each time a new order is opened or closed.
I'm currently using the bot.SendMessage function, do you know how i can get the ID of this message with this function?
Thanks for your support!
Hello .
Are you using the telegramL.mqh library ?
If you do there is a function :
which can be called like so :
The above will fill the variable "last_message_id" with the location of the newly posted message on the telegram chat (i.e. first second third post etc)
You can also check if it succeeded if it is bigger than -1 (if last_message_id >-1)
Conveniently , when you want to reply to a message you can use the same function , turn replying_to_message to true and dump the message id you have storred in message_id_replying_to
Hello .
Are you using the telegramL.mqh library ?
If you do there is a function :
which can be called like so :
The above will fill the variable "last_message_id" with the location of the newly posted message on the telegram chat (i.e. first second third post etc)
You can also check if it succeeded if it is bigger than -1 (if last_message_id >-1)
Conveniently , when you want to reply to a message you can use the same function , turn replying_to_message to true and dump the message id you have storred in message_id_replying_to
Yes, i'm using the Telegram.mqh library but i'm starting thinking that i've found an already edited version...
You can find it attached...
Do you have a "clean" version?
In mine there is no function SendMessageGetID
Yes, i'm using the Telegram.mqh library but i'm starting thinking that i've found an already edited version...
You can find it attached...
Do you have a "clean" version?
In mine there is no function SendMessageGetID
Oh , the TelegramL.mqh The clean version does not have the get message id modification .
Here is the latest