Open a buy order at market price with custom initial lot. Option 1. If price moves higher then open second buy order at custom pip with same lot size and set the SL for first order at BE . open additional buy orders for every custom pip movement higher with same lot and move the SL of all previous orders to second recent order SL. SL not required for most recent order and all other orders have SL in second recent order BE by default. Option 2. If price moves higher then open second buy order at custom pip with same lot size and set the SL for first order at BE+pips. open additional buy orders for every custom pip movement higher with same lot . SL not required for most recent order. set SL for all other orders at BE+pips after a custom pip movement. If price reverse after open most recent buy order, then that order will be in loss. If price moving lower continuously then open additional buy orders for every custom pip movement lower with multiplier lot of the previous order lot. Name these all orders in loss as unprofit series. Combine the total value of these all orders in unprofit series and close the all orders when the total value reach the custom amount. open a sell order at market price with custom initial lot. Option 1. If price moves lower then open second sell order at custom pip with same lot size and set the SL for first order at BE . open additional sell orders for every custom pip movement lower with same lot and move the SL of all previous orders to second recent order SL. SL not required for most recent order and all other orders have SL in second recent order BE by default. Option 2. If price moves lower then open second sell order at custom pip with same lot size and set the SL for first order at BE+pips. open additional sell orders for every custom pip movement lower with same lot . SL not required for most recent order. set SL for all other orders at BE+pips after a custom pip movement. If price reverse after open most recent sell order, then that order will be in loss. So open additional sell orders for every custom pip movement higher with multiplier lot of the previous order lot. Name these all orders in loss as unprofit series. Combine the total value of these all orders in unprofit series and close the all orders when the total value reach the custom amount. (DD Reduction) When the total number of unprofit orders reach a custom number, close the most recent and the most earliest order in the series when these two orders total profit is reach custom amount. We have five combinations of different values for closing of unprofit orders . We have to start buy and sell orders at same time when EA started on chart. So any one type of order will be in profit and another will be in unprofit initially . They can change to profit or unprofit individually. So the profit or unprofit side is not a particular side . it is simply the orders in profit and orders with loss at a given time. We have to combine the total profit value of all UNPROFIT orders alone for TP option 1 We have to combine the total profit value of all UNPROFIT and PROFIT orders for TP option 2 If Unprofit orders alone closed then open new order in the same direction with initial lot. If (unprofit and profit ) all orders closed then open initial orders again. TP options FOR UNPROFIT ORDERS : Option1. Close only UNPROFIT side orders If, Total profit amount of all UNPROFIT side orders is equal or greater then TP value1 & Account equity is greater then custom percentage1. OR Total profit amount of all UNPROFIT side orders is equal or greater then TP value2 & Account equity is lesser then custom percentage1. OR Total profit amount of all UNPROFIT side orders is equal or greater then TP value3 & Account equity is lesser then custom percentage2. OR Total profit amount of all UNPROFIT side orders is equal or greater then TP value4 & Account equity is lesser then custom percentage3. OR Total profit amount of all UNPROFIT side orders is equal or greater then TP value5 & Account equity is lesser then custom percentage4. Option2. Close all orders PROFIT side + UNPROFIT side If Total profit amount of all (PROFIT+UNPROFIT)orders is equal or greater then TP value1 & Account equity is greater then custom percentage1. OR Total profit amount of all (PROFIT+UNPROFIT)orders is equal or greater then TP value2 & Account equity is lesser then custom percentage1. OR Total profit amount of all (PROFIT+UNPROFIT)orders is equal or greater then TP value3 & Account equity is lesser then custom percentage2. OR Total profit amount of all (PROFIT+UNPROFIT)orders is equal or greater then TP value4 & Account equity is lesser then custom percentage3. OR Total profit amount of all (PROFIT+UNPROFIT)orders is equal or greater then TP value5 & Account equity is lesser then the custom percentage4. External Inputs required like this : Initial Lot Profit side pip gap Unprofit side pip gap Unprofit pip gap multiplier Unprofit lot multiplier Move to BE at BE+pips TP1,TP2,TP3,TP4,TP5 ( TP value can be positive or negative.If the value is negative then the value should be calculated as -9 is greater then -10 for example.) Equity1,Equity2,Equity3,Equity4 ( custom percentage is the percentage value of current account balance) DD Profit Amount. DD Start No. Slippage Max Spread Magic number Color option for Info panal Info Panal on Chart Requirements: Account Number Account Name Leverage Spread Total Profit of Profit Total Profit of Unprofit Total volume of buy Total volume of sell ( Use Dropdown list for selecting the required logic for related strategy )