Thread: 10points 3.mq4
View Single Post
  #16 (permalink)  
Old 08-30-2006, 02:23 PM
haubentaucher haubentaucher is offline
Senior Member
 
Join Date: Jan 2006
Posts: 253
haubentaucher is on a distinguished road
Quote:
Originally Posted by G-Riper
Try this, it may fix the problemnerd)

under this part of the code:

if (OrderType()==OP_BUY)

Should Read:

OrderModify(OrderTicket(),OrderOpenPrice(),Bid-Point*TrailingStop,OrderClosePrice()+TakeProfit*Po int+TrailingStop*Point,800,Yellow);
return(0);

I'm new at this and could be wrong, but it is working for me on interbankFX.
I also changed the date code.


MKH

Hello lomme, thanks for your helping.

Hello G-Riper, that`s the solution! Now it works without errors.

Thanks a lot for both for supporting
Reply With Quote