mirror of
https://github.com/softwaredevelop/mql5.git
synced 2026-08-25 10:18:04 +00:00
refactor: Uses MovingAverage_Engine for smoothing
This commit is contained in:
@@ -68,7 +68,7 @@ bool CStochRSI_Slow_Calculator::Init(int rsi_p, int k_p, int slow_p, ENUM_MA_TYP
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
// Init RSI calculator
|
// Init RSI calculator
|
||||||
if(!m_rsi_calculator.Init(m_rsi_period, 1, MODE_SMA, 2.0))
|
if(!m_rsi_calculator.Init(m_rsi_period, 1, SMA, 2.0))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// Init MA Engines
|
// Init MA Engines
|
||||||
|
|||||||
Reference in New Issue
Block a user