Links
Comment on page

{{Placeholders}}

Last updated 23/05/2023
Placeholders are used to replace variables in signal messages.
Common placeholders
​
{{close}}
Signal price
{{ticker}}
Currency pair name
Strategies
​
{{strategy.order.action}}
Returns buy or sell based on order direction.
{{strategy.order.contracts}}
Returns the executed order's contract quantity.
{{strategy.order.price}}
Returns the order price
{{strategy.order.id}}
Returns the executed order ID
{{strategy.order.comment}}
Returns the executed order's comment, or strategy.order.id if there is no comment
{{strategy.market_position}}
Returns the strategy's current position as a string: "long", "flat" or "short"
{{strategy.market_position_size}}
Returns the current position size as an absolute value (non-negative number)
​
Do you have any questions? We can help you in our Telegram chat room.