How to save/load EA 'input parameters' programming in MQL5? - page 2

 
graziani:
you cant run parallel. parameter range can be set only in OnTesterInit().
Not only in Tester. Even on demo or real.
 
ROMAN5:

I have posted on Service Desk few minutes ago. 

Reason: Every pair have different input parameters...when I want to run Tester - it is nightmare to change the settings (load .set file every time if I change other pair), sometime forgot to save manually.

Maybe you can hardcode parameters in an array of custom structure type. Then only use 1 parameter for index of your array to use.
 
angevoyageur:
Maybe you can hardcode parameters in an array of custom structure type. Then only use 1 parameter for index of your array to use.

I'm also interested by such a function ! Is it yet possible to do it without hardcoding parameters, but using a file ? Kinda ...

- You optimize

- Save the parameters

- On init the EA autoload params from the file. 

EDIT : maybe file fileread, but concatenating line by line may take some times to be coded, anyone have such a function to share ?