{{Placeholders}}
Indicators or Strategies
{{close}}
Signal price
{{ticker}}
The name of the currency pair
Strategies
{{strategy.order.action}}
Returns buy or sell depending on the direction of the order
{{strategy.order.contracts}}
Returns the Amount of contracts of the executable application
{{strategy.order.price}}
Returns the order price
{{strategy.order.id}}
Returns the ID of the executable request
{{strategy.order.comment}}
Returns the comment of the executable request. If there is no comment, strategy.order.id will be used
{{strategy.market_position}}
Returns the current position of the strategy as a string: "long", "flat" or "short"
{{strategy.market_position_size}}
Returns the size of the current position as an absolute value (non-negative number)
Copy link