After I submited few entry orders. (see example)
I can only see the last position status by checking the "Position". Is there a command to monitor the current order (such as "Order")?
OnBarUpdate()
{
if (cond1) EnterLong("T1");
if (cond1) EnterLong("T2");
if (cond1) EnterLong("T3");
if (Position.MarketPosition != MarketPosition.Flat){
Print("P:" + Position.ToString());
if (Order.Name == "T2") { /* looking for Current Order */
Print("Order:" + Order.ToString());
}
}
}
Regards,
Toyogo

Comment