Difference between revisions of "High"
Jump to navigation
Jump to search
(→Usage) |
(→Notes) |
||
(2 intermediate revisions by 2 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]] |
Latest revision as of 15:55, 28 February 2012
Returns the high price.
Usage
High
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:
Plot1(High, "High");
Plot the high price of the previous bar:
Plot1(High Of 1 Bar Ago, "Previous bar's high");
Plot the high price of two bars ago:
Plot1(High[2], "High 2 Bars ago");