EnterShortOnClose

Top  Previous  Next

Enters a short position on the next close. This function is generally used by an Entry Block to initiate a position.

 

Syntax

 

EnterShortOnClose( [ protectStopPrice] )

 

Parameters

protectiveStopPrice

 

This sets the protective stop price of the order, and the position. Note that close orders are excluded from same day exits, so this protective stop is not used on the day of entry.

 

Example

' Enter the market on the next close.

broker.EnterShortOnClose