Entry: Difference between revisions
From MultiCharts
no edit summary
No edit summary |
|||
Line 1: | Line 1: | ||
Used in strategy exit statements to tie an exit to the particular entry that was assigned the | Used in strategy exit statements to tie an exit to the particular entry that was assigned the '''EntryLabel''' name. | ||
An exit can only be tied to an entry within the same signal; for more information, see [[Buy]] or [[SellShort | |||
An exit can only be tied to an entry within the same signal; for more information, see [[Buy]] or [[SellShort]]. | |||
== Usage == | |||
<syntaxhighlight>From Entry("EntryLabel")</syntaxhighlight> | <syntaxhighlight>From Entry("EntryLabel")</syntaxhighlight> | ||
Where: | Where: | ||
[[ | :'''EntryLabel''' - the name that was assigned to the entry that the exit is to be tied to. | ||
:'''From''' - [[:Category:Skip Words|skip word]] and can be omitted. | |||
== Example == | |||
Completely exit from the long position established by the entry labeled "Original Entry", at Market | Completely exit from the long position established by the entry labeled "Original Entry", at Market price on open of next bar: | ||
price on open of next bar: | |||
<syntaxhighlight>Sell From Entry("Original Entry")Next Bar At Open;</syntaxhighlight> | <syntaxhighlight>Sell From Entry("Original Entry")Next Bar At Open;</syntaxhighlight> | ||
[[Category:Strategy Orders]] | [[Category:Strategy Orders]] |