Download MetaTrader 5
To add comments, please log in or register
Download MetaTrader 5 mobile version and trade from anywhere in the world!
sd2000sd
212
sd2000sd 2014.01.29 16:08 

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
9595
Rodrigo Malacarne 2014.01.29 16:37  
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
28522
Alain Verleyen 2014.01.29 17:02  
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 2014.01.29 17:29  
angevoyageur:
No MT4 doesn't use CTrade at all.
what about MT5?
Alain Verleyen
Moderator
28522
Alain Verleyen 2014.01.29 17:30  
sd2000sd:
what about MT5?
Oops, a typo, I am talking about MT5 of course.
/
To add comments, please log in or register