Sets the profit target for this position.
Namespace:
RightEdge.CommonAssembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)
Syntax
| C# |
|---|
public void SetProfitTarget( double profitTarget, TargetPriceType profitTargetType ) |
| Visual Basic (Declaration) |
|---|
Public Sub SetProfitTarget ( _ profitTarget As Double, _ profitTargetType As TargetPriceType _ ) |
| Visual C++ |
|---|
public: void SetProfitTarget( double profitTarget, TargetPriceType profitTargetType ) |
Parameters
- profitTarget
- Type: System..::.Double
The value of the profit target.
- profitTargetType
- Type: RightEdge.Common..::.TargetPriceType
Specifies whether the value should be interpreted as a fixed price or as a percentage gain.
See Also
[!:SetProfitTargetPercent]