Sets the Exit-Price Limit for an active position's specified unit.
This function works where order are being processed to assign a value:
Syntax: |
---|
SetExitLimit( [unitNumber,] limitPrice ) |
Parameter: |
Description: |
---|---|
[unitNumber,] |
The unit number (optional). If not supplied this will default to the first unit. |
limitPrice |
The value of the limit to be set. |
Example: |
---|
' Set the limit price. |
Returns: |
---|
Values assigned can be printed and used after assignment. It is also available to the Broker object to execute. |
Links: |
---|
unitExitLimit, Unit Size, Can Add Unit, Can Fill Order, Entry Order Filled, Exit, Entry, Adjust Stops, After Instrument Day |
See Also: |
Edit Time: 9/21/2020 2:40:22 PM |
Topic ID#: 542 |