Use the debugger (with hist. data) and track the relevent variable values: https://www.mql5.com/en/articles/654
To keep the details on records, so that anyone referring can have an Idea ------
The issue was in the server providing the data feeds in India.
Shifting to different data feed vendor solved the issue. Just don't want to name the vendor here.
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
Dear Sirs, Again, your help requested.
I developed an EA. The EA has entry via TRADE DEAL and even exit via TRADE DEAL. That is no take profit or Stoploss.
While executing the trade, there were entry and exit orders, but no profit / loss was recorded/
Same happened when I closed open position using "PositionClose()".
Kindly help guiding, where I am wrong.
Screenshot as below.