Mohamed Mostafa Mohamed Sonbol:
Hello
using this code everything appears fine but the order comment from the string
is not shown at all
any idea what could be wrong ??
As you're using HistoryDealGetTicket, try using DEAL_COMMENT from the deal history pool.
TradeSymbol = HistoryOrderGetString(Ticket,ORDER_SYMBOL); TradeComment = HistoryOrderGetString(Ticket,ORDER_COMMENT);You selected a deal, not an order.
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
It depends on the broker.
Some brokers simply don´t accept order-comments and use such for their own needs.

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
Hello
using this code everything appears fine but the order comment from the string
is not shown at all
any idea what could be wrong ??