Changes

Jump to navigation Jump to search

Strategy Properties

2,608 bytes added, 10:43, 6 July 2020
no edit summary
Strategy properties are separate from the individual signals' settings, affect all the signals applied to a chart, and regulate the actions of a group of signals as a whole.
Strategy properties include '''Costs/Capitalization''', '''Maximum bars back''', '''Position limits''', and '''Trade size''' sections.
<br>
# Select the '''Properties''' tab.
# In the '''Costs/Capitalization''' section, in the '''Commission Rule''' list, select the Commission Rule;
#* Click '''Manage Rules...''' to change existing rules or add a new one. [[Commission RulesCommissions|'''Click here''']] to learn ho how to operate '''Commission Rules Manager'''.
# In the '''Slippage''' box, enter the slippage;
#* Click '''per Trade''' to select slippage per trade.
#* Click '''per Share/Contract''' to select slippage per share/contract
# In the '''Init Initial Capital''' box, enter the Initial Capital, and in the '''Interest Rate''' box, enter the interest rate to be used in the performance ratio calculations.
<br>
=== Setting Maximum Bars Back Base Currency ===
By default '''None''' is selected in '''Base Currency'''. It means that the currency of the [[Using Performance Report|Strategy Performance Report]] that is based on the current chart = the currency configured in the [[Setting Exchanges & ECNs|exchange of the symbol in QuoteManager]]. <div style="background-color: #E5F6FF;">'''Example''': In QuoteManager by default the currency of the '''CME''' exchange is '''USD'''. '''ESZ4''' symbol in QuoteManager has '''CME''' exchange. It means the currency of the '''ESZ4''' symbol is '''USD'''. If the '''Base Currency''' in '''Strategy Properties''' is set to '''None''' there is no currency conversion for output values in '''Strategy Performance Report''' that is based on the '''ESZ4''' chart, the currency of the report will be '''USD'''.</div><br>If a specific currency is selected in '''Base Currency''', this currency will be used as the currency of the [[Using Performance Report|Strategy Performance Report]] that is based on the current chart. Report values will be converted from the [[Setting Exchanges & ECNs|currency set for the symbol in QuoteManager]] into the specifed currency according to historical conversion rates.<div style="background-color: #E5F6FF;"> '''Example 2''': In QuoteManager by default the currency of the '''CME''' exchange is '''USD'''. '''ESZ4''' symbol in QuoteManager has '''CME''' exchange. It means the currency of the '''ESZ4''' symbol is '''USD'''. If the '''Base Currency''' in '''Strategy Properties''' is set to '''EUR''' the output values in '''Strategy Performance Report''' that is based on the '''ESZ4''' chart will be converted into '''EUR''' according to historical conversion rates, the currency of the report will be '''EUR'''.</div> <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:
# 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 '''cannot be smaller than 1''' and '''cannot be greater than actual number of bars plotted on the chart'''. This value shows how many bars a study requires to be calculated before it can place first order on the chart. It means that '''there can be no orders or any other visual output on the X number of bars at the beginning of the chart, where X = MaxBarsBack or Maximum number of bars a study will reference'''.</div>
<br>
 
== Setting Position Limits ==
#* 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.
 
<div style="background-color: #E3FBE5;">'''NOTE:''' in autotrading it’s only possible to send one market order per one strategy calculation. To have several market orders sent as one use the [[Auto_Trading#Optimize_Order_Flow|Optimize Order Flow]] function (see Example 3). </div>
<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 <br><div style="background-color: #E3FBE5;">Note: these settings are ignored if trade size is specified by the signal. Signal code overrides the position size specified in the settings.</div><br>
Trade size settings are set from the '''Properties''' tab of the '''Strategy Properties''' window:
# 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 Cash per Trade''' to specify the trade size by currency value of the transaction, and enter the currency value in to the box. <br>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. <br>To specify a minimum number of shares/contracts (lot) to trade, enter the lot size in the '''Minimum number shares/contracts''' box.<br><div style="background-color: #E3FBE5;">Note: if the amount entered in Dollars '''Cash per Trade ''' box is not sufficient to trade the minimum number of shares/contracts, the trade will not be executed.</div><br> To use current strategy properties settings for all new charts of, check the '''Use as Default''' check box.
[[Category:Strategies]]

Navigation menu