Welcome Guest, you are in: Login
CTS Futures
Home
Pricing
Market Data
FAQ
Videos

T4 Desktop
User Guide
Scripting Guide
Release Notes

Mobile and Web
T4 Mobile for Android
T4 Mobile for iOS
T4 Mobile for Browser
T4 WebTrader

Admins
T4 Admin Guide
MiFID II/MiFIR

Developers
API 4.7 Guide
FIX API


Page History: HIGHEST Function

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: 2011/07/21 23:43


HIGHEST( <value>, <periods>)

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

Example Data
Parameter!! Description
<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/20117510076050741007587510652874100
06/02/2011757507700075450766508189175450
06/03/2011765507690075100752008081975450
06/06/2011754007580073150731758272675450
06/07/2011732007377572925736757292775450
06/08/20117387576650734507627511333975450
06/09/20117640079300759507842512082475950
06/10/2011785007997577725785758698977725
06/13/2011786007925077725781757866177725
06/14/20117792577950752507545011268277725
06/15/20117602576225725507257513042077725
06/16/20117257572850698757002512531677725
06/17/2011700507145069125702009314077725
06/20/2011704507077569550701506370275250
06/21/2011703007192570225708257110872550
06/22/20116812568500650256502512701570225
06/23/20116500065300620006467513822070225
06/24/2011652256567562800628757887670225



Back to the Scripting Function Reference

Trade how you want, where you want

support@ctsfutures.com (312) 939 0164

2 Pierce Pl, Suite 200, Itasca, IL 60143

© 2009-2023 Cunningham Trading Systems LLC All rights reserved.