images/contents.gifimages/index.gifimages/prev1.gifimages/next1.gif

SCALE()

Definition Scale. The program enables you to modify quote values using the SCALE() function.

Modifying quotes with the SCALE() function can cause rounding of decimal values.

If you have an instrument quoted in decimals, by default the program renders three decimal places in a quote window. Three decimal places is not always enough information for some technical analyses. Therefore, the SCALE() function enables you to increase or decrease decimal precision.

The SCALE() function also enables you to modify the way the program displays instruments quoted in fractions. If you want to compare an instrument quoted in 32s to an instrument quoted in half-32s, the SCALE() enables you to make the comparison in a quote window. You can convert 32s to half-32s, or half-32s to 32s. You can also use the SCALE() function to compare instruments quoted in other fractional bases.

Additionally, the SCALE() function enables you to display fractional units in decimals, and decimals in fractions.

Syntax images/aspen00000277.gif

Parameters <value1>
Specifies the subject on which alternate decimal notation will take place. This can be a formula name, an instrument symbol, or operative symbol in a quote code group.

<value2>
Specifies the value from which the alternate notation will be derived. A value can be derived from any of three sources: an instrument symbol, a quote code group, or a number.

Examples SCALE_EX1($1,USM5)

SCALE_EX2($7,$2)

SCALE_EX3($3,1000)