Price line is not correct

 

Hello,

 

I have MT5 Demo with Build 468. Local Time: 19:10, 2011.06.22, Berlin Time. 

The bid price line on the Charts of EURUSD (20 minutes and 2 hours) shows 1.44039.

The Market Watch  window shows 1.43987.

The price line on the Charts (EURUSD) is not correct. What is the matter?

The price line on the Charts of EURCHF and EURGBP, for example,  shows the correct price.

Thanks.

 

J. M. R. Martins   

 

Did you set any scripts, indicators or EA on this chart? 

 
"alexvd:

Did you set any scripts, indicators or EA on this chart? "

 

Yes, I set some indicators (in the example, a built-in indicator (a moving average) , a custom indicator, and an EA is running too).

As you can see in the picture, the price line shows 1.45426 as the Market Watch window shows 1.45436.

The bar, too, is not painted simultaneously with the move of the line. 

Thanks for any idea.

 

J.M. R. Martins  

 

Files:
 
JMRodMartins:

Probably one of indicators, which is set on the chart, is calculating too slow. Try to determine which of them and delete it from the chart. 

 
"alexvd:

Probably one of indicators, which is set on  the chart, is calculating too slow. Try to determine which of them and delete it from the chart. "

 

You are right. The indicator was written with "ArraySetAsSeries( array, true)", now i calculated it with "ArraySetAsSeries(array, false)", and

now all price lines show the correct prices. Thanks! 

 

Reason: