input ENUM_OPTION1 GridSelectionOption = OPTION1_Constant_Grid; // Choose the option for grid selection
input double Constant_Grid = 100; // Option 1 and 2: Define Constant_Grid
input bool BuyOrder = true;
input bool SellOrder = true;
input bool BuySellOrder = true;
input bool SellBuyOrder = true;
input bool BuyTrailingStopIsAllowed = true; // Allow trailing stop for all buy positions
input bool SellTrailingStopIsAllowed = true; // Allow trailing stop for all sell positions
input bool CloseSinglePosition = false;
input bool CloseHighestLotPosition = false;
input bool ClosePositionsbyTime = false;
input bool ClosePartialPositions = false;
input bool ClosebyEquity = true;
input bool ClosebyBalance = false;
input double lotbuy = 0.1; // First Position Size(lot size)
input double lotsell = 0.1; // First Position Size(lot size)
input double lotsellbuy = 0.05; // First Position Size(lot size)
input double lotbuysell = 0.05; // First Position Size(lot size)
input double TP = 500; // Take profit in pips multiplied by 10
input double SL = 10000; // Stop loss in pips multiplied by 10
input double TP1 = 500; // Take profit for buy coupled with sell and vice versa
input double BuyClosingProfit = 50; // Take profit for Opened buy position in account currency
input double SellClosingProfit = 50; // Take profit for Opened sell position in account currency
input double AllClosingProfit = 50; // Take profit for All Opened position in account currency
input double SingleClosingProfit = 1000; // Take profit for single sell or buy position in account currency
input double onehourprofit= 1000;
input double fourhourprofit= 4000;
input double eighthourprofit= 8000;
input double DailyProfit= 200;
input double WeeklyProfit= 800;
input double MonthlyProfit= 2000;
input double onehourloss= -1000;
input double fourhourloss= -4000;
input double eighthourloss= -8000;
input double DailyLoss= -24000;
input double WeeklyLoss= -100000;
input double MonthlyLoss= -200000;.
input double Constant_Grid = 100; // Option 1 and 2: Define Constant_Grid
input bool BuyOrder = true;
input bool SellOrder = true;
input bool BuySellOrder = true;
input bool SellBuyOrder = true;
input bool BuyTrailingStopIsAllowed = true; // Allow trailing stop for all buy positions
input bool SellTrailingStopIsAllowed = true; // Allow trailing stop for all sell positions
input bool CloseSinglePosition = false;
input bool CloseHighestLotPosition = false;
input bool ClosePositionsbyTime = false;
input bool ClosePartialPositions = false;
input bool ClosebyEquity = true;
input bool ClosebyBalance = false;
input double lotbuy = 0.1; // First Position Size(lot size)
input double lotsell = 0.1; // First Position Size(lot size)
input double lotsellbuy = 0.05; // First Position Size(lot size)
input double lotbuysell = 0.05; // First Position Size(lot size)
input double TP = 500; // Take profit in pips multiplied by 10
input double SL = 10000; // Stop loss in pips multiplied by 10
input double TP1 = 500; // Take profit for buy coupled with sell and vice versa
input double BuyClosingProfit = 50; // Take profit for Opened buy position in account currency
input double SellClosingProfit = 50; // Take profit for Opened sell position in account currency
input double AllClosingProfit = 50; // Take profit for All Opened position in account currency
input double SingleClosingProfit = 1000; // Take profit for single sell or buy position in account currency
input double onehourprofit= 1000;
input double fourhourprofit= 4000;
input double eighthourprofit= 8000;
input double DailyProfit= 200;
input double WeeklyProfit= 800;
input double MonthlyProfit= 2000;
input double onehourloss= -1000;
input double fourhourloss= -4000;
input double eighthourloss= -8000;
input double DailyLoss= -24000;
input double WeeklyLoss= -100000;
input double MonthlyLoss= -200000;.