Allows to control the algorithm used on period compression and expansion.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
[Visual Basic] Public Enum PeriodConvertionFlags [C#] public enum PeriodConvertionFlags [C++] public __value enum PeriodConvertionFlags [JScript] public enum PeriodConvertionFlags
| Member Name | Description | Value |
|---|---|---|
| UseAverage | Each variables, except for Volume and OpenInterest, are compress by calculating the average of all the values of the corresponding existing variable. | 0 |
| UseAverageVolume | The volume is compress by calculating the average of all the values of the existing Volume variable. | 1 |
| UseDailyAverageVolume | Same as UseAverageVolume, except that the resulting compression is always the "Daily Average Volume". This flag overrids the UseAverageVolume flag. This flag will not work for compression to an intraday period. | 2 |
| UseAverageOpenInterest | The OpenInterest is compress by calculating the average of all the values of the existing Volume variable. | 3 |
| UseDailyAverageOpenInterest | Same as UseAverageOPenInterest, except that the resulting compression is always the "Daily Average Open Interest". This flag overide the UseAverageOpenInterest flag. This flag will not work for compression to an intraday period. | 4 |
Namespace: TA.Lib
Assembly: Timeseries (in Timeseries.dll)