AMOEBA ยท Questions
Should I automate TradingView strategy alerts or indicator alerts?
Choose TradingView strategy alerts or indicator alerts according to the event and JSON message you want AMOEBA to receive. Both workflows must ultimately provide action and symbol in valid JSON. A strategy order-fill buy or sell is not automatically AMOEBA's full-position close instruction.
What does AMOEBA interpret?
AMOEBA reads the received message rather than recreating the strategy's position state. A buy while short remains an ordinary buy; its effect depends on the quantity and broker. For an intended full-position exit, send action close for that symbol and selected account, rather than assuming the signal's description changes the meaning of sell.
How should an indicator message be written?
Use a fixed JSON message when that expresses the indicator event you intend to automate, or a valid dynamically constructed message where your script supports one. Keep action lowercase, put the symbol in a JSON string, and leave a positive numeric qty unquoted. Check the final payload so an indicator template does not accidentally depend on strategy-only values.
Related questions and answers
Can a strategy alert on order-fill events?
TradingView's Pine alerts documentation says strategies can create alerts on order-fill events (checked November 27, 2026); check the current page.
Can alert() be used by either script type?
TradingView's Pine alerts documentation says alert() works in indicators and strategies and supports dynamic messages (checked November 27, 2026); check the current page.
Does alertcondition() work in strategies?
TradingView's Pine alerts documentation says alertcondition() works in indicators only (checked November 27, 2026); check the current page.
Which message explicitly requests a whole-position exit?
Send JSON with action close and the intended symbol. A buy or sell coming from an exit event is still a normal order, and alert qty does not size an explicit close.
Official sources
TradingView's Pine alerts documentation says Pine code creates alert events, and the user must still create the alert in the chart UI (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.