Category : Business » Forex Trading
BASIC COMPONENTS OF CTL. Variables. A variable is a symbol into which data can be stored. . CTL supports four basic data types: Number, Bool, Series, and .
Download File
Free PDF eBooks Download
Business
Forex Trading
Content Summary :
WHAT IS THE CTL PROGRAMMING LANGUAGE?Chart Studio™ enables you to create custom indicators using an easy to understand programming language called the Common Technical Analysis Language (CTL). This programming language is a set of instructions that are used to translate words and symbols into a code that DealBook® FX 2 can understand. BASIC COMPONENTS OF CTL Variables A variable is a symbol into which data can be stored. The value, or contents, of a variable can change during the program‘s execution. A variable assumes a value from a particular range which is called the variable’s data type. CTL supports four basic data types: Number, Bool, • Series, and String.Number - This data type may contain positive or negative numbers. For example: 100, -200, 23.45, -0.456, 99999. • Bool - This data type, also called a logical variable, may contain only two possible values: True or False. • Series – This data type is most often used to store prices (Close, High, etc.) and the results of the indicator’s execution. It acts like a dynamic • set of numbers, meaning the size of any series is automatically adjusted by the program.You can add or subtract two series, multiply or divide a series by a number, negate a series, or get an element of a series using an operator. • String - This data type may contain a sequence of characters. For example, abcd, 34H*, ptr7!F*