EnterLongStopLimit()
EnterLongStopLimit()
Definition
Generates a buy stop limit order to enter a long position.
Method Return Value
An Order read-only object that represents the order. Reserved for experienced programmers, additional information can be found within the Advanced Order Handling section.
Syntax
EnterLongStopLimit(double limitPrice, double stopPrice)
EnterLongStopLimit(double limitPrice, double stopPrice, string signalName)
EnterLongStopLimit(int quantity, double limitPrice, double stopPrice)
EnterLongStopLimit(int quantity, double limitPrice, double stopPrice, string signalName)
The following method variation is for experienced programmers who fully understand Advanced Order Handling concepts:
EnterLongStopLimit(int barsInProgressIndex, bool isLiveUntilCancelled, int quantity, double limitPrice, double stopPrice, string signalName)
If using a method signature that does not have the parameter quantity, the order quantity will be taken from the quantity value set in the strategy dialog window when running or backtesting a strategy.

