protected override void OnOrderUpdate(IOrder order){
if (buy1entry != null && buy1entry == order){
Print( Time[0] + " - buy1entry is Working at "+Buy_1EntryPrice); // Print Working
if (order.OrderState == OrderState.Filled){
Position1 = MarketPosition.Long; // Position1 is Long
Print( Time[0] + " - buy1entry is Filled at [COLOR=red]"+Position.AvgPrice[/COLOR]); // Print Filled
}
if (buy2entry != null && buy2entry == order){
Print( Time[0] + " - buy2entry is Working at "+Buy_2EntryPrice); // Print Working
if (order.OrderState == OrderState.Filled){
Position2 = MarketPosition.Long; // Position2 is Long
Print( Time[0] + " - buy2entry is Filled at [COLOR=red]"+What goes here[/COLOR]?); // Print Filled
}

Comment