Some of my fxd EA's won't reinitiale after changing settings or timeframes
-
Hi Radoslav and fellow fxDreema users,
My fxDreema EA's won't reinitialize / refresh when I change timeframes or settings while the EA is running.
I tried to create a simple EA with only 2 blocks just now, to share here as an example, but to my surprise that simple EA does reinitialize just fine. My more complex EA's won't though.
Does anyone have any idea what I did wrong?Best regards,
Saf
-
when changing settings for running EAs from fxDreema, remove EA from chart and place it again ...
or as alternative .. it is caused by this part of code:

if you need full reinitialization with all settings and without removing EA from chart, this part of code give into quotes as this example and click compile button (in MetaEditor) :

-
Hi miro, that did the trick! I can't help but wonder though, why you wouldn't want to have the EA reinitialize when you change settings, because if you don't, the changes you make will not be applied, right? I don't really see the logic in that, but hey, this works for me, so thank you for the great support. I appreciate it!
Peace!!!!
-
I also dont use this "feature" and dont know why it is ... I can understand it in this form:

because result is, when you change between timeframes, all settings are not changed and it can be ok - something what is usefull ... but in form when it is skipped settings changed in EA settings - I dont see it usefull - maybe somebody need it

-
@miro1360 Right, perhaps. I'm not sure though, but I kind of think that most users would prefer this functionality to be disabled by default, or to be adjustable in the Project Options menu or something, but hey, I'm not complaining! Your solution solved my issue!
Thanks again for all the help Miro! -
Has anyone found a way to automatically exclude this code by using blocks or custome code ? Woiuld be really useful as it consumes a lot of time having to rem it out with each new version.
Many thanks.
-
@fxDreema as what Mantadiver was asking, is there a way we can automatically exclude this code so we don't have to jump into meta editor each time? Essentially what we want is for the EA to reinitialise when changes to any settings have been made.
-
https://fxdreema.com/forum/topic/16310/when-to-stop-oninit
Admin has already answered on this issue, there is no problem in their view