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.

FIGURE 7.9

How to change the inputs and adjust your strategy.

215

AN INTRODUCTION TO EASYLANGUAGE

FIGURE 7.10

The four input variables to adjust the mean reversion strategy.

Continuing on through the code, the first order of business is the assignment

of myBollingerB. myBollingerB is assigned the output of the function

BollingerB. This function requires four parameters or arguments: price data array,

lookback period, the number of + standard deviations, and the number of negative

www.rasabourse.com

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

Saved successfully!

Ooh no, something went wrong!