Signals + DCA/TSL
Dynamic Strategy Control
Combine TradingView signals with DCA and TSL strategies for intelligent, market-adaptive trading automation. Let your bot respond to changing conditions in real-time.
How Signal-Driven Strategy Works
Your TradingView indicators detect market conditions and automatically adjust your bot's DCA and TSL parameters for optimal performance.
Market Analysis
TradingView indicators analyze market conditions
Signal Generated
Alert triggers webhook with new configuration
Config Updated
Bot receives and applies new DCA/TSL settings
Adaptive Trading
Strategy adapts to current market conditions
Signal Flow: TradingView → Bot Configuration
TradingView
RSI / EMA Indicators
Webhook
JSON Payload
Config Update
Parameters Changed
unCoded Bot
Adaptive Trading
TradingView Indicators
RSI / EMA analyze market
Webhook Triggered
JSON payload sent to bot
Configuration Updated
Bot parameters changed
Bot Adapts
Trading strategy adjusted
Example Signal Flows
Signal-Driven Configuration Changes
Signal Activity Log
Signal: Bear Market Detected
Signal: Increase DCA Levels
Signal: Max DCA Protection
Signal: RSI Oversold -> canBuy: false
Signal: RSI Recovery -> canBuy: true
Signal: Tighten TSL
Understanding canBuy Signals (RSI / EMA)
Bot is allowed to execute new buy orders. Green zone in chart indicates active buying periods.
Bot stops new buy orders. Existing positions continue (DCA/TSL still active for open trades).
RSI > 70: Overbought → canBuy: false
RSI < 30: Oversold → wait for recovery
EMA9 < EMA21: Bearish cross → canBuy: false
EMA9 > EMA21: Bullish cross → canBuy: true
Example TradingView Alert Message
// RSI Overbought Alert
{
"canBuy": false,
"message": "RSI {{interval}} = {{RSI}} > 70 - Stop buying"
}
// EMA Crossover Alert
{
"canBuy": {{EMA9 > EMA21}},
"dcaLevels": {{EMA9 > EMA21 ? 3 : 5}},
"message": "EMA Cross - Adjusting strategy"
}Signal-Driven Strategy Calculator
Strategy Presets
Base ConfigurationBalanced Preset
Adjusts how aggressively signals modify base parameters
Signal-Adjusted Parameters
DCA Levels: 5
TSL Drop: 7.5%
DCA Levels: 2
TSL Drop: 3.3%
DCA Levels: 4
TSL Drop: 6.3%
DCA Levels: 3
TSL Drop: 5%
With a signal multiplier of 1.5x, your bot will dynamically adjust between 2-5 DCA levels and 3.3%-7.5% TSL drop based on market signals.
Performance Comparison
Signal-driven strategy vs static DCA/TSL configuration across different market conditions.
| Scenario | Static DCA/TSL | Signal-Driven | Improvement | ||||
|---|---|---|---|---|---|---|---|
| Avg Entry | Profit % | Recovery | Avg Entry | Profit % | Recovery | ||
| Bear Market (-32%) | $82 | 19.5% | 4 days | $75 | 30.7% | 3 days | +57% |
| Bull Run (+95%) | $100 | 85% | - | $100 | 92% | - | +8% |
| High Volatility | $95 | 31.6% | 2 days | $91 | 37.4% | 1.5 days | +18% |
| Consolidation + Breakout | $100 | 32% | - | $99 | 33.3% | - | +4% |
Example Signal Payloads
Copy these webhook payloads to use in your TradingView alerts for automatic strategy adjustment.
Bear Market Protection
{
"mode": "dca",
"dcaEnabled": true,
"dcaLevels": 5,
"dcaDropStep": 3,
"dcaBuyPercentages": [30, 25, 20, 15, 10],
"tslDropPercent": 7,
"message": "Bear market detected - maximizing DCA protection"
}Bull Run Optimization
{
"mode": "tsl",
"dcaEnabled": false,
"dcaLevels": 1,
"tslDropPercent": 2,
"tpPercent": 15,
"message": "Bull run detected - tight TSL for profit protection"
}RSI Overbought - Stop Buying
{
"canBuy": false,
"message": "RSI > 70 - Overbought, stop new buys"
}RSI Recovery - Resume Buying
{
"canBuy": true,
"message": "RSI < 60 - Resume buying"
}EMA Cross Down - Stop Buying
{
"canBuy": false,
"dcaEnabled": false,
"message": "EMA 9 crossed below EMA 21 - bearish signal"
}High Volatility Adjustment
{
"mode": "dca",
"dcaEnabled": true,
"dcaLevels": 4,
"dcaDropStep": 4,
"tslDropPercent": 6,
"message": "High volatility - balanced DCA/TSL configuration"
}Quick Setup Guide
Configure Your Indicators
Set up TradingView indicators that detect market conditions (RSI, MACD, Moving Averages, etc.)
Create Alert Conditions
Create alerts that trigger when your indicators signal specific market conditions
Add Webhook Payloads
Configure alert webhooks with the appropriate DCA/TSL configuration payloads
Ready to Automate Your Strategy?
Combine the power of TradingView signals with intelligent DCA and TSL management. Let your bot adapt to any market condition automatically.