Write Script for martingale only one open trade at a time - page 2

 
Yeah Thanks everyone for your help, I finished the code, does anyone need the finished product.....It more of a EMA Crossover martingale, 21 and 34 is quite profitable with martingale, like 8 to 9 steps martingale but 89 and 144 is the safest, but really slow.