
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