Hi , I think I can help you in Metatrader , If I have more Info about requirements for your strategy , From your question if I understand right you based on some entry signal you want to build multiple entry positions with different lots size till exposition of a trend and gradually close (exit) ...