Telegram to MT5 EA, messages typed manually through Telegram work, but messages generated from a webhook/bot don't

 

I have an EA in MT5 which is designed to convert messages into a trade.

The connection works, but I have encountered an issue I don't know how to fix. In telegram, I made a bot which recieves webhooks from tradingview. These messages are correctly recieved and displayed on the chat. However the trades do not go through on MT5. But when I type exactly the same message on this same chat, the trade is activated on MT5.

Is this an issue with the EA or telegram? I would assume the messages made on telegram from a user and a bot are different, but can't figure out how.

I can share screenshots or EA code if needed, just didn't want to make this question so long, as I'm not sure where to look.

Appreciate any help.

Timeline for Telegram to MT5 EA, messages typed manually through Telegram work, but messages generated from a webhook don't
Timeline for Telegram to MT5 EA, messages typed manually through Telegram work, but messages generated from a webhook don't
  • stackoverflow.com
Stack Overflow | The World’s Largest Online Community for Developers