API Series constants

From NakedMarkets
Jump to navigation Jump to search

Summary

The Series constants are used to define the different values of the bar.

Definition

Constant name Value
Series.MODE_OPEN Open value of the Bar
Series.MODE_LOW Low value of the Bar
Series.MODE_HIGH High value of the Bar
Series.MODE_CLOSE Close value of the Bar
Series.MODE_VOLUME Volume value of the Bar
Series.MODE_TIME Date value of the Bar

Examples

C# code snippet :
UPDonchianBuf[index] = High(iHighest(Symbol(), Period(), Series.MODE_HIGH, period, index));