The tool should be able to take a CSV file with specific format as input and needs to do the following. The CSV file has list of orders with 1.name of the Currency pair or metal 2.Volume 3.ordertype (only two types of order - BUYSTOP or SELLSTOP) 4.Entry, Stop-loss, Take profit 5.Loop-times 6.Terminate value The tool must read the CSV file and place 1st order in the list with SL and take profit updated. If the take profit of the order is completed directly, the CSV file should stop. No further actions needed. I will remove the EA from chart. If stop loss is achieved, i want the tool to place the same order again at the instant when stop loss is achieved. I want the tool to place the same order each time when stop loss is achieved for the mentioned number of times in Loop column in CSV file or until the price equals or higher than terminate value ( price equals or lesser than terminate value for CSV file with buy stop orders) Example: Let us consider the below as first two orders in the csv file. Script Volume Order type Entry Stoploss Take profit Loop Times Terminate value for first order XAUUSD 0.05 SELLSTOP 2300 2305 2395 10 2315 XAUUSD 0.1 SELLSTOP 2310 2305 2300 10 2320 XAUUSD 0.15 SELLSTOP 2315 2318 2305 10 2322 1.The EA after getting the csv file as input, should place the sell stop order at 2300 for 0.05 lots with SL and TP updated. If it directly reaches the TP of 2395, the EA should stop working. 2.If it reaches the SL of 2305, i want the EA to place the same order again at 2300. If the order executes and reaches TP now, the EA should stop working. (so at any case when tp gets hit, the particular EA should stop working) 3.If it reaches stoploss, the EA is placing the same trade again and If the price equals or if the price is higher than terminate value 2315,the first order should be deleted and second order should be placed. 4.now if second order gets executed at 2310 and if its TP is achieved, EA should stop. IF SL is achieved order should be placed again. If terminate value of 2320 is achieved, the second order should be deleted and third order should be placed at 2315. 5. This has to go through the same for all the list of orders in CSV file. I'm limiting the maximum list of order's as 25 in the CSV. So Take profit, end the EA. SL place the order again, Terminate value place the next order. Two different EA for buystop and sellstop to avoid confusion.