Denomination

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Add On > Account >

Denomination

Previous page Return to chapter overview Next page

Definition

Indicates the currency set on an account

 

Property Value

A Currency object containing information about the currency denomination specified in the referenced account

 

Syntax

<Account>.Connection

 

Examples

ns


private Account myAccount;
 
protected override void OnStateChange()
{
  if (State == State.SetDefaults)
  {
    // Initialize myAccount here
 
    // Print myAccount's currency denomination
    NinjaTrader.Code.Output.Process("myAccount currency is set to " + myAccount.Denomination, PrintTo.OutputTab1);
  }
}