Files
QuanTAlib/quantower/Averages/HtitIndicator.cs
T
2024-10-11 18:02:09 -07:00

23 lines
643 B
C#

using TradingPlatform.BusinessLayer;
namespace QuanTAlib;
public class HtitIndicator : IndicatorBase
{
private Htit? ma;
protected override AbstractBase QuanTAlib => ma!;
public override string ShortName => $"HTIT : {SourceName}";
public HtitIndicator() : base()
{
Name = "HTIT - Hilbert Transform Instantaneous Trendline";
Description = "Uses Hilbert Transform to identify the dominant cycle and generate a smooth, lag-free trendline.";
}
protected override void InitIndicator()
{
ma = new Htit();
MinHistoryDepths = ma.WarmupPeriod;
base.InitIndicator();
}
}