DataType

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Market Analyzer Column >

DataType

Previous page Return to chapter overview Next page

Definition

Determines the data type displayed in a Market Analyzer Column.

 

Syntax

DataType

 

Example

ns


protected override void OnStateChange()
{

    if (State == State.SetDefaults)

    {

        DataType   = typeof(string);
        IsEditable = true;

    }

}