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:
@@ -60,6 +60,7 @@ public static class Enums
|
||||
EmaTrend,
|
||||
Composite,
|
||||
StochRsiTrend,
|
||||
StochasticCross,
|
||||
Stc,
|
||||
StDev,
|
||||
LaggingStc,
|
||||
|
||||
Reference in New Issue
Block a user