Changes
Jump to navigation
Jump to search
From
,Created page with "A skip word; used in strategy exit statements in combination with Entry word that ties an exit to the particular entry that was assigned the EntryLabel name. An exit..."
A skip word; used in strategy exit statements in combination with [[Entry]] word that ties 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.]]
Skip Words serve solely to improve the readability of PowerLanguage code and are skipped (ignored) during the compilation and execution.
The use of Skip Words is optional; they can be inserted anywhere within the PL code and will appear in red in PowerLanguage Editor.
==== Usage ====
<syntaxhighlight>From Entry("EntryLabel")</syntaxhighlight>
Where: [[EntryLabel]] - the name that was assigned to the entry that the exit is to be tied to
[[From]] - a skip word and can be omitted
==== Example ====
<syntaxhighlight>Completely exit from the long position established by the entry labeled "Original Entry", at Market price on open of next bar:
Sell From Entry("Original Entry")Next Bar at Open;</syntaxhighlight>
[[Category:Skip Words]]
An exit can only be tied to an entry within the same signal; for more information, see [[Buy]] or [[SellShort.]]
Skip Words serve solely to improve the readability of PowerLanguage code and are skipped (ignored) during the compilation and execution.
The use of Skip Words is optional; they can be inserted anywhere within the PL code and will appear in red in PowerLanguage Editor.
==== Usage ====
<syntaxhighlight>From Entry("EntryLabel")</syntaxhighlight>
Where: [[EntryLabel]] - the name that was assigned to the entry that the exit is to be tied to
[[From]] - a skip word and can be omitted
==== Example ====
<syntaxhighlight>Completely exit from the long position established by the entry labeled "Original Entry", at Market price on open of next bar:
Sell From Entry("Original Entry")Next Bar at Open;</syntaxhighlight>
[[Category:Skip Words]]