Download MetaTrader 5

Can somebody help me with this OsMA-Indicator? - page 2

To add comments, please log in or register
ffoorr
1070
ffoorr  

when changing TimeFrame, the init code is read again and the lines are deleted, ... if they have the right name, ( same name init and start)

then the code inside the start is read again and redraw the line

edit : to delete the line in the chart, you can try that, ObjectFind return the position of the chart ; 0 for window chart

 if (ObjectFind("ChartLine1")>-1) ObjectDelete("ChartLine1");
  if (ObjectFind("ChartLine2")>-1) ObjectDelete("ChartLine2");
mar
1147
mar  

IT WORKS!!!! :)

Thank you so much!!!

I just wonder why it worked with the indicator lines before and not with the price-area lines. It think it has to do with the fact that there are two different windows but I can't explain what exactly the problem was..

However, it works! :)

qjol
3243
qjol  
mar:

IT WORKS!!!! :)

Thank you so much!!!

I just wonder why it worked with the indicator lines before and not with the price-area lines. It think it has to do with the fact that there are two different windows but I can't explain what exactly the problem was..

However, it works! :)


probably a bug report to Service Desk
12
To add comments, please log in or register