After several attempt I have changed the code this way: I changed ObjectSetString to ObjectSetText and in every tick the EA use ObjectCreate without ChartID() and I don't use in ObjectSetText too.
I think the problem was the not right mql4 function using.
In the first code as I posted here I have used this code:
After several attempt I have changed the code this way: I changed ObjectSetString to ObjectSetText and in every tick the EA use ObjectCreate without ChartID() and I don't use in ObjectSetText too.
The new code that is working:
As you see there is no ChartID().
And at least in the code:
This saved my day. I've same problem with MT5 code.
It's working after IchangedObjectSetStringtoObjectSetText
Solved.
So what was the problem?
I think the problem was the not right mql4 function using.
In the first code as I posted here I have used this code:
After several attempt I have changed the code this way:
I changed ObjectSetString to ObjectSetText and in every tick the EA use ObjectCreate without ChartID() and I don't use in ObjectSetText too.
The new code that is working:
As you see there is no ChartID().
And at least in the code:
So what was the problem?
I think the problem was the not right mql4 function using.
In the first code as I posted here I have used this code:
After several attempt I have changed the code this way:
I changed ObjectSetString to ObjectSetText and in every tick the EA use ObjectCreate without ChartID() and I don't use in ObjectSetText too.
The new code that is working:
As you see there is no ChartID().
And at least in the code:
This saved my day.
I've same problem with MT5 code.
It's working after I changed ObjectSetString to ObjectSetText
Thank you