Trade trigger condition (works for 4 digit and 5 digit brokers) Entry conditions for initial orders 1)smoothed MA cross over closing candle min 3 from down to up - for buy smoothed MA cross over closing candle min 3 from up to down - for sell 2) Equity is less than equity_fixed + equity_profit check (equity< equity_fixed+equity_profit) Hedge orders will be created when the initial orders reaches hedging_pips parameters in the loosing direction. Similarly, there will be hedge orders(hedge to hedge) created when the existing hedge order goes in the loosing direction. In this scenario, Last hedge TP value will need to saved in memory inorder create the hedge to hedge order with a hedge_to_hedge_difference_pips gap. External parameters Lot_size = 0.01 Smoothed_MA = 200 Initial No of orders = 2 Take_profit = (for all orders) stop_loss = (for all orders) Trailing_stop = (for all orders) equity_fixed(Initial Balance) = (in dollars / account currency) Equity_profit = (in dollars / account currency) hedging_pips = hedge_to_hedge_difference_pips = 10 The Expert Advisor must check and correctly process possible errors in Trading operations Source code will be part of the deliverables with sufficient comments