Skip to main content
Session suite indicatorv1.00

AIMS Calendar Flows

Shades two calendar windows tied to money that must move at a known time: the turn of the month and the 24 hours before each scheduled FOMC statement.

Turn-of-Month and Pre-FOMC calendar execution windows — MetaTrader 5
AIMS Calendar Flows on MetaTrader 5 showing Turn-of-Month and Pre-FOMC calendar windows on EURUSD H1
Type
Indicator
Category
Calendar timing
Platforms
TradingView, MT5
Language
Pine v6, MQL5
Repaints
No — closed bar
Turn of the monthFOMCCalendar effectsIndices

What Calendar Flows does

Two calendar windows from the academic research on equity indices. Calendar Flows draws them on your chart so you know when they are open; it does not add entries or exits.

Turn of the month

The last trading day of each month and the first three of the next, when salary and pension money is invested (Lakonishok and Smidt, 1988).

Pre-FOMC window

The 24 hours before each scheduled FOMC statement at 14:00 New York, with the statement itself marked (Lucca and Moench, 2015).

Built-in statement dates

Scheduled FOMC statement days are built in from 2016 to 2028-01-26. Add later dates yourself as yyyy-mm-dd.

How to trade Calendar Flows

  1. Open a daily or lower chart

    On MT5, weekly and monthly charts show a note instead of the windows. On MT5, set "Server time = New York time + hours" to your broker's offset.

  2. Know when a window opens

    Shading starts on the first bar of each window. Alerts fire when the turn of the month opens and 24 hours before the statement.

  3. Use it as context, not a signal

    The windows tell you when a known flow is due. Combine them with your own entry rule; the indicator gives no direction.

  4. Keep the FOMC dates current

    After 2028-01-26, add each new statement day to "Extra FOMC Dates" so the pre-FOMC window keeps appearing.

Prompts, not trade instructions. A SETUP READY prompt tells you to review the structure on a closed candle. It is never a command to enter blindly.

Setups and chart grammar

Calendar Flows draws two windows and one marker.

SetupContextWhat the indicator seesGoal
Turn of the monthLast trading day plus the first three of the next monthShaded band in the turn-of-month colourKnow when month-start flows are due
Pre-FOMC window24 hours before the 14:00 New York statementShaded band in the pre-FOMC colourKnow when the pre-statement window is open
Statement14:00 New York on a scheduled FOMC dayVertical line at the statementSee when the window ends
TURN OF MONTH

Inside the last trading day or the first three of the month.

PRE-FOMC

Inside the 24 hours before a scheduled FOMC statement.

Settings

InputTypeDefaultWhat it does
Turn of the MonthBooleantrueShades the last trading day of each month and the first three of the next.
Pre-FOMC WindowBooleantrueShades the 24 hours before each scheduled FOMC statement (14:00 New York) and marks the statement.
Extra FOMC DatesString""Statement days after the built-in list ends (2028-01-26), comma separated, as yyyy-mm-dd.
Turn of Month ColorColor#2962ffColour of the turn-of-month window.
Pre-FOMC ColorColor#ff9800Colour of the pre-FOMC window.

Use it in your EA

On MetaTrader you can read the levels and setup state from an Expert Advisor with iCustom().

// MQL5 — is the last closed bar inside a window?
int    h = iCustom(_Symbol, _Period, "iTradeAIMS\\AIMSCalendarFlows", "YOUR-SERIAL-KEY");
double tom[], fomc[];
CopyBuffer(h, 0, 1, 1, tom);    // 1 = turn of month, 0 = not
CopyBuffer(h, 1, 1, 1, fomc);   // 1 = pre-FOMC window, 0 = not
BufferNameValue
0Turn of month1 inside the turn-of-month window, 0 outside
1Pre-FOMC1 inside the 24 hours before a statement, 0 outside

Frequently asked questions

They are published effects, not guarantees. In our own testing the turn of the month was no better than other days, and the pre-FOMC window was positive but on too few meetings to prove. Treat them as context.

All indicators →

Know when the money has to move.

AIMS Calendar Flows is available on TradingView and MT5 for iTradeAIMS members.