Les belges sont fou !
i search how to use mqltraderequest...
it's structure ok...
it's important ?
it's possible do not incluse to the code ?
i thinks it's for have not error and not conflit ?
My program work :
//request.price=GetRandomPrice(request.type); // open price
Just structure price (open price) i d'ont understand, it's not important ?
It depends on the symbol execution type ( ENUM_SYMBOL_TRADE_EXECUTION ) if it's Market or Exchange execution the you don't send the open price, if it's Request or Instant execution then you need to send the open price.
There is a little more info in this thread: https://www.mql5.com/en/forum/11303
what is the change with the price ?
i don't understand ENUM_SYMBOL_TRADE_EXECUTION !?
Not this choice in mql4 !...