Learning Center - FirstHourBreakout (2024)

Description

The First-Hour Breakout strategy adds simulated orders based on the price range calculated for the first hour of the regular trading session. By default, it also compares the volume traded last night to the average nightly volume over the last five days (see the article on the Cumulative Overnight Volume for details). In addition to the first-hour range check and the overnight volume check, the strategy performs several checks at specified timestamps during the trading day. Note that since thinkScript uses timestamps in Eastern Standard Time (EST), the default numbers in the input parameters are adjusted accordingly.

The simulated orders will be added based on the following algorithm (all timestamps mentioned are default and can be modified using the input parameters):

  1. At 9:30 am Eastern Standard Time (EST), the strategy compares the total volume traded last night to the average nightly volume over the last five days. If the overnight volume is greater than the average, the strategy detects a volatility bias and will perform the next step. If the overnight volume is less than or equal to the average, no simulated orders will be added during this day and the check will be repeated at the same time the next day.
  2. At 10:30 am EST, the strategy registers the price range of the first hour of the trading day.
  3. If the price rises above or falls below this range at any moment from 10:45 am EST to 3:45 pm EST, the strategy will add a simulated order: a buy to open order when the price rises and a sell to open order when it falls. No simulated orders to open will be added after 3:45 pm EST.
  4. All open simulated positions will be closed with the opposite simulated orders at 4:15 pm EST.

Note that you can turn off the overnight volume check by setting the use filter parameter to no.

Input Parameters

Parameter

Description

night session from midnight

Defines the start of the midnight trading session in the EST time zone, 24-hour hhmm notation.

first hour trading

Defines the start of the day trading session in the EST time zone, 24-hour hhmm notation.

main session

Defines the start of the main session (by default, one hour after the market opens) in the EST time zone 24-hour hhmm notation.

no more long positions

Defines the end time for adding simulated orders to open in the EST timezone, 24-hour hhmm notation.

night session from main session end

Defines the end of the main session in the EST time zone, 24-hour hhmm notation.

use filter

Defines whether or not to use volatility bias as the primary condition for adding simulated orders to open.

Further Reading

1. "Daytrading With Night Volume" by Domenico D'Errico. Technical Analysis of Stocks & Commodities, June 2017.

Backtesting is the evaluation of a particular trading strategy using historical data. Results presented are hypothetical, and there is no guarantee that the same strategy implemented today would produce similar results.

Technical analysis is not recommended as a sole means of investment research.

For educational purposes only. Not a recommendation of a specific security or investment strategy.

You may also like

Strategy Roller

The Strategy Roller is a feature of the thinkorswim platform that can be used to help manage ...

LongHaul

The Long Haul strategy is a going-long-only trading system developed by Donald Pendergast Jr. ...

Learning Center - FirstHourBreakout (2024)

References

Top Articles
Latest Posts
Article information

Author: Wyatt Volkman LLD

Last Updated:

Views: 6155

Rating: 4.6 / 5 (66 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Wyatt Volkman LLD

Birthday: 1992-02-16

Address: Suite 851 78549 Lubowitz Well, Wardside, TX 98080-8615

Phone: +67618977178100

Job: Manufacturing Director

Hobby: Running, Mountaineering, Inline skating, Writing, Baton twirling, Computer programming, Stone skipping

Introduction: My name is Wyatt Volkman LLD, I am a handsome, rich, comfortable, lively, zealous, graceful, gifted person who loves writing and wants to share my knowledge and understanding with you.