Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection #200

Open
masouddargi opened this issue Jul 28, 2020 · 3 comments
Open

Connection #200

masouddargi opened this issue Jul 28, 2020 · 3 comments
Labels

Comments

@masouddargi
Copy link

Thanks for the nice and useful project .
I can connect using localhost and port . but i can connect using the login and password and broker ip .
And the second question is what is the fastest wat to get quote and send orders on mt ???
Thanks in advance .

@vdemydiuk
Copy link
Owner

Hi.

  1. MtApi is API-bridge between MT terminal and user's .NET application. It is loaded into MT terminal via MQL expert. This is major limitation of MtApi. It can't work with MT servers directly.

  2. you can use event QuoteUpdate to receive updates of quotes and function OrderSend to place orders.

@masouddargi
Copy link
Author

Hi and thanks for the reply .
I want to connect my Windows Application to several MT4 terminals .
How can i do this ???

@vdemydiuk
Copy link
Owner

Hi @masouddargi .
You can create several MtApi clients in the .net application that you will connect with several terminals.
If terminals runs on one PC you can use different port defined in MT API expert.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants