Dear in ur EA, remove TP/ TS and change multiple in to Linear.
Your EA will pick trade and will not close it on either TP or trail, so u can close it manual whenever u feel to close but it will apply martingale in term of Linear sequence as you mentioned.
If you want ur EA to take signal as per your required distance then change time frame of your chart.
I believe I have solved your problem.
Dear can you give one set file?



