Lean icon indicating copy to clipboard operation
Lean copied to clipboard

Inconsistent indicator property types

Open superichmann opened this issue 1 year ago • 2 comments

Most indicator properties are of IndicatorBase<IBaseDataBar> or IndicatorBase<IndicatorDataPoint> type, such as PercentB for BB. It would be nice if all properties of all indicators would be consistent and constructed in the same manner. For example, the PeriodsSinceMaximum property of Maximum is an INT and not one of the mentioned data types. This makes it impossible to access past values of PeriodsSinceMaximum without implementing it myself. Many other indicator properties are missing the window function.

superichmann avatar Oct 21 '24 07:10 superichmann