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.

history of each market. This test was performed on 10 years of Euro currency data

and it took my ‘‘typical’’ computer 13 minutes. The search space could have been

expanded but for brevity sake it was limited to 21,296. If just one increment was

added to each of the parameters’ range, the total number of iterations would have

nearly doubled. The results of the exhaustive search are shown in Table 8.1. (Note:

Results are shown without a commission/slippage charge.)

Now let’s do the same thing, but instead of using the Exhaustive method let’s

go with the genetic option. In less than one minute the results in Table 8.2 were

computed.

TABLE 8.1

Results from the Exhaustive Search Algorithm’s Five Parameters

xLevel

xPercent

Buy

xPercent

Sell

xTrendBars

Buy

xTrendBars

Sell

Total

Profit

Max Intra.

Drawdown

25 0.3 0.75 8 20 103615 −15235

25 0.4 0.75 8 20 102435 −16080

25 0.4 0.7 8 20 101005 −15760

25 0.7 0.75 8 20 96050 −17805

25 0.75 0.7 8 20 96680 −18343

25 0.45 0.75 8 20 97435 −17255

25 0.75 0.75 8 20 94020 −18480

25 0.7 0.7 8 20 96015 −7668

25 0.5 0.75 8 20 93805 −16660

25 0.4 0.65 8 20 98763 −15485

TABLE 8.2

xLevel

xPercent

Buy

Results from the Genetic Search Algorithm’s Five Parameters

xPercent

Sell

xTrendBars

Buy

xTrendBars

Sell

Total

Profit

Max Intra.

Drawdown

25 0.3 0.75 8 20 103615 −15235

25 0.4 0.75 8 20 102435 −16080

25 0.4 0.7 8 20 101005 −15760

25 0.7 0.75 8 20 96050 −17805

25 0.45 0.75 8 20 97435 −17255

25 0.5 0.75 8 20 93805 −16660

25 0.55 0.75 8 20 91650 −15063

25 0.45 0.7 8 20 95655 −16110

25 0.35 0.75 8 16 91575 −18843

25 0.6 0.75 8 20 86850 −15913

245

GENETIC OPTIMIZATION, WALK FORWARD

www.rasabourse.com

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

Saved successfully!

Ooh no, something went wrong!