How Can I modity stoploss from opened position
I want sample code
IProtectable. SetStopLoss Method |
Sets a new (modifies existed) stop-loss order
Namespace: PTLRuntime.NETScript
Syntax
C#
<span class="identifier">bool</span> <span class="identifier">SetStopLoss</span>( <span class="identifier">double</span> <span class="parameter">slPrice</span> )
Parameters
- slPrice
- Type: System.
Double
Price of the stop-loss order.
Return Value
Type: BooleanReturn true if stop-loss order was placed, otherwise false.
See Also
No replies yet
Join PTMC community to post your replies on forum