MyPrice (Function)

image\trumpet2.gif Disclaimer

The MyPrice function returns the average price of the High, Low and Close prices of the bar.

Syntax

MyPrice

Returns (Double)

A numeric value containing the average price of the bar.

Parameters

None

Example

Assigns to Value1 the average bar price of 5 bars ago.

Value1 = MyPrice[5];