AMOEBA ยท Questions

How do I set a strategy alert_message for automated orders?

Your TradingView strategy alert message should describe the exact order instruction AMOEBA is meant to receive, rather than rely on the label of a strategy exit. A valid JSON action close asks for the whole selected symbol position to be closed. A strategy fill's buy or sell remains an ordinary order.

Where is the custom text supplied?

TradingView's Pine alerts documentation says alert_message on strategy.entry, strategy.exit and strategy.order customises order-fill alert messages (checked November 27, 2026); check the current page.

Build the message as JSON with lowercase action and symbol. If the message includes qty for a buy or sell, the resulting value must be a positive number rather than a quoted string.

Why is an exit fill not enough?

The intent of a strategy exit and the meaning of a broker-side order instruction are not interchangeable. An opposite-side buy or sell can reduce, flatten or change a position depending on its size and the broker. Explicit close instead asks the broker to close the actual whole symbol position on the selected account; alert qty does not choose the close size.

Example JSON alert message

{"action":"close","symbol":"MNQ","strategy":"my-script"}

Related questions and answers

What do I put in the alert dialog's message field?

TradingView's placeholder help page says {{strategy.order.alert_message}} supplies the alert_message parameter value (checked November 27, 2026); check the current page.

Can entry and exit messages differ?

TradingView's Pine alerts documentation says strategy order functions can customise their alert_message for order-fill events (checked November 27, 2026); check the current page.

Does strategy.order.action report close on an exit?

No. The substituted strategy action is buy or sell. Use a custom JSON message with explicit close when you intend whole-position closure rather than a sized directional order.

Should I send qty with close?

It is not needed for closing size. AMOEBA asks to close the actual symbol position on the selected account and ignores alert qty for that purpose.

Official sources

TradingView placeholder help

TradingView's placeholder help page says strategy.order.alert_message reads the order's custom message (checked November 27, 2026); check the current page.

TradingView Pine Script alerts documentation

TradingView's Pine alerts documentation says strategies can use order-fill events for alerts (checked November 27, 2026); check the current page.

Automated trading involves substantial risk of loss. AMOEBA is an execution tool, not investment advice. You are responsible for your strategy, settings and account permissions.