Example: ChartSaveTemplate but I need one for saving/loading the MQL5 'input parameters'.
Thanks.
I don't think this is existing. You have to write your own function in your EA.
Big job :-(
Maybe I am wrong, but I don't see another method. You can still post a suggestion on ServiceDesk for them to add this feature.
Anyway, if you explain why you need that, maybe I can help to find a workaround ?
Maybe I am wrong, but I don't see another method. You can still post a suggestion on ServiceDesk for them to add this feature.
Anyway, if you explain why you need that, maybe I can help to find a workaround ?
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.
See the example here https://www.mql5.com/en/forum/10508#comment_427162
and documentation there https://www.mql5.com/en/docs/optimization_frames
OnTester(), ParameterGetRange(), ParameterSetRange()
This is not what I am looking for. Thank you.
Something like simple with single method: e.g. ChartSaveInputs(string fileName) / ChartApplyInputs(string fileName)
Example: ChartSaveTemplate but I need one for saving/loading the MQL5 'input parameters'.
Thanks.
I have done something similar with mql4 to save a default parameter value when the user wants to set one but doesn't have access to, or ability to, change the source code. I used GlobalVariables, the tricky bit is determining when the user wants to save the new default value or not. You could also write the values to file rather than GlobalVariables, especially if you want to save strings.
I'm not sure if the approach I took with mql4 will work with mql5, it relied on being able to tell that an extern/input has changed from true to false or false to true.
I have done something similar with mql4 to save a default parameter value when the user wants to set one but doesn't have access to, or ability to, change the source code. I used GlobalVariables, the tricky bit is determining when the user wants to save the new default value or not. You could also write the values to file rather than GlobalVariables, especially if you want to save strings.
I'm not sure if the approach I took with mql4 will work with mql5, it relied on being able to tell that an extern/input has changed from true to false or false to true.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Example: ChartSaveTemplate but I need one for saving/loading the MQL5 'input parameters'.
Thanks.