forked from animatedread/Warrior_EA
Replace the absolute thread count input (CpuDllThreads) with a percentage-based CPU_LOAD_PRESET enum (TargetCPULoad). This allows users to specify a percentage of detected cores to use when the CPU DLL fallback is active, improving flexibility and preventing issues when multiple instances share the same CPU DLL pool. Also adds CPU_GetHardwareConcurrency() for accurate core detection.
9 lines
No EOL
523 B
MQL5
9 lines
No EOL
523 B
MQL5
//+------------------------------------------------------------------+
|
|
//| Trailing.mqh |
|
|
//| AnimateDread |
|
|
//| https://www.mql5.com |
|
|
//+------------------------------------------------------------------+
|
|
#property copyright "AnimateDread"
|
|
#property link "https://www.mql5.com"
|
|
#include <Expert\Trailing\TrailingNone.mqh>
|
|
#include "..\Trailing\TrailingATR.mqh" |