ILoveTrading Documentation
Trading Calendar & Daily Performance Heatmap
The Trading Calendar is an interactive behavioral visualizer embedded within the ILoveTrading dashboard. It organizes execution data into a standard Monday-to-Sunday monthly grid, translating raw PnL numbers into a chromatic performance heatmap to quickly spot behavioral discipline, overtrading spikes, and daily consistency patterns.
1. Mathematical Formulation & Aggregation
Each calendar cell aggregates all closed trade lifecycles completed during that UTC trading date:
Formula / Calculation
Daily Net PnL = Σ (j=1)^n (Gross PnL_j - Commission_j - Swap_j)
Formula / Calculation
Monthly Aggregate PnL = Σ (d=1)^{DaysInMonth} (Daily Net PnL_d)
The aggregate monthly return dynamically displays at the top-right of the calendar header alongside localized month and year indicators.
2. Heatmap Visual Coding & Day Cell Anatomy
Each day cell provides immediate visual feedback through color-coded intensity:
┌───────────────────────────────────────────────┐
│ 14 [3 Trades] │
│ │
│ +450.00 │
└───────────────────────────────────────────────┘
- Chromatic Tones:
- Profitable Days (Green): Highlighted in emerald tones when Daily Net PnL > 0.
- Losing Days (Red): Highlighted in ruby/rose tones when Daily Net PnL < 0.
- Inactive / Breakeven Days (Neutral Slate): Rendered in standard background tones when no trades were executed or Net PnL equals 0.00.
- Trade Count Pill: A compact badge displaying the total number of closed executions completed on that day.
- Current Day Highlight: Outlines today's date with a distinctive border for rapid orientation.
3. Interactive Drill-Down: DailyTradesModal
The calendar is a gateway for in-depth session forensics. Clicking on any day square with active trades immediately launches the Daily Trades Modal:
- Detailed Execution Table: Displays all individual trades for that specific date.
- Granular Data Points: Includes Broker Ticket ID, Canonical Symbol, Direction (Long/Short), Volume (Lots/Contracts), Open & Close Timestamps (UTC), Duration, and Realized Net PnL.
- Instant Journal Access: Click on any trade record in the modal to navigate directly to its full journal entry, attachments, and technical confluences.
4. Behavioral Forensics & Risk Management
Your monthly heatmap reveals subconscious execution habits:
| Heatmap Pattern | Underlying Trading Habit | Corrective Action |
|---|---|---|
| Isolated Dark Red Blocks | Severe emotional tilt or revenge trading on specific days. | Enforce hard daily loss limits in your platform or broker terminal. |
| High Trade Count on Losing Days | Overtrading while trying to "make back" morning losses. | Set a maximum allowable trades-per-day rule (e.g., max 3 trades). |
| Consistent Light Green Sea | High discipline, steady risk-per-trade, and patient execution. | Maintain process; consider scaling capital gradually. |
| Friday Drawdown Clusters | Forcing setups before the weekend market close. | Cease trading earlier on Friday afternoons. |
5. Filtering & Dynamic Scope
Tip
[!TIP]
Multi-Account & Strategy Scoping: The Trading Calendar respects the global navigation filters. You can filter the calendar by a specific broker account, single asset (e.g., EURUSD), or custom Strategy Tag to evaluate performance in isolation.
Important
[!IMPORTANT] Prop Firm Daily Drawdown Verification: Prop firm traders can use the calendar to audit daily drawdown limits. If a daily loss approaches your firm's maximum threshold (e.g., -4.5% against a -5.0% limit), review the individual executions in the modal to verify risk parameter discipline.
Trading on MetaTrader?
Sync your MT4 or MT5 account and automatically audit your cognitive biases and trading performance.
