AlgoLab Apex Cycle Scanner
- Indicatori
-
Davide Fucarino
Founder & CEO di AlgoLab | Finance · Code, startup fintech che sviluppa strumenti di trading algoritmico per MetaTrader 4 e 5.
Trader forex dal 2006 e sviluppatore MQL4/MQL5: trasformo le strategie in regole e le regole in codice.
Cosa sviluppo: - Versione: 1.4
- Attivazioni: 5
AlgoLab Apex Cycle Scanner scans every symbol in your Market Watch (or a custom list) and ranks them in one panel by a confluence score built from four modules: dominant cycle, volatility regime, multi-timeframe market structure and volume profile.
Why "Apex Cycle"
"Apex" means the highest point, the peak. "Cycle" is the market cycle. Every market moves in cycles: rises, peaks, declines and lows. The name describes what the tool is for: showing where each market sits inside its dominant cycle (near the low, half-way or near the apex) and whether the structure on the higher timeframes agrees with it.
How it works
- Module 1 – Cycle. The closing prices of the cycle timeframe (D1 by default) pass through the Ehlers roofing filter: a 2-pole high-pass at the maximum cycle length plus a SuperSmoother at the minimum length, so only cycles between the two remain. The Pearson autocorrelation of the filtered series over the last 2 x Max cycle bars is computed for every lag; the highest local peak is the dominant cycle. The panel shows its length in bars, the phase (% of the cycle elapsed since the last filtered low), the bars left to the next expected low and an oscillator (0 = cycle low, 100 = cycle crest). Cycles with an autocorrelation below the threshold are shown in grey and are not used in the score.
- Module 2 – Regime. Volatility regime per symbol from the ratio between fast and slow ATR (14/100): Expand, Normal or Squeeze. A global Risk-On / Risk-Off reading comes from a basket (AUDJPY, NZDJPY, US500, NAS100, inverse Gold by default): the distance of each asset from its 50-day average in ATR units, averaged across the basket. Only the names that exist on your broker are used; alternative names are separated by "|".
- Module 3 – Structure. Last two confirmed pivots on H4, D1 and W1: UP (higher highs and higher lows), DN (lower highs and lower lows) or RG (range), with BOS and CHoCH events on the middle timeframe. A tick-volume profile on H1 (about 20 days) gives the 70% Value Area, the POC and the position of the price: above, inside or below the Value Area, with the distance from the POC in ATR.
- Module 4 – Score. Score = 1.5 x W1 + 1.0 x D1 + 0.5 x H4 structure + 1.0 x cycle (+1 near the cycle low, -1 near the crest, +0.5 when the phase is above 80%) + 0.5 x Value Area position. Range about -4.5 to +4.5. Bias LONG at +2 or more, SHORT at -2 or less, otherwise neutral. All weights and thresholds are inputs.
Panel
Columns: Symbol, Cycle, Phase, Osc, Vol, H4, D1, W1, Event, Value Area, Score, Bias. Rows are sorted by score; click a symbol to open its chart. Buttons for paging, rescan and CSV export (MQL5\Files). Dark and light themes, English or Italian panel.
Technical notes
- All values are calculated on closed bars only: they do not repaint on the current bar.
- Symbols are analysed in small batches on a timer, so the terminal stays responsive with 100+ symbols.
- In the Strategy Tester, with an empty custom list and fewer than 3 symbols in the Market Watch, a demo basket of major pairs and Gold is used.
Input parameters
- General: panel language, symbols to scan (Market Watch or all broker symbols), custom symbol list, panel theme, maximum symbols, symbols per second, full rescan interval, automatic CSV export.
- Cycle: timeframe, bars analysed, minimum and maximum cycle, minimum autocorrelation.
- Regime: fast and slow ATR, expansion and compression thresholds, Risk-On basket, basket moving average.
- Structure: lower, middle and higher timeframe, pivot strength, Volume Profile timeframe, bars and price levels.
- Score and panel: weights of each component, minimum score for a bias, rows per page, panel position.
A free edition with the cycle and structure modules only is available as AlgoLab Cycle Structure Scanner.
This is an analysis tool. It does not open trades and does not guarantee any result. Cycles and structure describe the market as it is; they do not predict future prices.
AlgoLab developer Davide Fucarino
