Has Value (HasVal)

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

The Has Value function displays a 1 if a value exists for the selected time or a 0 if no value exists for the chosen bar.

Example: HasVal(@)

 

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.