From 9ca6d1b1905592db6112e836825fc3d34177ddfc Mon Sep 17 00:00:00 2001 From: Toh4iem9 Date: Tue, 23 Sep 2025 13:16:26 +0200 Subject: [PATCH] refactor: Heikin Ashi price --- Include/MyIncludes/RSI_Pro_Calculator.mqh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Include/MyIncludes/RSI_Pro_Calculator.mqh b/Include/MyIncludes/RSI_Pro_Calculator.mqh index 600570b..bdb23f7 100644 --- a/Include/MyIncludes/RSI_Pro_Calculator.mqh +++ b/Include/MyIncludes/RSI_Pro_Calculator.mqh @@ -9,7 +9,7 @@ //+==================================================================+ //| | -//| CLASS 1: CRSIProCalculator (Standard) | +//| CLASS 1: CRSIProCalculator (Base Class) | //| | //+==================================================================+ class CRSIProCalculator @@ -215,7 +215,6 @@ bool CRSIProCalculator_HA::PreparePriceSeries(int rates_total, ENUM_APPLIED_PRIC ArrayResize(ha_close, rates_total); m_ha_calculator.Calculate(rates_total, open, high, low, close, ha_open, ha_high, ha_low, ha_close); -//--- The HA version ALWAYS uses the HA Close price for the RSI calculation ArrayCopy(m_price, ha_close, 0, 0, rates_total); return true; }