Mohammad Hasan Mosaddeqi: EA act as programmed, … reinitialize and work
correct?
- You changed time frame, so the indicator has already been reset.
- Software always "act as programmed."
- If EA is not correct, do you really expect an answer? We can't see your broken code. We don't know what is not correct. There are no mind readers here and our crystal balls are cracked.
William Roeder:
Dear William, - You changed time frame, so the indicator has already been reset.
- Software always "act as programmed."
- If EA is not correct, do you really expect an answer? We can't see your broken code. We don't know what is not correct. There are no mind readers here and our crystal balls are cracked.
My problem is related number 1,how can I reset indicator automatically?
Hi,
So your indicator repaints,so it should be modified into the indicator,
Otherwise the EA can't reset/refresh the indicator data at first time it's loaded into the EA.
Mehrdad Jeddi:
Thanks Mehrdad for your answer but this indicator is not repaint and it has lag to appearing arrows.
Hi,
So your indicator repaints,so it should be modified into the indicator,
Otherwise the EA can't reset/refresh the indicator data at first time it's loaded into the EA.
I have written an MT4 EA including code to update it's variable values by importing data from a text file. Debugging my code with stops in the appropriate places I can see that the variable values have been successfully updated. However, when displaying them by left-mouse clicking on the face at the top right of the graph to display the Expert Advisors properties, I find that extern string variables do not show the change. (int, double and bool variables do show the change). Is there a way of refreshing the values displayed against the variables in the properties window?
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 code an EA that use an indicator that I haven't source code of it,
This indicator give signal by appearing arrows but I have a problem with this indicator,
sometimes when I changed time frame and so EA reinitialized, I see that chart refresh and new arrows appeared and EA act as programmed,
How can I add code to this EA that automatically reinitialize and work correct?