MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading and Strategy Testing Forum

Invisible ChartingInvisible Charting Try product
Invisible Charting
Author: FinGeR
Creating a "Snake" Game in MQL5 Creating a "Snake" Game in MQL5 The Moving Average Indicator, based on the Quasi-Digital Filter Indicator
The Moving Average Indicator, based on the Quasi-Digital Filter
Author: VladMsk
Subscribe to signal
New view with Mr Gann demo alpari
78.44%, 178.44 USD
Screenshot
EURUSD, H4
Real

// CTrade vs MqlTradeRequest - help

To add comments, please log in or register

theDUDE
21
theDUDE 2012.08.03 22:42
I'm just confused, it appears to me that both CTrade and MqlTradeRequest can be used to place a trade independently. Is this true? And if so, is one better that the other?
onewithzachy
954
onewithzachy 2012.08.04 00:04
theDUDE:
I'm just confused, it appears to me that both CTrade and MqlTradeRequest can be used to place a trade independently. Is this true? And if so, is one better that the other?

Hi theDUDE,

Dude, CTrade is a class that using MqlTradeRequest. We can create any other class similar to CTrade and we can name it "whatever trade", but as long as it using MqlTradeRequest then its all the same with using MqlTradeRequest alone.

If we open CTrade class we'll see MqlTradeRequest all over it. 

I prefer using CTrade coz its already well written, but execution wise : its all the same.

 

/

To add comments, please log in or register