|
EnterLongOnStopOpen |
Top Previous Next |
|
Enters a long position on the next open if it is higher than or equal to the specified price. This function is generally used by an Entry Block to initiate a position.
Syntax
EnterLongOnStopOpen( stopPrice [, protectStopPrice] )
Parameters
Example ' Enter the market on the next open if above the entry price. broker.EnterLongOnStopOpen( entryPrice, protectStopPrice )
or
' Enter the market on the next open if above entry price with no stop broker.EnterLongOnStopOpen( entryPrice ) |