Signal generation
Using AI to Analyze Trading Charts with Send Signal enabled
π§ Smart Signal Execution
This advanced feature lets the AI not only analyze your chart but also make real trading decisions. When enabled, the AI can trigger a signal that is automatically sent to your webhook for live execution.
π§ How It Works
When βSend Signalβ is enabled:
A screenshot of the chart (including your indicators) is sent to the AI
A custom prompt guides the model to make a trading decision
If the AI responds with
LONG
,SHORT
, orEXIT
, a signal is dispatchedIf the AI responds with
HOLD
, no action is taken
β οΈ Response Format is Mandatory for Signal Generation
To trigger a signal, the AI must respond with one of the exact patterns below. If the modelβs output deviates from this format β for example, by including extra text, explanations, or incorrect structure β no signal will be generated.
β Accepted Format:
Where:
<action>
is one of: LONG, SHORT, EXIT, or HOLD β this will be available in{{last_trigger_action}}
.<price>
is the latest visible chart price (e.g.,29650.32
) β this will be available in{{last_trigger_price}}
.
β Examples (valid responses):
β Examples (invalid responses β will not trigger a signal):
Important: If the response doesnβt exactly match the required
<action>:<price>
format, the system will ignore the output and take no action.
Be sure to design your prompt in a way that strictly enforces this format and suppresses any explanation or commentary from the AI. The cleaner the output, the more reliable your signal execution pipeline will be.
π§ System Prompt (Automatically Added)
When signal sending is enabled, two things happen automatically:
Prepending context to your prompt:
Appending output instruction to your prompt:
You do not need to include these in your custom prompt β the system handles it for you.
βοΈ Writing a Good Prompt
To ensure reliable signals, your custom prompt should focus on the decision-making logic, not the output format. Here's an example:
π Example Custom Prompt
π§© Template Variables
To make prompt creation easier and more dynamic, you can now use the following template variables in your prompt:
{{last_trigger_action}}
The last executed signal (e.g., LONG
, SHORT
, EXIT
)
{{last_trigger_price}}
The price of the symbol when the last trigger occurred
{{last_trigger_at}}
Timestamp when the last signal was executed (e.g., 2025-06-04 15:32 UTC
)
{{current_time}}
The current time (automatically filled before execution)
These help the AI reason based on past actions and current context.
π Example Prompt with Templates
π Signal Actions
Accepted actions:
LONG:<price>
SHORT:<price>
EXIT:<price>
HOLD:<price>
If the action β HOLD
, the system:
Sends the signal to your configured webhook
Saves the trigger time, price, and action for the next analysis cycle
Last updated