HIGHEST Function

Modified on 2011/07/22 07:31 by Chad Lowe (CTS) — Categorized as: Uncategorized

HIGHEST( <value>, <periods> )

Returns the highest value occurring over the last number of periods from the current data point.

Function Parameters
ParameterDescription
<value>The value field to inspect (e.g. CLOSE, HIGH, (H+L+C)/3, etc.)
<periods>The number of periods to look back.

Example:

HIGHEST(CLOSE, 5)

Example Data
DateOpenHighLowCloseVolumeHIGHEST(CLOSE, 5)
06/01/20117510076050741007587510652875875
06/02/2011757507700075450766508189176650
06/03/2011765507690075100752008081976650
06/06/2011754007580073150731758272676650
06/07/2011732007377572925736757292776650
06/08/20117387576650734507627511333976650
06/09/20117640079300759507842512082478425
06/10/2011785007997577725785758698978575
06/13/2011786007925077725781757866178575
06/14/20117792577950752507545011268278575
06/15/20117602576225725507257513042078575
06/16/20117257572850698757002512531678575
06/17/2011700507145069125702009314078175
06/20/2011704507077569550701506370275450
06/21/2011703007192570225708257110872575
06/22/20116812568500650256502512701570825
06/23/20116500065300620006467513822070825
06/24/2011652256567562800628757887670825



Back to the Scripting Function Reference