refactor: add CutlerRSI_Engine

This commit is contained in:
Toh4iem9
2025-09-29 16:23:32 +02:00
parent 44eeae6359
commit f5b725a907
+2 -2
View File
@@ -5,7 +5,7 @@
//+------------------------------------------------------------------+ //+------------------------------------------------------------------+
#property copyright "Copyright 2025, xxxxxxxx" #property copyright "Copyright 2025, xxxxxxxx"
#property link "" #property link ""
#property version "3.00" #property version "3.01" // Final unified architecture
#property description "Professional Cutler's RSI (SMA-based) with a signal line and" #property description "Professional Cutler's RSI (SMA-based) with a signal line and"
#property description "selectable price source (Standard and Heikin Ashi)." #property description "selectable price source (Standard and Heikin Ashi)."
@@ -92,7 +92,7 @@ int OnInit()
} }
else // Standard price source selected else // Standard price source selected
{ {
g_calculator = new CCutlerRSICalculator(); g_calculator = new CCutlerRSICalculator_Std();
IndicatorSetString(INDICATOR_SHORTNAME, StringFormat("CutlerRSI(%d,%d)", InpPeriodRSI, InpPeriodMA)); IndicatorSetString(INDICATOR_SHORTNAME, StringFormat("CutlerRSI(%d,%d)", InpPeriodRSI, InpPeriodMA));
} }