Auto Algo EA MT4 and MT5 As per rules EA has to open Buystop and Sell stop Order With TP and SL Rules : Based on Last Candel have to calculate some 'X' pips. X = (Last Candel High - Last Candel Low)/ 'Y' Value Condition : if (X/Spread) value not more than 'Z' Value No order at the time. Buy Stop = (Current Candel Open + X) Sell Stop = (Current Candel Open - X) AUTO TP is True = (X/2 PIPs) AUTO TP is Flase = Manual Entry. Once Hit any Stop Order, opposit order has to mulltiply '2'; and Modify that order stop loss at the Opposit Stop Order place, if order hit TP Opposit order has to cancel; Like that Continue. AUTO Lot : We will give risk % Like = 1%, it has to calculate Lot as per free margin, leverage, and X value SL, INPUTS : Risk = 1% Y Value = 6 Z Value = 3 Mulltiply = 2 AUTO TP = TRUE/FALSE MANUAL TP = 10 (IF AUTO TP FALSE) Start Time = 00:00 End Time = 23:59