Event Offset (Event Offset)
This function can be accessed only in the Toolbox.
Event Offset counts the number of bars since a user-specified event occurred and reports the negative of that number or zero if the event occurred on the selected bar.
Example: EventOffset( High(@)> HiLevel(@,20,0)[-1],1,400)
Parameter
|
Description
|
NEvents
|
Allows the user to specify whether every occurrence of the event will trigger a true or only every 2nd, 3rd, 4th, etc.
|
Max Bars To Search
|
Selects the maximum number of bars to cover.
|
Exponential (Exp)
This function is available on the Add Study window and in the Formula Toolbox.
Exponential raises "e" (approximately 2.71) to the chart value. For example, if the chart value were 0, the study would show a value of 1. Because these numbers can get big very quickly, CQG uses exponential notation to represent these numbers. Additionally, the biggest number that can be accommodated is e232.
Example: Exponential(@)
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.
|
Floor (Floor)
This function is available on the Add Study window and in the Formula Toolbox.
The Floor function rounds the chart value down to the next lowest integer.
Example Formula: Floor(Low(@))
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.
|
Happened Within (HappenedWithin)
This function can be accessed only in the Toolbox.
The Happened Within function returns a value of true if the designated event happened within the specified number of bars. In the Setup Parameters window users can specify whether every occurrence of the event will be included in the evaluation or only every 2nd, 3rd, 4th, etc. occurrence of the event.
Example: HappenedWithin(Day(@)<> Day(@)[-1],21,1)
Parameter
|
Description
|
Bar Count
|
Specifies the number of bars the function will use to determine whether the event is true or false.
|
NEvents
|
Allows the user to specify whether every occurrence of the event will trigger a true or only every 2nd, 3rd, 4th, etc.
|
Share with your friends: |