Thanks for the reply. What happened was I had 8 trades in a series and all closed but the 8th because it had no take profit. When I checked out the journal it had a "off quotes" error when it was doing the modifyOrder command. I like to use this EA without the martingale feature. I like to predict a direction and then dollar cost average with more lots if it starts out going the other way.
Thanks for your help.