Building Custom Signals
Signal logic design, the formula builder, backtesting your signals, scheduling, and going from idea to automated signal.
From Thrive on YouTube
Watch the matching Thrive video
Welcome to Thrive | Crypto Market Intelligence Platform for Traders
Education only. Not financial advice.
Overview
Thrive’s pre-built signals are powerful, but the real edge comes when you build your own. Custom signals let you encode your unique market thesis into automated logic that runs on Thrive’s data infrastructure. Whether you want a simple funding-rate flip alert or a multi-factor scoring model that combines on-chain flows with technical momentum, this lesson walks you through the entire process, from concept to live signal.
The Formula Builder
The Formula Builder is Thrive’s no-code signal construction tool. It lets you build signal logic using a visual interface, select data inputs, set conditions, assign weights, and define thresholds, without writing a single line of code.
Choose your data inputs
Define conditions
Set logic operators
Configure output
Start simple
Writing Signal Logic
For traders who want more control than the Formula Builder provides, you can write signal logic directly in the Workbench using SQL. A signal query is just a SQL query that returns a scored result, Thrive runs it on a schedule and fires an alert when conditions are met.
Conditions and Thresholds
Every signal needs clearly defined thresholds. “Funding is low” is not a signal. “Funding rate is below -0.01% for 4+ consecutive hours while open interest is increasing” is a signal. Be specific. Quantify everything.
Scoring Systems
Instead of binary “buy or sell” signals, consider building a scoring system where each condition contributes points to a total score. For example: negative funding = +20 points, smart money inflow > $10M = +30 points, RSI below 30 = +15 points, bullish sentiment divergence = +10 points. A score above 60 triggers a Buy signal. This approach is more nuanced and lets you set different position sizes based on signal strength.
The Backtesting Engine
Before you risk real capital on a custom signal, you need to know how it would have performed historically. The Workbench’s backtesting engine lets you run your signal logic against historical data and see the results, every trade, every win, every loss.
The backtester applies your signal conditions to historical data, simulates entries and exits based on your rules, and calculates comprehensive performance metrics. It accounts for slippage and fees to give you realistic results, not fantasy backtests.
Backtesting is not prediction
Evaluating Backtest Results
Knowing which metrics matter, and which are misleading, is the difference between a robust signal and a curve-fitted disaster. Here are the key metrics to evaluate.
| Win Rate | Percentage of trades that were profitable. Above 50% is decent, but win rate alone is meaningless without risk/reward context. |
| Profit Factor | Gross profit divided by gross loss. Above 1.5 is solid. Above 2.0 is excellent. Below 1.0 means the signal loses money. |
| Max Drawdown | The largest peak-to-trough decline. If max drawdown is 40%, you need to be psychologically prepared to lose 40% before the signal recovers. |
| Sharpe Ratio | Risk-adjusted return. Above 1.0 is acceptable. Above 2.0 is strong. Measures whether your returns justify the volatility. |
| Trade Count | Total number of trades in the backtest period. Too few trades (<30) and the results are statistically unreliable. |
| Average Trade Duration | How long positions are held. Make sure this matches your intended trading style. |
Scheduling Signals to Run Automatically
Once you have a signal with acceptable backtest results, you can schedule it to run automatically. Navigate to the signal’s settings and configure the run schedule, every hour, every 4 hours, once daily, or on a custom cron expression. When the signal fires, Thrive delivers the alert through your configured channels.
Instant mobile alerts via the Thrive PWA.
Detailed signal breakdown delivered to your inbox.
Signal appears in your dashboard's signal feed widget.
POST request to any URL, integrate with Telegram bots, Discord, or custom tools.
Webhook Integration
Webhooks let you pipe Thrive signals to external systems. When your signal fires, Thrive sends a POST request to the URL you specify, containing the signal details as JSON. This opens up powerful integrations: send signals to a Telegram group, trigger a Discord bot, feed data into a spreadsheet, or connect to a trading bot.
Configure webhooks in the signal settings panel. You can specify the URL, add custom headers (for authentication), and choose which signal fields to include in the payload. Test with a tool like webhook.site to verify delivery before connecting to production systems.
Automation power
Put this lesson to work
Free on Thrive, no account needed.