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.

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
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