Ihave a problem, i dont know how to compile (write the exact word) in order to cancel my not filled order. The words in red give me compiling errors. Can someone give me an answer or any advice? Thx
My compilation for a short order:
{
// Condition set 1
if (ToTime(DateTime.Now) >= ToTime ( 10, 29, 57) && ToTime(DateTime.Now) <= ToTime ( 10, 29, 58))
{
EnterShortStopLimit( 1, GetCurrentBid() - 11 * TickSize, GetCurrentBid() - 5 * TickSize, "corto")
}
// Condition set 2 "if the price currentbid jump my limitprice and the order has not been filled, cancel the order"
if (ToTime(DateTime.Now) >= ToTime ( 10, 29, 59) && GetCurrentBid() < ShortStopLimit.LimitPrice && OrderStatus = not Working)
{
CancelOrder(ShortStopLimit);
}
}

Comment