mikeitexpert:
I calling an indicator in my EA using iCustom, and the indicator has an input parameter. How can back-test the EA using different input values of the indicator's input parameter...
Of course I can set a default value and compile the indicator with different default input values. But, I don't want recompile it every time.
Please let me know what is the right way to do this.
Thank you,
int iCustom( string symbol, // symbol name ENUM_TIMEFRAMES period, // period string name // folder/custom_indicator_name ... // list of indicator input parameters );https://www.mql5.com/en/docs/indicators/icustom

Documentation on MQL5: Technical Indicators / iCustom
- www.mql5.com
[in] The name of the custom indicator, with path relative to the root directory of indicators (MQL5/Indicators/). If an indicator is located in a subdirectory, for example, in MQL5/Indicators/ [in] input-parameters of a custom indicator, separated by commas. Type and order of parameters must match. If there is no parameters specified, then...
We can all use search here. It would be much more helpful if you posted an actual example

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I calling an indicator in my EA using iCustom, and the indicator has an input parameter. How can back-test the EA using different input values of the indicator's input parameter...
Of course I can set a default value and compile the indicator with different default input values. But, I don't want recompile it every time.
Please let me know what is the right way to do this.
Thank you,