HasTrailingStop


Summary

When HasTrailingStop set to true, server updates Stop Loss every time position moves in your favor.

Syntax

public bool HasTrailingStop{ get; }

Example 1

ExecuteMarketOrder(TradeType.Buy, Symbol, 10000, "myLabel", 10, 10, 2, "comment", true);
Print("Position was opened, has Trailing Stop = {0}", result.Position.HasTrailingStop);