The function wfo_setAdvancedOptions accepts an integer value which is a bitwise set of flags, that is a specific bit enables specific feature. All supported flags are listed in the header file with corresponding values. #define WFO_FLAG_AUTO_CLOSE_SPLIT_TRADES 1 #define WFO_FLAG_MISMATCH_FIX_OFF 2 #define WFO_FLAG_STOP_ON_RANGE_VIOLATION 4 #define WFO_FLAG_CHECK_TICK_MODELLING 8 #define WFO_FLAG_STOP_ON_NONSTD_PARAMS 16 #define WFO_FLAG_RESUME_OPTIMIZATION 32 Multiple features can be enabled
Version 1.12 of WFO-library introduces an interesting and powerful feature – a possibility to pause and resume an optimization. Until now WFO-library supported only separate uninterrupted optimizations. From the point of view of EA developer, new mode can be enabled by new flag WFO_FLAG_RESUME_OPTIMIZATION (32) passed to the function wfo_setAdvancedOptions. But apart from the coding,