Commit graph evolution/src/SubIndiBase.mqh
Author SHA1 Message Date
cd50d18f99 style: align pointer and reference symbols with type
In modern C++ and OOP practices, pointer and reference qualifiers are treated as an intrinsic part of the data type rather than the variable name. Aligning these symbols with the type reinforces this semantic distinction, improving conceptual clarity and consistency with modern conventions.
2026-08-28 12:32:39 -07:00
dfac980ebd refactor: add prepareCalculation overload with isFullCalculation flag
Add an overload for CSubIndiBase::prepareCalculation() that outputs whether
drawBegin is included in the calculation range via the isFullCalculation flag.

Adopt this overload in CSma::onCalculate(), allowing the redundant prepareRecurrenceSeed()
helper to be inlined and removed since the if (isFullCalculation) check makes seed
initialization transparent and self-documenting.
2026-08-18 18:45:45 -07:00
4ec4cc98ca refactor: rename prepareBeforeCalculating to prepareCalculation
Rename prepareBeforeCalculating() to prepareCalculation() and update
associated local variables from recalcStartIdx to calcStartIdx.
2026-08-18 18:44:50 -07:00
9f98246116 docs: add code comments to all source files 2026-08-10 22:26:48 -07:00
acfbfa108f refactor: pull up prepareBeforeCalculating to base class 2026-05-19 20:07:14 -07:00
246b12b750 refactor: introduce clearBuffersAt hook for subclasses 2026-05-18 22:34:24 -07:00
96627473d2 refactor: centralize rates_total checks in CSubIndiRegistry 2026-04-27 06:45:21 -07:00
a8fa958ee4 refactor: introduce CSubIndiBase for sub-indicators 2026-04-20 09:38:49 -07:00