From 2bdaee0fe5709652b2c4837048b65d7838cee098 Mon Sep 17 00:00:00 2001 From: Garfield Date: Tue, 24 Mar 2026 15:02:01 -0400 Subject: [PATCH] Fix missing input declarations in OrdersEA_Smart_Grid Added missing input variables: - input int EquityFactorPercent= 0; - input int LotsFactorPercent= 0; These were referenced in CalcLots() function but not declared. --- OrdersEA_Smart_Grid.mq5 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OrdersEA_Smart_Grid.mq5 b/OrdersEA_Smart_Grid.mq5 index c39e8e5..07601bd 100644 --- a/OrdersEA_Smart_Grid.mq5 +++ b/OrdersEA_Smart_Grid.mq5 @@ -53,6 +53,8 @@ input string OpenNewTrades="Y"; input bool Opposite= false; input int TakeProfitLevelPercent= 50; input int TakeProfitLevelDollarAmount= 2000; +input int EquityFactorPercent= 0; +input int LotsFactorPercent= 0; input int BaseEquity= 10000; input bool Master= false; input bool DiagnosticModeOn= false;