Advanced Analytics



Download 0.61 Mb.
Page3/20
Date29.01.2017
Size0.61 Mb.
#11326
1   2   3   4   5   6   7   8   9   ...   20

ArcSin (ASin)


This function is available only in the Formula Toolbox.

ArcSin expresses the sine function in radians from 0 to pi. For example, the ArcSin of 1 equals pi/2.

The sine function takes the selected chart value, converts it into radians, and calculates a sine value. For example, the sine value of 1090 is .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 = .132263954 Calculates the sine for the corresponding radians

Therefore,

ArcSin(.132263954) = 3.00894 radians

Example: ASin(@)



Parameter

Description

Price

Price used for calculation.


ArcTan (ATan)


This function is available only in the Formula Toolbox.

ArcTan expresses the tangent function in radians between 0 and pi. For example, the ArcTan of 1 equals pi/4.

The tangent function takes the selected chart value, converts it into radians, and calculates a tangent value. ArcTan relates only to the right half of the unit circle.

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 = .132263954 Calculates the sine for the calculated radians

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

.13226249/.991214531 = -.1334 Divides the sine by the cosine

Therefore,

ArcTan(-.1334) = -.13264826 + pi = 3.00894 radians

Example: ATan(@)



Parameter

Description

Price

Price used for calculation.


ArcTan2 (ATan2)


This function can be accessed only in the Toolbox.

ArcTan2 operates the same way as the ArcTan function. However, the ArcTan2 function provides more specific values by allowing the user to specify both of the relevant points on the unit circle.

Example: ATan2(-136,885)=-2.356

Parameter

Description

Price

Price used for calculation.


Bar Index (BarIdx and BarIx)


This function is available on the Add Study window (BarIdx) and in the Formula Toolbox (BarIx).

Bar Index displays the number of bars, of the designated interval, which have occurred up to the selected time for a particular day. For example, each day at 2:30, on a 30-minute S&P 500 bar chart, the Bar Index will show a value of 12, indicating there have been 12 30-minute bars up to that time.

Example: BarIx(@,StartOfDay)

Parameter

Description

Reference

Selects the reference point of the bar indexing. Values:

Start of Day = number of bars since the start of trading day

End of Day = number of bars left in trading day

Start of Session = number of bars since start of session

End of Session = number of bars left in session


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.

OB/OS

Opens a sub-window with properties for overbought and oversold indicators.

Color = Select a line color.

Weight = Type a value for line thickness.

Type = Select fixed or dynamic.

Std Dev = Choose a multiplier of the Standard Deviation used to derive high and low.

Lookback = Choose the number of bars that should be compared to the current bar.

Level = Assign a percentage value of average OB/OS to be used to calculate predictor OB/OS levels.

Display = Click this check box to display the line on the chart.

Style = Choose a line style: line, long dash, or short dash.



Bar Interval (BarInt)


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

Bar Interval returns the current value of the bar interval for the chart it is applied to. It is used primarily for creating conditions where specifying a bar time frame is important.

Example: BarInterval(@,none) > BarInterval(@,30) would be true if the current bar time frame were greater than 30 minutes.

Example: BarInterval(@,none)



Parameter

Description

Interval

Values:

None


15-Minute

30-Minute

60-Minute

120-Minute

Daily

Monthly


Semi-Annual

Yearly


Download 0.61 Mb.

Share with your friends:
1   2   3   4   5   6   7   8   9   ...   20




The database is protected by copyright ©ininet.org 2024
send message

    Main page