pie autoinvest and manualy invest

Hello friends, I have a question

If I have a pie with 13 stocks and I invest automatically per month, is ok, but if stock will be low price an I will buy many stocks manually to the pie and after 3 years I will want sell some of stocks on his maximum… can I damage compound interest in my autoinvest pie ?

Thanks you for answer a lot