From c1126f7ae15a90b242ffd47c1807220d1157f94e Mon Sep 17 00:00:00 2001 From: Toh4iem9 Date: Fri, 24 Oct 2025 17:44:26 +0200 Subject: [PATCH] refactor: ENUM_APPLIED_PRICE_HA_ALL --- Indicators/MyIndicators/Laguerre_RSI_Pro.mq5 | 21 -------------------- 1 file changed, 21 deletions(-) diff --git a/Indicators/MyIndicators/Laguerre_RSI_Pro.mq5 b/Indicators/MyIndicators/Laguerre_RSI_Pro.mq5 index ed0d66a..3d5722b 100644 --- a/Indicators/MyIndicators/Laguerre_RSI_Pro.mq5 +++ b/Indicators/MyIndicators/Laguerre_RSI_Pro.mq5 @@ -30,27 +30,6 @@ //--- Include the calculator engine --- #include -//--- Custom Enum for Price Source, including Heikin Ashi --- -enum ENUM_APPLIED_PRICE_HA_ALL - { -//--- Heikin Ashi Prices (negative values for easy identification) - PRICE_HA_CLOSE = -1, - PRICE_HA_OPEN = -2, - PRICE_HA_HIGH = -3, - PRICE_HA_LOW = -4, - PRICE_HA_MEDIAN = -5, - PRICE_HA_TYPICAL = -6, - PRICE_HA_WEIGHTED = -7, -//--- Standard Prices (using built-in ENUM_APPLIED_PRICE values) - PRICE_CLOSE_STD = PRICE_CLOSE, - PRICE_OPEN_STD = PRICE_OPEN, - PRICE_HIGH_STD = PRICE_HIGH, - PRICE_LOW_STD = PRICE_LOW, - PRICE_MEDIAN_STD = PRICE_MEDIAN, - PRICE_TYPICAL_STD = PRICE_TYPICAL, - PRICE_WEIGHTED_STD= PRICE_WEIGHTED - }; - //--- Input Parameters --- input double InpGamma = 0.2; // Laguerre filter coefficient (0 to 1) input ENUM_APPLIED_PRICE_HA_ALL InpSourcePrice = PRICE_CLOSE_STD;