What is a Signal?
A trading signal is a visual indicator on a chart that shows:- Entry point - Where to enter a trade
- Stop Loss (SL) - Where to exit if the trade goes wrong
- Take Profit (TP) - Target levels to exit with profit
Signal Structure
Each signal consists of one or more points. A complete trading signal typically has:Point Types
type: "high" - Above the candle
Use for:
- Take Profits on BUY signals
- Entry/SL on SELL signals
- Resistance levels
type: "low" - Below the candle
Use for:
- Entry on BUY signals
- Stop Loss on BUY signals
- Take Profits on SELL signals
- Support levels
Complete BUY Signal Example
Complete SELL Signal Example
Visual Reference
Shapes
| Shape | Icon | Best For |
|---|---|---|
arrowUp | ▲ | BUY entry |
arrowDown | ▼ | SELL entry |
circle | ● | Take Profit levels |
square | ■ | Stop Loss |
Colors
| Element | Hex | Preview |
|---|---|---|
| BUY Entry | #3b82f6 | ● Blue |
| SELL Entry | #f97316 | ● Orange |
| Stop Loss | #ef4444 | ● Red |
| Take Profit | #22c55e | ● Green |
| Neutral | #eab308 | ● Yellow |
Sizes
| Size | Value | Use Case |
|---|---|---|
| Small | 1 | TP levels, secondary info |
| Medium | 2 | Entry signals |
| Large | 3 | High-priority alerts |
Metadata
Use themetadata field to include additional information:
Best Practices
Use the time field
Always use the
time field from the /bars endpoint.
This ensures signals appear on the correct candle.Clear labels
Use short, clear labels like “BUY”, “TP1”, “SL”.
Avoid long text that clutters the chart.
Consistent colors
Stick to a consistent color scheme.
Green for profit, red for loss, blue/orange for entries.
Size hierarchy
Use larger sizes for important elements (entries)
and smaller sizes for secondary elements (TPs).