TDT Engine · AlgoFuego · Calendar-Based Trading

The Market Has a Calendar.
Trade It.

Timeseries-Driven Trading [AlgoFuego]

Every other indicator watches price to decide when to act.
TDT watches the clock — triggering trades strictly from
calendar timestamps, year cycles, and bar-count intervals.

Read the method
Calendar Entries
Year Filters
Bar-Count Exits
SL + TP
Performance Table
4 Alert Types
Commission Sim
7-Day Guarantee
I
The Philosophy

Price Is the Effect.
Time Is the Cause.

Every oscillator, moving average, and pattern indicator you've ever used reads price and asks "what is happening?" TDT asks a different question entirely — "when does it happen?" The thesis is that markets have temporal rhythms. Seasonal cycles, recurring annual behaviors, event-driven patterns that repeat not because of price, but because of when.

"

A time-series framework that treats time itself as a signal — isolating the pure impact of calendar timing on market returns, removing price-pattern noise entirely from the hypothesis.

TDT Engine · AlgoFuego Design Principles
TDT
This is the engine Gann's seasonal disciples never had. Not a price tool with a calendar overlay — a pure time-trigger engine where entries and exits are anchored to specific calendar dates, recurring year cycles, or fixed bar-count durations. Price is not consulted. The clock decides.
II
The Mechanism

A Date Arrives.
A Trade Opens.

The logic is precise and deliberate. A calendar date is selected. Every year — or every other year — when that date arrives on the chart, the engine fires. No price confirmation. No confirmation candle. The date is the signal.

1
Select an Entry Date

Choose the exact day and month that has historically marked a turning point — a seasonal pattern, a recurring macro event, an annual cycle. The engine scans every bar in history and marks every instance where that date occurs. All years, odd years, or even years only.

2
Apply a Year Filter

All Years fires every time. Odd Years targets 2021, 2023, 2025. Even Years targets 2020, 2022, 2024. This lets you study biennial patterns, election-year cycles, and behaviors that repeat every two years from a single configuration — without splitting your test manually.

3
Define the Exit Rule

Exit by a second calendar date — ideal for fixed seasonal windows like "hold from January 15th to March 30th" — or by bar count, closing the trade after a defined number of bars regardless of when the calendar lands. Both serve different timing hypotheses.

4
Risk Controls Activate Automatically

Optional stop-loss and take-profit levels appear on the chart and feed directly into every backtesting calculation. Commission simulation — entry percentage plus exit percentage — ensures compound return figures reflect what the strategy actually delivers after costs.

Which Years
Does the Pattern Repeat?

All Years
Fires every calendar year matching the entry date. Use for annual seasonal studies — quarterly cycles, end-of-year effects, recurring macro behaviors.
01
Odd Years
Fires only in 2021, 2023, 2025 and so on. Ideal for post-election year patterns, mid-cycle behaviors, and biennial market tendencies tied to odd-numbered years.
02
Even Years
Fires only in 2020, 2022, 2024 and so on. Study election-year cycles, even-year volatility windows, or any hypothesis that aligns with the two-year calendar rhythm.
Date-TriggeredCalendar Entries
All · Odd · EvenYear Filters
Date or Bar CountExit Logic
Long & ShortBoth Directions
SL · TPRisk Management
Commission SimEntry % + Exit %
4 AlertsEntry · Exit · SL · TP
Pine v6Latest Version
All TFAny Timeframe
7 DaysMoney-Back
III
The Signal

One Calendar Date.
One Trade Decision.

The flow is clean. A date arrives. The engine opens a position in the configured direction. The exit condition — a second calendar date or a bar count — closes it. Risk controls manage the interval. No price interpretation required at any step.

Entry Date
Jan 15
Every odd year
Year Filter
Odd Years
2021 · 2023 · 2025
Hold
45 Bars
Bar-count exit
LONG
Entry · Stop Loss · Take Profit
Performance analytics updated

Two Exit Modes. One Clock.

Calendar Exit gives you a precise seasonal window — enter on one date, close on another. Bar Count Exit gives you a consistent holding duration — enter on the date, close after N bars no matter when that lands.

Seasonal Window
Calendar Date Exit

Close the trade when a specific calendar date is reached — day and month, with optional year filter. Ideal for fixed seasonal windows such as "hold from January 15th to March 30th" where the end of the season is as meaningful as the start.

Duration-Based
Bar Count Exit

Close the trade after a fixed number of bars from entry — supporting "hold for 20 trading days" type hypotheses where a consistent duration matters more than a specific exit date. Clean, repeatable, and timeframe-flexible.

IV
The Engine

Not Just a Signal.
A Complete Time System.

The calendar event triggers entry. Everything after — holding period, risk management, performance tracking, bars remaining until close — runs automatically. You iterate the dates. The engine measures every result across the full price history.

Timeseries-Driven Trading · Performance Table
Live Statistics
Signal TypeJan 15 → 45 Bars · Long
Total Trades22
Wins / Losses15 / 7
Win Rate68.2%
Max Return+22.7%
Avg Return+5.4%
Compound Return+204.8%
Bars Until Close

Equity Curve (Illustrative)

Compound Return+204.8%
Win Rate68.2%
Max Single Trade+22.7%

Performance data is illustrative. Statistics auto-update as calendar cycles complete. Commission simulation deducts entry and exit fees from all compound return figures.

Time-Series Driven Signal Logic

Trades fire from calendar timestamps — not price patterns, momentum, or oscillators. Date, year filter, and exit condition are the only inputs. The hypothesis is time. The output is a quantified historical record of whether that time-thesis holds.

Multi-Year Seasonal Pattern Testing

Test the same date every year, every odd year, or every even year from a single configuration. Seasonal hypothesis testing that would take hours in a spreadsheet runs automatically across your entire chart history in seconds.

Built-In Risk Management

Percentage-based stop-loss and take-profit levels render visually on the chart as labeled lines — customizable in color and label size from Tiny to Huge. Both levels factor into all backtesting calculations for accurate performance metrics.

Commission-Aware Backtesting

Input separate entry and exit commission percentages. All profit/loss calculations and compound return figures adjust automatically. The table displays both gross and net-of-commission returns for direct side-by-side comparison.

On-Chart Performance Statistics

Signal type, total trades, wins/losses, max/min/avg return per trade, win rate, compound equity before and after commission, and bars remaining until current trade closes — live on every new signal, directly on your TradingView chart.

Four Independent Alerts

Entry, exit, stop-loss, and take-profit alerts are individually toggleable through TradingView. Push notifications and email supported. You know the dates in advance — the alerts ensure you act on them even when away from the screen.

V
Two Exit Modes · One Calendar

See the Difference
in Real Time.

Both modes read the same calendar entry date. What changes is how time defines the close. Toggle between them and watch how the same trigger date produces two distinct trade architectures — fixed seasonal window versus fixed duration hold.

Calendar Date Exit
Calendar Date Exit

Enter a Season.
Leave on a Date.

You define an entry date and an exit date. The trade opens every time the entry date arrives and closes exactly when the exit date is reached — capturing a repeating seasonal window year after year.

Entry date arrives

Jan 15 (Odd years only) — trade opens on the bar open.

Holding period

Position held through the seasonal window. SL and TP manage risk.

Exit date reached

Mar 30 — trade closes regardless of price action on that bar.

Entry
Jan 15
Season
74 days
Exit
Mar 30
Exit Trigger
Calendar date reached
vs
Bar count elapsed
Window Size
Varies by year length
vs
Always identical
Best For
Seasonal windows
vs
Duration strategies
Hypothesis Type
Event-based window
vs
Fixed holding period
The Full Library

One Subscription.
Every Indicator.
Including This One.

Timeseries-Driven Trading is part of the complete AlgoFuego library. One subscription unlocks all 6+ indicators — Original Time Cycles, Gann Astrology, Swing Chart, Radio Wave, MA-DNA, AVA Backtest, and every future addition. No individual purchases. No upsells.

Instant TradingView access after payment
All 6+ indicators · All assets · All timeframes
Lifetime updates during active subscription
Priority 24/7 support
7-day money-back guarantee · No questions
Monthly
Annual −37.5%
$50 / month
$40
per month · billed monthly
Save 20% vs list price
All 6+ AlgoFuego indicators included. One plan, the entire library.
Subscribe — $40/month Browse the full library
7-day money-back guarantee. Not satisfied for any reason — full refund.
$40 / month
Get Access