"===== time settings ====="; input bool TimeFilter = false; input string StartHour = "00:00"; input string StopHour = "22:00"; "===== trade entry settings ====="; AutoLot = false/True; Risk = 1; FixedLot = 0.1; StopLoss = 150; TakeProfit = 100; Martingale =True/False LotMultiplier =1.5; Martingale distance=100 Points Trades Count: 7 (Open seven trades Once the pending order is triggered) Overall Take Profit =50 Points (This is when I use Martingle) Take profit and close the trades HideSLTP = false; DrawHiddenSLTP = true; Breakeven = false; BreakevenAt = 70; BreakevenTo = 1; Trailing = false; TrailStart = 70; TrailStop = 70; TrailStep = 10; Spread: 50 points Slip : 10 points input string hint2 = "===== indicator settings ====="; Candle Size : Points ( IF the current candle size is longer more than specified then open opposite Pending Stop order against it. ) ( EX Candle size 400 Points and The current candle is 500 points Up direction then open pending order against it. If it bear then open bullish pending order) Pending order distance : points ( This is the distance between the candle current price and Pending order) If the candle keeps moving against pending order then move the pending order by X points. Allow multiple trades on the same candle: True/False ( To enable / disable open 2 order after the trade is closed on the same candle).