Not sure why you're doubling up on each stop order. But make sure of a few things:
- you're stop order price is not too close to the market price or you will have an invalid price
- Look at your journal tab, it might show an error and help u pinpoint
- u sure you want the magic number to be ticketBuy?
- for a buy stop, the entry price has to be higher then the current market price (Ask), opossite for sell stop
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I have the following code:
Sometimes it works, sometimes it does not, with a valid ticketBuy value, but -1 for ticketSell.
Anyone has encountered this before?
Thanks in advance,
Alipapa