API Series constants: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 23: | Line 23: | ||
C# code snippet : | C# code snippet : | ||
<code> | <code> | ||
UPDonchianBuf[index] = High(iHighest(Symbol(), Period(), Series.MODE_HIGH, period, index)); | <br>UPDonchianBuf[index] = High(iHighest(Symbol(), Period(), Series.MODE_HIGH, period, index)); | ||
</code> | </code> |
Latest revision as of 11:20, 5 January 2023
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));