| / | Forum |
|
Kengen
2009.10.13 02:21
Folks, Can any one show me how to send a market order in MQL5. I just downloaded the platform but after several couple hours trials have not been successful in sending an order from a simple Expert Advisor. This is my Ordersend structure in MQL4 for a market buy: How will I structure this in MQL5. OrderSend(Symbol(), OP_BUY, Lots, Ask, 3, Ask - 250* Point, Ask + 250* Point, "MQL4 Sample", MagicNumber1, 0, Blue); |
|
Trader's Kit: Decorating Indicators In this article you will find main tasks when decorating indicators, their solution and automation. |
|
n8937g
2009.10.14 01:33
Kengen wrote >>
Folks, Can any one show me how to send a market order in MQL5. I just downloaded the platform but after several couple hours trials have not been successful in sending an order from a simple Expert Advisor. This is my Ordersend structure in MQL4 for a market buy: How will I structure this in MQL5. OrderSend(Symbol(), OP_BUY, Lots, Ask, 3, Ask - 250* Point, Ask + 250* Point, "MQL4 Sample", MagicNumber1, 0, Blue); Seems like a very basic question...yet no answer !! If you go to the Russian forum they've been discussing MT5 for a very long time and are very in depth.... We are at square one and can't even get a simple response.... |
|
ErgoRaid
2009.10.14 02:32
n8937g:
Seems like a very basic question...yet no answer !! If you go to the Russian forum they've been discussing MT5 for a very long time and are very in depth.... We are at square one and can't even get a simple response.... The reason why it does not work is because the *&^%&^ programmers changed order send, its a nightmare now... it has no magic number for starters. here is a copy of the new syntax:
Options request [in] Pointer to a structure typeMqlTradeRequestDescribing the trade effect of the client. result [in, out] Pointer to a structure typeMqlTradeResultDescribing the result of trading in the event of successful completion (return true).
struct MqlTradeRequest
struct MqlTradeResult
Yet they can add idiotic bitmaps for a background...go figure |
|
dreamlifing
2009.10.15 07:39
n8937g wrote >>
Seems like a very basic question...yet no answer !! If you go to the Russian forum they've been discussing MT5 for a very long time and are very in depth.... We are at square one and can't even get a simple response.... Well,I can't understanding the help word,Because it is Russian.You know that I am china. I am not good at English .Who can help us! I need a English help word! |
|
Money_Duck
2009.11.02 11:29
I have to agree with this. |