HasTrailingStop


Summary

When HasTrailingStop set to true, the server updates the Stop Loss every time the 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);