Change in MQL5 code generated by fxDreema
-
Hello fxDreema. After I generate my strategies, I began to give it a read codes and had a minimal understanding of the external variables. But one thing I have not got this this project.
Necessary that all timeframes summarizing only one external parameter, and not four, as this currently. Were actually 8, but I managed to leave only four parameters.
See the code.
......
TCF Turtle RJ v1.2.mq5 -
If you define some Constant in fxDreema, it will appear as a single thing in the inputs and can be used in all blocks. And yes, it will not be "ENUM_TIMEFRAMES"

-
Yes ... I do it always. Just happens that the timeframe has several, and if I make a constant, not give to optimize with each time period. Is it possible?
-
Several... these variables that start with "inp_" comes from the checkboxes in blocks, these in the right side of each parameter. I don't recommend these. And I there is something buggy with them and they appear in the code even if visually they are disabled. I'm not very sure about that, but I started to rewrite the whole fxDreema, so I will probably fix those problems meanwhile.
Use these for fast optimizing and then uncheck them, this is what I recommend. For true inputs better use Constants.
-
__For true inputs better use Constants.[/quote:3acp5ugl]
It's what I use most. That's right, sometimes even unchecking the parameters inputs, sometimes even appeared in EA.