ninjatrader/strategies/up-and-down-days-in-a-row
2024-10-31 08:45:45 -07:00
..
DownDaysInARow.cs Initial commit of Down Days in a Row strategy 2024-10-30 10:11:09 -07:00
README.md Add parameters to Up and Down Days in a Row strategy documentation 2024-10-31 08:45:45 -07:00
UpDaysInARow.cs Initial commit of Up Days in a Row strategy 2024-10-30 10:10:32 -07:00

Up and Down Days in a Row

The idea for these strategies comes from chapter 4 of How Markets Really Work (2012) by Larry Connors.

As with most of the strategies from this book, they are meant to illustrate certain characteristics of the market rather than be traded directly.

Rules

Up Days in a Row

  1. Enter a long trade when the market (e.g., SPX or SPY) closes higher for 3 consecutive days.
  2. Exit the trade after one week.

Down Days in a Row

  1. Enter a long trade when the market (e.g., SPX or SPY) closes lower for 3 consecutive days.
  2. Exit the trade after one week.

Parameters

Days in a Row: The number of consecutive days where the close must be higher / lower in order to enter a long trade. (Default: 3)

Days to Exit: The number of days to hold any trades before exiting. (Default: 5)