Get the Day Profit for MT5
if( HistoryDealGetInteger(Ticket,DEAL_SYMBOL)== _Symbol )
This is the error. You're calling HistoryDealGetInteger with an ENUM_DEAL_PROPERTY_STRING (DEAL_SYMBOL). Use HistoryDealGetString instead and you should be good.
This error "no one of the overloads can be applied to the function call error" happens when you call a function with parameters of wrong type or with more/less than the actual expected number of parameters. Emanuel Cavalcante Amorim Filho #:
This is the error. You're calling HistoryDealGetInteger with an ENUM_DEAL_PROPERTY_STRING (DEAL_SYMBOL). Use HistoryDealGetString instead and you should be good.
This error "no one of the overloads can be applied to the function call error" happens when you call a function with parameters of wrong type or with more/less than the actual expected number of parameters.Thanks. I will try that!
Will be good.J am really new.
I'm trying to get the Day profit for the current symbol and magic number using this code but getting a "HistoryDealGetInteger" no one of the overloads can be applied to the function call error.
What does that mean? How do I fix it?
Thanks