Refactors the `OnTick` function to conditionally calculate fractal and Donchian Channel data.
This optimization avoids expensive `CopyBuffer`, `iHighest`, and `iLowest` calls when the corresponding user settings (`UseSMC`, `UseDonchianBreakout`, etc.) are disabled. This reduces the EA's CPU footprint for users who do not require all indicator-based features, improving overall performance.