Question on using SetOrder ...

 
I use the command
SetOrder(OP_BUY,lotwin,Ask,2,Ask-(50*Point),Ask+(50*Point),Red);

(lotwin is variable define previously integer)

I always got this error;

'SetOrder' - function is not defined C:\Program Files\Interbank FX Trader 4\experts\test. mq4 (91, 16)

Can somebody help me ?

Thank's !
 
Read MetaEditor dictionary. OrderSend function
 
GD1 wrote:
I use the command
SetOrder(OP_BUY,lotwin,Ask,2,Ask-(50*Point),Ask+(50*Point),Red);

(lotwin is variable define previously integer)

I always got this error;

'SetOrder' - function is not defined C:\Program Files\Interbank FX Trader 4\experts\test. mq4 (91, 16)

Can somebody help me ?

Thank's !
Reason: