void pnlMarket_Resize(object sender, EventArgs e) { smallIndicatorChart.Height = 2 * pnlMarket.ClientSize.Height / (Configs.ShowJournal ? 3 : 4); }