31.07.2021 Views

Ultimate Algorithmic Trading System

Using automated systems for trading in stock markets

Using automated systems for trading in stock markets

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

This system looks at the last day of the month, and if it closes down a certain

amount from the prior day’s close, it looks to buy if the first day of the month also

closes below its open (Box 3.5). This is a reoccurring pattern, and it’s based on the

flip of the month.

Box 3.5 LastBarOfMonth Pattern (LBM)

Calculate percentage change between yesterday’s close and the prior day’s close:

%Chg = (close(1) – close(2)) / close(1) * 100

If today is the first trading day of the month and the %Chg < -0.2 and today’s

close < today’s open, then buy MOC

If today is the first trading day of the month and the %Chg > 0.2 and today’s

close > today’s open, then sell short MOC

Liquidate long at the open of the fifth day after entry day or on a stop @ entryPrice

−2000/bigPointValue

Liquidate short at the open of the fifth day after entry day or on a stop @

entryPrice + 2000/bigPointValue

110

Day trading is a great complement to trend following as well. The equity curve

in Figure 3.9 illustrates a mini-Russell day trading system that trades after a narrow

COMPLETE TRADING ALGORITHMS

Equity ($)

90000

80000

70000

60000

50000

40000

30000

20000

10000

Equity Curve Detailed - @TF.D 5 min. (11/28/2005 09:35 - 11/27/2015 09.35)

Legend

Equity Curve

0

–10000

11/27/07 11/25/09 11/22/11

11/28/2005 1:45:00 PM - 11/27/2015 9:35:00 AM

11/25/13 11/25/15

FIGURE 3.9 Mini-Russell day trading system using a narrow range day. It initially puts on two

contracts, pulling the first one off after a certain profit is reached and leaving the second to run its

course.

www.rasabourse.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!