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 there.
My EA sometimes does not open or close an order due to a disconnect or other issues. I am using a VPS and there are no issues with other brokers I am using for tests.
I want to make my EA open or close trades more reliably. Can anyone please recommend a sample of a reliable order opening/closing. It does not have to be too complex. I am thinking of writing it myself using a loop with a defined number of rounds (set as an external variable) and a wait time variable between rounds.
As I am still learning, I'd appreciate references to a sample code or recommendations what else to include in the code.
Thank you
R