2 message boxes pop up
"buy stop or buy stop limit orders can't be placed below the market"
and
"2/16/2015 9:16:59 PM|1|32|Order='c393761ee8c1420cbf71e0d69f201441/Sim101' Name='Stop loss' New state=Rejected Instrument='$GBPUSD' Action=BuyToCover Limit price=0 Stop price=1.5263 Quantity=1 Type=Stop Filled=0 Fill price=0 Error=OrderRejected Native error='Buy stop or buy stop limit orders can't be placed below the market.'"
I had the strategy output the following info.
***************************************
$GBPUSD Short Stop
Position Average Price: 1.5364
Stop Loss Ticks: 0.00291342494440044
Stop Loss: 1.5393134249444
Current Ask: 1.5365
Current Bid: 1.5365
Close: 1.5365
2/16/2015 9:15:00 PM
***************************************
I have attached a text file with my stop loss code.

Comment