MQL4 - automated forex trading   /  

Forum

130 invalid stops but everything seems right..

Back to topics list To post a new topic, please log in or register

avatar
1
s3ven 2008.09.09 17:45 
Hi everyone,
this is what I'm trying as parameters of OrderSend:

GBPJPY
order type 2 (OP_BUYLIMIT)
volume 1
limit price 190.68
slippage 10
stoploss 185.68
takeprofit 195.68
comment ""
magic 0
expiration  10


the price is around 189.5 right now so the limit price is 100 pips away...what's wrong?
changing order type to OP_BUY and price to the last tick fills in..

thanks in advance,
Michele
article

Championship Report: Eleventh Week (10-17 December)

The eleventh, the last but one week of the Automated Trading Championship 2006 is over. There are only 5 trading days left to the end of the Championship. The first place is being tightly held by Rich. Tough struggle for the second and the third place is being carried on.


avatar
1235
BarrowBoy 2008.09.09 17:59 

S

You need OrderType of OP_BUYSTOP

The naming convention is not... intuitive!

HTH

-BB-

Back to topics list  

To add comments, please log in or register