View Single Post
 
Old 03-11-2007, 05:09 AM
sbwent sbwent is offline
Member
 
Join Date: Sep 2006
Posts: 65
sbwent is on a distinguished road
Problem Opening Sell Trades With Stop Loss

I hope someone can help me.

I am trying to open buy and sell orders with an EA that I am working on. When I open buy orders it works fine, but sell orders only open if my Stop Loss is "0".

Example...

double StopLoss = 25;

OrderSend(Symbol1,Symbol1OP,Lots,MarketInfo(Symbol 1,Symbol1Mode),Slippage,StopLoss,0,comment,Magic,0 ,Arrow);

Opens correctly for buy trades. Doesn't open sell trades.

If I change the stop loss to 0 they both work.

It's got me stumped. Can someone please help?

Thanks,

Steve