I believe the text is being created over and over. Maybe delete object and recreate it?
no -
1) I checked it and I posted the code and you can see either that a new object is created only if it couldn't be found otherwise only the text is changed.
2) I was running
c = ObjectSetText(objID,Line+" "+Line,11,"Monofonto",White);
in this way for a longer time the values are written without this 'art of writing':
c = ObjectSetText(objID,Line+" "+Line,11,"",White);
Is objID assigned a different value elsewhere in your code?
No! Only the values to be displayed are calculated out of this function.
BTW I attached this indi. at the chart (first entry) at 16:18. The first "mutiple-stamp" appears at 20:01 until the market closes with 10 'after-burners' ;)
May be it's a buffer overflow to get admin. rights ;)
In this case, using canvas will be more preferable in terms of performance, code size, and features.
Hi,
I created an indicator to display volume + spread as 90° turned text objects in its separate window.
At the beginning everything looks perfect!, but after a while (some hours on the m1 chart) it gets mad look at the attached snapshot.
Can it be that mt4 gets into troubles by the non standard font that I use: Monofonto?
My error-function ErrN(_LastError) doesn't show any error!
This is the function that creates the objects (I doubled Line, as I thought it might be caused by the length):
After some hours the indicator looks like:
PS: I tried to post it at the service-desk but when I click on the save button I get the error message: Enter your request title (it may not exceed 100 characters)
while in that field I entered: "Text-Objects getting mad?" :(
Have a nice weekend.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
I created an indicator to display volume + spread as 90° turned text objects in its separate window.
At the beginning everything looks perfect!, but after a while (some hours on the m1 chart) it gets mad look at the attached snapshot.
Can it be that mt4 gets into troubles by the non standard font that I use: Monofonto?
My error-function ErrN(_LastError) doesn't show any error!
This is the function that creates the objects (I doubled Line, as I thought it might be caused by the length):
After some hours the indicator looks like:
PS: I tried to post it at the service-desk but when I click on the save button I get the error message: Enter your request title (it may not exceed 100 characters)
while in that field I entered: "Text-Objects getting mad?" :(
Have a nice weekend.