Martin Overlap Bot
Continue_work - Continue (true) or not continue (false) the trading cycle. In the Continue_work=false mode, the EA does not place new orders. The rest of the orders follow in the normal mode. They are closed in averaging or overlapping mode according to the algorithm .
Lot - the Lot for opening the first order of the series
MaximalLot - the maximum allowable lot
ProfitOverlap - Profit from which the first and last order of the series is closed (in the Deposit currency)
TakeProfit - Take profit level for a series of orders (in points)
Step - Step (distance) between orders (in points)
Multiplier - The multiplication factor the lots next orders
Magic - Unique identifier of orders (if set to 0, the EA will work with orders opened manually - I do not recommend)
Start_Hour - Time to start trading. Written in the format HHmm (for example, 00:15 will be as 0015).
End_Hour - Time to stop trading. Is written in format HHmm (for example 23:55 will as 2355). After the end time, the EA will pause until the start time.
Maximal_Drawdown - Maximum drawdown (in Deposit currency). After the occurrence of this event all orders are closed forcibly on the current chart.
Added the ability to continue or not to continue the trading cycle. If you do not continue the market orders are closed in the normal mode and new ones are not placed.
Added the ability to start and pause the EA at the specified time.
Added the ability to close all market orders when the drawdown specified in the settings is reached.