Add StochasticCross indicator support in GeneticService and related classes

- Introduced StochasticCross indicator type in GeneticService with configuration settings for stochPeriods, signalPeriods, smoothPeriods, kFactor, and dFactor.
- Updated IIndicator interface and IndicatorBase class to include KFactor and DFactor properties.
- Enhanced LightIndicator class to support new properties and ensure proper conversion back to full Indicator.
- Modified ScenarioHelpers to handle StochasticCross indicator creation and validation, ensuring default values and error handling for kFactor and dFactor.
This commit is contained in:
2025-11-24 10:39:53 +07:00
parent ad3b3f2fa5
commit 43d7c5c929
7 changed files with 256 additions and 2 deletions

View File

@@ -60,6 +60,7 @@ public static class Enums
EmaTrend,
Composite,
StochRsiTrend,
StochasticCross,
Stc,
StDev,
LaggingStc,