Skip to content

Histogram Property

Summary

The histogram (bar graph). The difference between the short and long cycles.

Signature

1
public abstract IndicatorDataSeries Histogram {get;}

Return Value

IndicatorDataSeries

Declaring Type

cAlgo.API.Indicators.MacdHistogram

Examples

1
2
3
4
5
6
7
8
9
 //...
 private MacdHistogram macd;
 macd = Indicators.MacdHistogram(LongCycle, ShortCycle, Period);
 //...
 public override void Calculate(int index)
 {
     double macdHistogramResult = macd.Histogram[index];
     //...
 }

Last update: July 1, 2022

Comments