# {{Placeholders}}

Placeholders are used to replace variables in signal messages.

<table data-header-hidden><thead><tr><th width="374">Общие плейсхолдеры</th><th></th></tr></thead><tbody><tr><td><strong>Common placeholders</strong></td><td></td></tr><tr><td><code>{{close}}</code></td><td>Signal price</td></tr><tr><td><code>{{ticker}}</code></td><td>Currency pair name</td></tr><tr><td><strong>Strategies</strong></td><td></td></tr><tr><td><code>{{strategy.order.action}}</code></td><td>Returns <strong>buy</strong> or <strong>sell</strong> based on order direction.</td></tr><tr><td><code>{{strategy.order.contracts}}</code></td><td>Returns the executed order's contract quantity.</td></tr><tr><td><code>{{strategy.order.price}}</code></td><td>Returns the order price</td></tr><tr><td><code>{{strategy.order.id}}</code></td><td>Returns the executed order ID</td></tr><tr><td><code>{{strategy.order.comment}}</code></td><td>Returns the executed order's comment, or <strong>strategy.order.id</strong> if there is no comment</td></tr><tr><td><code>{{strategy.market_position}}</code></td><td>Returns the strategy's current position as a string: "<strong>long</strong>", "<strong>flat</strong>" or "<strong>short</strong>"</td></tr><tr><td><code>{{strategy.market_position_size}}</code></td><td>Returns the current position size as an absolute value (non-negative number)</td></tr></tbody></table>

**Do you have any questions? We can help you in our Telegram chat room.**

{% embed url="<https://t.me/finandy>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.finandy.com/algo-trading/signals-tradingview/placeholders.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
