|
EnterShortAtLimit |
Top Previous Next |
|
Enters a short position if any time during the next bar the market trades through the specified price. This function is generally used by an Entry Block to initiate a position.
Syntax
EnterShortAtLimit( limitPrice [, protectStopPrice] )
Parameters
Example ' Enter the market if it trades through the price target. broker.EnterShortAtLimit( priceTarget, protectStopPrice )
or
' Enter the market if it trades through the price target with no stop broker.EnterShortAtLimit( priceTarget ) |