Tan (Tan)

This function is available on the Add Study window and in the Formula Toolbox.

The Tan function takes the selected chart value, converts it into radians, and calculates a tangent value. For example, the tangent value of 1090 would be .13. This value is calculated as follows:

1090/(2*pi) = 173.478                      Calculates the laps around the unit circle

.478 * (2*pi) = 3.00894                    Takes the leftover lap and converts it to radians

Sin( 3.00894) radians = .13226249    Calculates the sine for the calculated radians

Cos(3.00894) radians = .99124775     Calculates the cosine for the calculated radians

.13226249/.99124775 = .1334           Divides the sine by the cosine

Example: Tan(@)

 

Parameter

Description

Display

Opens a sub-window with display properties:

      Color = Select a line color.

      Weight = Type a value for line thickness.

      Display = Select line style: line, histogram, or dash.

      ShareScale = Assign a behavior for functions and studies sharing the vertical scale:

      Auto = System determine whether sharing is feasible.

      On = Scale is shared regardless of the functions and studies displayed.

      Off = Scale is not shared.

MarkIt

Opens the Specify Conditions for Marking Bar window.

Price

Price used for calculations.