If the following is included in CustomParameterMT4 will it override the parameters in the mql4 generated by SQ?/*** add your own parameters that will be included in every EA* into file /code/CustomParametersMT4.mq4*///extern bool TradeOnHour1 = true;extern bool UseMoneyManagement = true;extern double Lots = 1;extern int LotsDecimals = 2;extern double RiskInPercent = 1.0;extern double MaximumLots = 10;extern bool UseFixedMoney = false;
Can a very simple example of CustomCodeMT4 be made available?
Yes those manually defined parameters should override defaults since its place into output code behind default values
You can place any piece of MQL4 code into CustomCodeMT4. It is similar to standard function calls. Look here http://docs.mql4.com/basis/function/events#oninitHi,I have attempted to use CustomParametersMT4 but it doesn’t override the EA parameters. Am I doing something wrong or is it a SQ glitch?Does “/file” means create a directory called ‘file’ then copy CustomParametersMT4 there ? Is “/file” a typo meaning it should be copied into the default folder ‘files’? Or does “/file” mean the EA file location. The SQ3 instructions are a little ambiguous so clarification is urgently sought.Thank you
You must be logged in to reply to this topic.