Buy: Difference between revisions
From MultiCharts
no edit summary
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
::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. | ::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. | :'''EntryType''' - a required parameter; specifies the timing and price of entry. See below for more information about the EntryType. | ||
== Entry types == | == Entry types == | ||
There are four kinds of EntryType: | There are four kinds of EntryType: | ||
=== Enter this bar on close == | === Enter this bar on close === | ||
<syntaxhighlight>This Bar On Close</syntaxhighlight> | <syntaxhighlight>This Bar On Close</syntaxhighlight> | ||
Line 44: | Line 44: | ||
A Buy Arrow will be placed at the next bar's [[Open]] tick. | A Buy Arrow will be placed at the next bar's [[Open]] tick. | ||
<syntaxhighlight>Next Bar | === Buy next bar at limit === | ||
<syntaxhighlight>Next Bar Price Limit</syntaxhighlight> | |||
Where: - | Where: | ||
:'''Price''' - a numerical expression, specifying the Limit Price. | |||
- [[ | :'''At''' - a [[:Category:Skip_Words|skip word]] 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 | 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. | ||
<syntaxhighlight>Next Bar | === Buy next bar at stop === | ||
<syntaxhighlight>Next Bar At Price Stop</syntaxhighlight> | |||
Where: - | Where: | ||
:'''Price''' - a numerical expression, specifying the Stop Price. | |||
- [[ | :'''At''' - a [[:Category:Skip_Words|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 | 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. | ||
==== | ==== Examples ==== | ||
Buy a user-set number of shares at Market price on close of this bar: | Buy a user-set number of shares at Market price on close of this bar: | ||
Line 80: | Line 82: | ||
<syntaxhighlight>Buy 10 Contracts Next Bar 50 Stop;</syntaxhighlight> | <syntaxhighlight>Buy 10 Contracts Next Bar 50 Stop;</syntaxhighlight> | ||
[[Category:Strategy Orders]] | [[Category:Strategy Orders]] |