1,501
edits
No edit summary |
(→Notes) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
Returns the high price. | Returns the high price. | ||
== Usage == | |||
<syntaxhighlight>High</syntaxhighlight> | |||
== Notes == | |||
* See [[Close]] for the closing price, [[Low]] for the low price and [[Open]] for the open price of a bar. | |||
* The range of returned values is limited by the [[MaxBarsBack]] setting. | |||
== | == Examples == | ||
Plot the high price of the current bar: | Plot the high price of the current bar: | ||
<syntaxhighlight>Plot1(High,"High");</syntaxhighlight> | <syntaxhighlight>Plot1(High, "High");</syntaxhighlight> | ||
Plot the high price of the previous bar: | Plot the high price of the previous bar: | ||
<syntaxhighlight>Plot1(High Of 1 Bar Ago,"Previous bar's high");</syntaxhighlight> | <syntaxhighlight>Plot1(High Of 1 Bar Ago, "Previous bar's high");</syntaxhighlight> | ||
Plot the high price of two bars ago: | Plot the high price of two bars ago: | ||
<syntaxhighlight>Plot1(High[2],"High 2 Bars ago");</syntaxhighlight> | <syntaxhighlight>Plot1(High[2], "High 2 Bars ago");</syntaxhighlight> | ||
[[Category:Data Information/General]] | [[Category:Data Information/General]] |