Changes

Jump to navigation Jump to search

Strategy Properties

3,814 bytes added, 14:38, 1 February 2012
no edit summary
<br>
== Setting Maximum Bars Back ==
All signals based on past data use a certain number of bars for their calculations. The number of bars is called '''Maximum number of bars a study will reference''', or '''Maximum Bars Back'''.
<br>
Maximum Bars Back value is set from the '''Properties''' tab of the '''Strategy Properties''' window:
 
# Open the '''Strategy Properties''' window.<br><br>To open the '''Strategy Properties''' window:
## Open the '''Format Objects''' window.<br><span>{{FormatObjectIS}}</span>
## Select the '''Signals''' tab.
## Click '''Properties''' to open the '''Strategy Properties''' window.
# Select the '''Properties''' tab.
# In the '''Maximum Bars Back''' box enter the maximum number of bars the signals will reference.
 
<div style="background-color: #E3FBE5;">Note: The Maximum Bars Back value should not exceed the actual number of bars plotted on the chart.</div>
 
<br>
== Setting Position Limits ==
 
Position limits section allows setting the maximum number same-direction entry orders and maximum number of shares/contracts per position.
 
Strategy properties are set from the '''Properties''' tab of the '''Strategy Properties''' window:
 
# Open the '''Strategy Properties''' window.<br><br>To open the '''Strategy Properties''' window:
## Open the '''Format Objects''' window.<br><span>{{FormatObjectIS}}</span>
## Select the '''Signals''' tab.
## Click '''Properties''' to open the '''Strategy Properties''' window.
# Select the '''Properties''' tab.
# In the '''Position limits''' section:
#* To allow multiple same-direction entry orders (known as <i>pyramiding</i>):
## Check the '''Allow up to N entry orders in the same direction as the currently held position''' checkbox.
## Enter the maximum number of entries into the '''entry orders''' box.
## Select '''when the order is generated by a different entry order''' to limit entries to one per each entry order, or select '''regardless of the entry that generated the order''' to allow multiple entries by the same entry order.
#* To prevent multiple same-direction entry orders, clear the '''Allow up to N entry orders in the same direction as the currently held position''' checkbox.
# In the '''Maximum shares/contracts per position''' box, enter the maximum position limit.
 
<br>
== Setting Trade Size ==
 
Trade size settings set the size of each trade, either by the number shares/contracts or by currency value.
 
Trade size settings select the number shares/contracts or the currency value per each trade.
 
Please note that these settings are ignored if trade size is specified by the signal.
 
Trade size settings are set from the '''Properties''' tab of the '''Strategy Properties''' window:
 
# Open the '''Strategy Properties''' window.<br><br>To open the '''Strategy Properties''' window:
## Open the '''Format Objects''' window.<br><span>{{FormatObjectIS}}</span>
## Select the '''Signals''' tab.
## Click '''Properties''' to open the '''Strategy Properties''' window.
# Select the '''Properties''' tab.
# In the '''Trade size''' section:
#* Select '''Fixed Shares/Contracts''' to specify the trade size by number of shares or contracts, and enter the number of shares or contracts into the box, or:
#* Select '''Dollars per Trade''' to specify the trade size by currency value of the transaction, and enter the currency value in to the box. To round the number of shares or contracts down to the nearest number of lots of certain size, enter the lot size in the '''Round down to nearest shares/contracts''' box. To specify a minimum number of shares/contracts (lot) to trade, enter the lot size in the '''Minimum number shares/contracts''' box; if the amount entered in Dollars per Trade box is not sufficient to trade the minimum number of shares/contracts, the trade will not be executed.<br>
[[Category:Strategies]]

Navigation menu