AMOEBA ยท Questions
alertcondition() vs alert(): which should I use for automation?
In Pine Script, the choice between alertcondition() and alert() depends on the script type and message you need. TradingView's Pine alerts documentation says alertcondition() works in indicators only, while alert() works in indicators and strategies (checked November 27, 2026); check the current page. Whichever supported event you use, AMOEBA needs action and symbol in the delivered JSON.
Which message does the receiving system see?
AMOEBA interprets the final alert body rather than the Pine function name. Use exactly lowercase buy, sell or close for action and a string for symbol. If you include qty, make it a positive JSON number. Changing the function does not make uppercase actions or a quoted numeric quantity valid.
How should I choose a message workflow?
TradingView's Pine alerts documentation says alert() permits dynamic messages and programmer-selected frequency (checked November 27, 2026); check the current page.
Choose the event you mean to automate before configuring the destination. Keep the script condition, message text and private webhook address separate in your setup notes. This makes it easier to check whether a delivered action really matches the event you intended, without exposing the private URL in examples.
Related questions and answers
Is alertcondition() available to a strategy?
TradingView's Pine alerts documentation says alertcondition() is an indicator-only alert mechanism (checked November 27, 2026); check the current page.
Can alert() use a changing message?
TradingView's Pine alerts documentation says alert() allows dynamic message strings (checked November 27, 2026); check the current page.
Which one works with AMOEBA?
The receiving requirement is valid JSON with action and symbol. AMOEBA does not select your Pine event; it reads the message generated by the TradingView alert you configure.
Must I still create an alert manually in the UI?
TradingView's Pine alerts documentation says Pine code creates events and the chart user must create an alert to use them (checked November 27, 2026); check the current page.
Official sources
TradingView's Pine alerts documentation says alert() is generally easier and more flexible for script-defined alert messages (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.