Friday Gold Anomaly: A Calendar-Timed Long Trade
Summary
This calendar-based strategy attempts to buy gold at the start of Friday’s session and close the position later in the session. It includes configurable start and end dates for backtesting, along with commission, slippage, order-processing, and position-size settings. The accompanying description frames the idea as a historical tendency spanning Thursday evening to Friday’s close and recommends caution about execution in evening trading.
The supplied script and prose do not align cleanly: the code checks for a weekday value that may not represent Friday in Pine Script, and its candle counter condition closes the position on every bar rather than after a four-bar hold. Session variables are defined but do not control the trade. No performance statistics or evidence are provided to establish that a Friday effect exists or persists. Any evaluation would need to verify the calendar logic, holding period, market session, and realistic trading costs before interpreting a backtest.
Key ideas
- The stated concept is to enter a long gold position around the start of Friday trading and exit later in the session.
- Backtest date controls and assumed transaction costs are included in the script setup.
- Session variables are declared but do not determine the entry or exit behavior.
- The weekday condition and per-bar close logic appear inconsistent with the described timing.
- No results are provided to establish the anomaly’s historical strength or continued relevance.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.