Could you explain what m_adjusted_point from CExpert does?

 

Hi there, I'm fighting with my advisor.

It is working well on indizes like DE30 or US500 but on EUR/USD it is not working.

I'm getting errors like "invalid price" or "invalid stop".

My Adviser derives from Include\Expert\Expert.mqh (CExpert) and I found something in the init function that needs some explaination.


//--- tuning for 3 or 5 digits
int digits_adjust=(m_symbol.Digits()==3 || m_symbol.Digits()==5) ? 10 : 1;
m_adjusted_point=m_symbol.Point()*digits_adjust;


For EUR/USD

m_adjusted_point = 0.0001

but 

_Point = 0.00001


What is this m_adjusted_point for?


Thanks

Robert

Reason: