Hi,
I have a question regarding my code, I'm very far from even being considered as a novice programmer but I try.
I have a set of variables set up as user input, however, when I change them from the settings after the EA has been attached to the chart, it seems they don't get updated within the EA, only the settings show the correct input.
If I attach the EA to the chart again with the new settings it works.
I don't know how to proceed from here, tried resetting the parameters on the init, deinit, start, nothing seems to work.
I'm attaching the EA, any help would be greatly appreciated (and if you can think of improving my code, that would be awesome).
Thanks.
I have a question regarding my code, I'm very far from even being considered as a novice programmer but I try.
I have a set of variables set up as user input, however, when I change them from the settings after the EA has been attached to the chart, it seems they don't get updated within the EA, only the settings show the correct input.
If I attach the EA to the chart again with the new settings it works.
I don't know how to proceed from here, tried resetting the parameters on the init, deinit, start, nothing seems to work.
I'm attaching the EA, any help would be greatly appreciated (and if you can think of improving my code, that would be awesome).
Thanks.
Attached File(s)
ProfitSymbol.mq4
25 KB
|
212 downloads