| Nome del file | Ultimo messaggio di commit | Ultima data di commit |
|---|---|---|
| .. | ||
| Int | ||
| Atr.mqh | ||
| AtrCts.ex5 | ||
| AutoDelete.mqh | ||
| BarControler.mqh | ||
| ClasesBases.mqh | ||
| DiffCalc.mqh | ||
| Events.mqh | ||
| FA_Test.mq5 | ||
| FuncionesBases.mqh | ||
| LoggerDef.mqh | ||
| Managers.mqh | ||
| README.md | ||
| SimpleLogger.mqh | ||
| Sort.mqh | ||
| StringToArray.mqh | ||
Utils/FA
Shared base classes used across the ecosystem: ATR access, bar control, auto-cleanup, simple logging, diffs and sorting.
Main features
- ATR wrapper for indicator access (
CAtrand related classes inAtr.mqh). - Bar-change detection helpers, including per-timeframe variants (
CBarControler,CBarControlerFastW1,CBarControlerFastMN1,CBarControlerFastMinors). - Automatic pointer cleanup on deinit (
CAutoCleaner). - Lightweight logging base used by other modules (
CLoggerBase). - Distance/diff calculators — by points or by ATR (
CDiff,CDiffPoint,CDiffAtr). - Simple array sorting (
CSimpleSort).
Basic usage
Bar control
CBarControler bar_ctrl;
bar_ctrl.Init(_Symbol, PERIOD_CURRENT);
if(bar_ctrl.IsNewBar())
{
// new bar logic
}
Auto-cleanup
CAtr* g_atr = new CAtr();
g_atr.Create(_Period, _Symbol, 14, true, true);
CAutoCleaner::AddPtr(g_atr); // will be deleted automatically on deinit
Diff by ATR
CDiffAtr* diff = CreateDiffptr(MODE_DIFF_BY_ATR, _Symbol, g_atr, 0, 1.5);
Only the most representative classes are shown here.