Signal


Summary

The Signal line of MACD (red line)

Remarks

Signal: 9 day EMA of the blue line

Syntax

public IndicatorDataSeries Signal{ get; }

Example 1

//...
private MacdCrossOver _macdCrossOver;
[Output("Signal")]
public IndicatorDataSeries Signal { get; set; }
protected override void Initialize()
{
    _macdCrossOver = Indicators.MacdCrossOver(LongCycle, ShortCycle, Period);
}
public override void Calculate(int index)
{
    Signal[index] = _macdCrossOver.Signal[index];
    //...
}