EnterLong()
EnterLong()
Definition
Generates a buy market 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
EnterLong()
EnterLong(string signalName)
EnterLong(int quantity)
EnterLong(int quantity, string signalName)
The following method variation is for experienced programmers who fully understand Advanced Order Handling concepts:
EnterLong(int barsInProgressIndex, int quantity, 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.

