×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts
Open main menu

Changes

Buy

216 bytes added, 17:08, 19 February 2012
m
The entry point is visually indicated on a chart by an Arrow and a Tick. The Arrow identifies the time and the Tick identifies the price value of the entry point. Labels, displaying the entry name and the number of contracts or shares traded, are displayed below the Buy Arrow.
<div style="background-color: #FFE4E1;margin-bottom:10px;">An order is executed at the point specified by the parameters; if the order is not filled '''within ''' the specified bar, the order is '''cancelled'''. </div>
When a Buy order is filled, any open short positions will also be closed.
<syntaxhighlight>Buy[("EntryLabel")] [TradeSize] EntryType;</syntaxhighlight>
Parameters inside the square brackets are optional -if these aren't defined, the default is used.
== Parameters ==
::If '''TradeSize''' is not specified, the trade size value set by the user in the Properties tab of the Strategy Properties window will be used.
:'''EntryType''' - a required parameter; specifies the timing and price of entry. See below for more information about the EntryType.
== Entry types ==
There are four kinds of EntryType:
=== Enter this bar on close ===
<syntaxhighlight>This Bar On Close</syntaxhighlight>
A Buy Arrow will be placed at the current bar's [[Close]] tick.
=== Buy Enter next bar at open ===<syntaxhighlight>Next Bar At Open</syntaxhighlight>
or
<syntaxhighlight>Next Bar At Market</syntaxhighlight>
:'''At''' - is a [[:Category:Skip_Words|skip word]] and can be omitted.
A Buy Arrow will be placed at the next bar's [[Open]] tick.
=== Enter next bar at limit ===<syntaxhighlight>Next Bar[At]Price Limit</syntaxhighlight>
Where: :'''Price''' - [[Price]] is a numerical expression, specifying the Limit Price. :'''At''' - a [[At:Category:Skip_Words|skip word]] is a skip word and can be omitted.
A Buy Arrow will be placed on the next bar at the first tick with a price value less than or equal to [['''Price]] '''; if there are no such ticks within the next bar, the order will be cancelled.
=== Enter next bar at stop ===<syntaxhighlight>Next Bar[At]Price Stop</syntaxhighlight>
Where: :'''Price''' - [[Price]] is a numerical expression, specifying the Stop Price. :'''At''' - a [[At:Category:Skip_Words|skip word]] is a skip word and can be omitted.
A Buy Arrow will be placed on the next bar at the first tick with a price value equal to or greater than the [['''Price]] '''; if there are no such ticks within the next bar, the order will be cancelled.
==== Example ==Examples ==
Buy a user-set number of shares at Market price on close of this bar:
<syntaxhighlight>Buy 10 Contracts Next Bar 50 Stop;</syntaxhighlight>
 
[[Category:Strategy Orders]]