Skip to content
All library documents

Writing a Six-Day Close-Price Pattern as a Factor Expression

Article BigQuant

Summary

A user asks how to express a specific six-session price pattern in a platform’s daily factor-expression syntax. The condition is that the latest close exceeds each of the previous five closes, while the close from five sessions earlier also exceeds the closes from the next four sessions. In sequence, the two specified sessions are local highs across the six-bar window, with the latest one above the earlier one.

The document contains the requirement but no working expression, syntax guidance, answer, or evidence that a proposed formula runs. It therefore identifies a factor-construction problem rather than teaching a validated implementation. Any usable expression would depend on the platform’s rules for lagged values and combining comparisons, which are not supplied here.

Key ideas

  • The requested pattern compares the latest daily close with each of the five prior closes.
  • The close from five sessions earlier must also exceed the four closes that follow it within the window.
  • The document gives no runnable factor expression or platform syntax details.
  • The pattern describes two successive-in-time local highs, with the latest high above the earlier one.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.