Download MetaTrader 5

does the metatrader use ctrade class by default?

To add comments, please log in or register
sd2000sd
212
sd2000sd  

I want to be sure if Metatrader uses Ctrade class for sending buy and sell requests.

Does anyone know it?

I mean, when for example someone right clicks on a symbol in the marketwatch and selects "new order" and fills that form, does Metatrader use Ctrade class for sending that buy/sell/.... request to server? 

Rodrigo Malacarne
Moderator
10104
Rodrigo Malacarne  
sd2000sd:

I want to be sure if Metatrader uses Ctrade class for sending buy and sell requests.

Does anyone know it?

I mean, when for example someone right clicks on a symbol in the marketwatch and selects "new order" and fills that form, does Metatrader use Ctrade class for sending that buy/sell/.... request to server? 

You could search a little more on the forum and on the "Docs" section of this webpage !!! Maybe it would be interesting for you to download the whole MQL5 manual, available in several languages... English, Russian, German, Spanish, French, Chinese, Italian, Portuguese and Turkish.

Regarding your question, there are built in functions for sending orders in MT5... take a look at MqlTradeRequest and OrderSend. However, I strongly recommend you to donwload and read the manual.

I hope it helps. 

Alain Verleyen
Moderator
32027
Alain Verleyen  
sd2000sd:

I want to be sure if Metatrader uses Ctrade class for sending buy and sell requests.

Does anyone know it?

I mean, when for example someone right clicks on a symbol in the marketwatch and selects "new order" and fills that form, does Metatrader use Ctrade class for sending that buy/sell/.... request to server? 

No MT4 MT5 doesn't use CTrade at all.
sd2000sd
212
sd2000sd  
angevoyageur:
No MT4 doesn't use CTrade at all.
what about MT5?
Alain Verleyen
Moderator
32027
Alain Verleyen  
sd2000sd:
what about MT5?
Oops, a typo, I am talking about MT5 of course.
To add comments, please log in or register