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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Box 3.3 Battle Royale—And the Competitors Are:

Single Simple Moving Average Crossover (SMA)

Buy when close crosses above moving average

Sell short when close crosses below moving average

Liquidate long if close < entryPrice − 3000/bigPointValue

Liquidate short if close > entryPrice + 3000/bigPointValue

Utilize moving average lengths of 19, 39, and 100

Double Simple Moving Average Crossover (DMA)

Buy when shorter moving average crosses above longer moving average

Sell short when short moving average crosses below longer moving average

Liquidate long if close < entryPrice – 3000/bigPointValue

Liquidate short if close > entryPrice + 3000/bigPointValue

Utilize moving average lengths:

Short lengths: 9, 19, 49

Long lengths: 19 ,49, 99

Triple Simple Moving Average Crossover (TMA)

Triple moving averages require two criteria to be met before a trade entry:

Buy:

shortest moving average and intermediate moving average both must be greater

than longer-term average

Buy when shortest moving average crosses above intermediate moving average

Sell short:

shortest moving average and intermediate moving average both must be less

than longer-term average

Sell short when shortest moving average crosses below intermediate moving

average

Liquidate long when shortest moving average crosses below intermediate moving

average or if close < entryPrice – 3000/bigPointValue

Liquidate short when shortest moving average crosses above intermediate moving

average or if close > entryPrice + 3000/bigPointValue

Utilize the following moving average lengths:

89

COMPLETE TRADING ALGORITHMS

www.rasabourse.com

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

Saved successfully!

Ooh no, something went wrong!