Download MetaTrader 5

Indicator does be deleted from chart after restart Metatrader

To add comments, please log in or register
Tradeing Trader
569
Tradeing Trader  

Hello,

i have find today somethink that i dont understand.

I have create a indicator which does draw some text to chart. When i close MetaTrader and restart it, then the indicator sometimes is not more on the chart, i dont understand why the indicator is automatic deleted, have somebody see somethink simular and know what to do to slove the problem?

Alain Verleyen
Moderator
32372
Alain Verleyen  
Which MT4 build ?
Tradeing Trader
569
Tradeing Trader  

It is MT4 Build 600 and i am coding since long time at the MetaTrader but i did not see such think before.

Without me deleting the indicator, he is not more attached to the chart after 2-3 shutdown and restart from the metatrader.

When i delete in the indicator some code then this dont happen, but i did not find out currently which part code does make this and normaly it is very simple code nothink that should make such problems, i dont include some files or so, it is just drawing text label to chart.

Keith Watford
Moderator
10561
Keith Watford  

Do you mean that the indicator is no longer attached to the chart

or

the text labels drawn by the indicator have been deleted?

Alain Verleyen
Moderator
32372
Alain Verleyen  
PlanandTrade:

It is MT4 Build 600 and i am coding since long time at the MetaTrader but i did not see such think before.

Without me deleting the indicator, he is not more attached to the chart after 2-3 shutdown and restart from the metatrader.

When i delete in the indicator some code then this dont happen, but i did not find out currently which part code does make this and normaly it is very simple code nothink that should make such problems, i dont include some files or so, it is just drawing text label to chart.



Current build is 610.
Tradeing Trader
569
Tradeing Trader  
GumRai:

Do you mean that the indicator is no longer attached to the chart

or

the text labels drawn by the indicator have been deleted?


the indicator was no longer attached to the chart.


I have find ouy now the problem, there was a zero divide error, since i have correct the zero divide error it does not happen any more.

To add comments, please log in or register