| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Stop Loss/Take Profit problem | caldolegare | Metatrader 4 | 4 | 02-17-2007 05:27 AM |
| does anyone have an expert that closes all trades based on equity gain or loss? | pooper scoopers | Expert Advisors - Metatrader 4 | 4 | 02-11-2007 09:37 AM |
| Auto Stop Loss EA | Linuxser | Setup Questions | 8 | 08-10-2006 06:28 PM |
| Stop/Loss script | dennisros | Metatrader 4 | 4 | 12-12-2005 04:15 PM |