Navigation:  ActFX > Algorithmic Trading >

Writing a strategy

Previous pageReturn to chapter overviewNext page

Each strategy must have a unique name. It is specified in the const section of the script by declaring the constant StrategyName.

 

const

StrategyName = ‘My Strategy’

 

This value becomes the name of your strategy as displayed in the title of the strategy window:

 

clip0721

 

 

 

Most strategies use chart data to make trading decisions. Chart data can be presented in either candle or tick charts, each of which will be discussed separately below.