Forum

Get user input for mql5 scripts

I created a working script, but when I load it to the chart I don't get Input Window like I get loading an EA, It loads automatically with its defaults. What should I do with it? I remember, I started learning mql5 , and back then it always asked for submission with an input window

How can I create Several Custom OnTester Criterias?

While Optimizing I need custom criteria's to see results without running a Single Test For example on Optimization window I got Profit, Profit Factor ..., and I need to add some custom criteria's besides OnTester result which is being optimized

How to get Profit of the Closed Position by its ticket?

I can't get Profit of the closed position, cause the ticket of closed order is different, how can I get it only knowing ticket of the position while opening? P.S. On mql5