Restricting a Spearman Rank Correlation EA to Weekly Trading Hours
Summary
This Expert Advisor variant adds a configurable weekly trading window to an EA based on a Spearman rank correlation histogram. Inputs set whether interval-based trading is enabled and define the start and end by weekday, hour, minute, and second. The example defaults cover part of the week, but users can specify different boundaries.
The document says the EA depends on the compiled histogram indicator being installed in the platform’s indicator folder. It also notes that a supporting library enables use with brokers offering nonzero spreads and supports setting stop loss and take profit when opening positions. The illustrated tests used default EA inputs and omitted stop loss and take profit, but no numerical results or robust performance analysis are included. The weekly schedule controls when the EA may trade; the document does not explain the underlying signal logic or establish that the time restriction improves results.
Key ideas
- The EA adds an optional weekday-and-time window for trade eligibility.
- Users configure the window’s start and end down to seconds.
- The compiled Spearman rank correlation histogram indicator is a required dependency.
- The described tests used default inputs and did not use stop loss or take profit.
- No evidence is supplied that restricting trades to a weekly interval improves performance.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.