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.

213

FIGURE 7.7

Source: TradeStation

How to apply a strategy to your chart.

can access the Inputs and change them if we like by right-clicking the chart and

selecting Format Strategies. A dialog similar to Figure 7.9 will open.

Another dialog will follow once you select Format (Figure 7.10.). Here you can

select any of the four input variables. Go ahead and select mmStop and change it

to 3000. Then click OK and then Close. That’s all there is to changing the inputs

from the user’s interface. You can always change them programmatically from the

EL Editor. The next line is where you must define any variables you may use later

in your code. If you have properly converted your trading idea into either a FC

or FSM diagram and then into pseudocode, then you will know ahead of time the

number and names of your variables. It doesn’t matter how well thought out your

pseudocode is; you will almost always come across the need for additional variables.

Don’t worry; you can always go back to the Vars or Inputs and add more variable

names. Here the only variable name that will be used is myBollingerB,anditwill

be initially set to zero.

AN INTRODUCTION TO EASYLANGUAGE

www.rasabourse.com

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

Saved successfully!

Ooh no, something went wrong!