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?
Documentation on MQL5: Standard Constants, Enumerations and Structures / Data Structures / Trade Request Structure
- www.mql5.com
Standard Constants, Enumerations and Structures / Data Structures / Trade Request Structure - Documentation on MQL5
- CTrade vs MqlTradeRequest which one is the best and effective
- Deal magic numbers
- Is is possible to open a "buy stop-limit" order (or "sell stop-limit" order) by the class CTrade?
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?
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.
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