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