WeightedClose (Function)

image\trumpet2.gif Disclaimer

The WeightedClose function returns an average price that gives more precedence to the Close than the High or Low.

Syntax

WeightedClose

Returns (Double)

A numeric value containing the weighted close.

Parameters

None

Remarks

The WeightedClose function calculates the average price of the bar by taking the High and Low and adding it to two Closes and dividing by four.

Example

Value1 = WeightedClose;