Green/Red Bar Counts - usage example of indie.MutSeries[T] generic class

loading

We recently released an update to Indie language 4.1, which now includes generic series types: indie.Series[T] and indie.MutSeries[T]. The old types indie.SeriesF and indie.MutSeriesF are still available as aliases for indie.Series[float] and indie.MutSeries[float], respectively.

The "Green/Red Bar Counts" indicator demonstrates the usage of the new generic class indie.MutSeries[T], which is instantiated with T as the int type. The generic type parameter T can be any (well, almost any) Indie type, such as bool, str, etc.

TA TakeProfit
TakeProfit
Updated Feb 14
education
indie
Share icon

to activate earnings with sharing

Comments

loading