ReferencesAdd OnAccount ClassAllAsk a question|Copy page|View as Markdown|More actionsDefinition A collection of Account objects Property Value A Collection of Account objects Syntax Accounts.All Examples 1protected override void OnStateChange()2{3 if (State == State.DataLoaded)4 {5 foreach (Account sampleAccount in Account.All)6 Print(String.Format("The account {0} has a {1} unit FX lotsize set", sampleAccount.Name, sampleAccount.ForexLotSize));7 }8}