You can use OnTrade() or OnTradeTransaction() for that, or check the history of deals.
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
Hi,
I would like to know, if and how it is possible to obtain trade results into an EAs code.
What I want to do is to have a counter that adds up when the last trade closed in loss.
Exemplary:
E.g., after 5 losing trades i would be at 6.
The parameter i will then be called by another function.
Can you help a me? :)
Kind regards