===Assign the Initial Market Position at the Broker Settings ===
Whenever automated trading is turned on a srtrategy starts working with a particular market position. Depending on the mode of auto trading the posotion can vary. In [SA] mode it is always flat on chart when you turn it on, but in [AA] mode it can be short, flat or long, depending on what was generated in backtesing (to learn more see [[#Mode_Selection|Mode Selection]]). This option allows you to control the initial market position for the strategy to start calculation and order generation when you turn on automated trading.