Bars Since (BarsSince)
This function can be accessed only in the Toolbox.
Bars Since counts the number of bars since a specified event occurred.
Example: BarsSince(@XABOVE 11000,1,300) would count the number of bars, up to a maximum of 300, since the selected symbol (@) first crossed above 11000.
Like other functions, the Bars Since function facilitates the creation of custom studies.
Example: BarsSince( High(@)> HiLevel(@,20,0)[-1],1,400)
Parameter
|
Description
|
NEvents
|
Allows the user to specify an occurrence number other than one before the count begins.
|
Max Bars to Search
|
Selects the maximum number of bars to cover.
| Ceiling (Ceil)
This function is available on the Add Study window and in the Formula Toolbox.
Ceiling rounds all non-integer chart values to the next highest integer. All integer chart values maintain their value.
Example: Ceil(High(@))
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.
|
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.
|
Conversion Factor
This function can be accessed only in the Toolbox.
Conversion Factor calculates the appropriate conversion for the futures contract based on the delivery period (for example, TYA?1, TYA?2) and the cash treasury (T.US.C025P0820, T.US.C034P0520).
Example: ConvFactor(TYA,CUS10)=0.6956
This function has no parameters.
Correlation (Correl)
This function is available on the Add Study window and in the Formula Toolbox.
Correlates the price movement of two symbols over a defined number of bars. For example CORREL(CL,QO,10) will return the correlation between West Texas Crude on the NYMEX and North Sea Brent on the IPE over the last 10 bars on the chart. Another variation on the correlation study is the following CORREL(@,SP,10) which correlates any symbol on the chart with the S&P Index over the last 10 bars.
Example: Correl(JNJ,DJI,30)
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.
|
Period
|
Enter a number to represent the period (number of bars) for the calculations.
|
Cos (Cos)
This function is available on the Add Study window and in the Formula Toolbox.
Cos takes the selected chart value, converts it into radians and calculates a cosine value. For example, the cosine value of 1090 is .99.
This value is calculated as follows:
1090/2π = 173.478
|
Calculates the laps around the unit circle.
|
.478 * 2π = 3.00894
|
Converts the leftover lap to radians.
|
Cos ( 3.00894) radians = .99124775
|
Displays the cosine for the calculated radians.
|
Example: Cos(@)
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.
|
Share with your friends: |