mirror of
https://github.com/softwaredevelop/mql5.git
synced 2026-08-25 02:08:04 +00:00
refactor: add CutlerRSI_Engine
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user