The FTMO EA does not use martingale. It does however add to the lot. Martingale works differently. To stop adding make “Amount for a new position” and “Maximum position amount” the same.
The Academy’s free courses take you from a demo account to your first Expert Advisor, taught by the traders who answer here.