i am experience some issue with an indicator that i am working on , can somebody please take a look and tell me why its causing this issue ?
to put it simply the indicator is not refreshing
Explanation: when i attach the indicator to the chart and leave it on, after sometime when i attach another instance of the indicator with similar parameters then then new indicator shows different lines then the one that was previously attached to the chart even if i dont attach the new indicator , and simply double click on the currently attached indicator and then click on the OK button on see the screenshot please
even if i dont attach the new indicator , and simply double click on the currently attached indicator and then click on the OK button, it changes the previously draw lines:
Sometimes the change is too much and sometimes the change is not too much , but there is always some changes , depending on after how many bars i double click and press OK on the indicator
i will highly appreciate if someone can point what am i doing wrong, thanks
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hello all
i am experience some issue with an indicator that i am working on , can somebody please take a look and tell me why its causing this issue ?
to put it simply the indicator is not refreshing
Explanation:
when i attach the indicator to the chart and leave it on, after sometime when i attach another instance of the indicator with similar parameters then then new indicator shows different lines then the one that was previously attached to the chart
even if i dont attach the new indicator , and simply double click on the currently attached indicator and then click on the OK button on
see the screenshot please
even if i dont attach the new indicator , and simply double click on the currently attached indicator and then click on the OK button, it changes the previously draw lines:
Sometimes the change is too much and sometimes the change is not too much , but there is always some changes , depending on after how many bars i double click and press OK on the indicator
i will highly appreciate if someone can point what am i doing wrong, thanks
Here is my code :