mirror of
https://github.com/softwaredevelop/mql5.git
synced 2026-08-16 05:48:05 +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;
|
||||
|
||||
// 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;
|
||||
|
||||
// Init MA Engines
|
||||
|
||||
Reference in New Issue
Block a user