using FinlyticCore.Dtos.TechnicalAnalysis;
namespace FinlyticTechnicals.Patterns;
///
/// Isolated detector contract for a specific candlestick, chart, or SMC pattern.
///
public interface IPatternDetector
{
PatternType HandledType { get; }
PatternCategory Category { get; }
///
/// Evaluates the technical context and returns a detected pattern or null if conditions are not met.
///
PatternResultDto? Evaluate(TechnicalContext context);
}