public void Initialize(int depth, bool isFull, string buySign = "") { if (buySign == "") { BuyRoot = BaseElement.CreateLogic(); BuyRoot.Initialize(depth - 1, isFull); } else { SellRoot = BaseElement.CreateLogic(); SellRoot.Initialize(depth - 1, isFull); SellLCRoot = BaseElement.CreateLogic(); SellLCRoot.Initialize(depth - 1, isFull); } }