Proper Order To List #Include Files In MQ5 Expert Advisor?

 

Is there a proper order in which Include files should be loaded?

Some special order to prevent conflicts?

Why do I ask? I thought something I was reading mentioned it momentarily. I cannot re-locate the reference, but it left a concern in my mind.

Any problem with this?

//+------------------------------------------------------------------+
//| Include Files                                                    |
//+------------------------------------------------------------------+
#include <Expert\Expert.mqh>
//--- available signals
#include <Expert\Signal\SignalAC.mqh>
//--- available trailing
#include <Expert\Trailing\TrailingFixedPips.mqh>
//--- available money management
#include <Expert\Money\MoneyFixedLot.mqh>
//#include <ChartObjectPanel.mqh>
#include <Object.mqh>
//--- std error
#include <stdlibErr.mqh>
//--- Account Info
#include <Trade\AccountInfo.mqh>
//--- Trade Functions
#include <Trade\Trade.mqh>
//--- Date Time
#include <Tools\DateTime.mqh>
//--- Memory Checks
#include <OpenCL\OpenCL.mqh>
// END OF INCLUDE FILES ==============================================

Thank you.

 

Not really, at least not in this case (if they were not correctly ordered and they needed to be, you would get a compilation error).

The exception is if you have 2 files that depend on one another (and mostly if you want to check-compile mqh files), but that's a very rare issue and definitely not something that happens with standard library files. Or if you did macro redefinitions purposefully in some way...

 
DHess10000: Is there a proper order in which Include files should be loaded?

Properly coded, it shouldn't matter.

If one depends on another, then it, not you, should include it internally.

Reason: