Forum

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

Unable to override CExpertTrade Buy and Sell functions

Hi, I derived my Expert from CExpert . For OrderManagement CExpert uses CExpertTrade as a member m_trade. Since I need some modifications of placing buy/sell orders, I've created my on PsExpertTrade derived from CExpertTrade. The problem now is that the main functions of CExpertTrade (Buy,Sell) are

Does CExpert handles all open orders without checking magic_number?

Hi, while building my robot I looked into the CExpert class. I see the Symbol-Check but there is no check for the magic_number. What am I missing ? (the Expert should only handle its own orders right?) bool CExpert::Processing( void ) { . . . //--- check if plased pending orders int total=