what do i do when my EA gets invalidated?

 

My EA is a trade managing EA it doesn't take automatic trades. everything is manual. besides auto sl/tp

 
As far as I know, you have to make do by adding a trading function just to satisfy the backtest requirements...
 
Brandon Nguyen:

My EA is a trade managing EA it doesn't take automatic trades. everything is manual. besides auto sl/tp

Before adding trading code I would check the category. In the Experts category the validator expects trades in its tester run, and a manager that waits for a manual position never opens one, so the run reads as broken. The Utilities category does not require trading operations. My own risk utility closes positions and still passed on the first attempt as a utility, so a tool that manages stop loss and take profit on manual trades fits there. If you would rather stay in Experts and add demo trades for the tester, keep in mind that the validator runs with a tiny deposit. My first expert upload failed with twenty one "not enough money" entries until I checked OrderCalcMargin against free margin before every order and skipped with a journal line instead of sending.