TradingView Integration

TradingView Signals

Use TradingView indicators and alerts to adjust your trading strategy in real-time.

What is TradingView Integration?

TradingView Integration allows you to connect your chart analysis directly to the unCoded bot. When your TradingView indicators trigger alerts, they automatically send signals to your bot, adjusting its configuration in real-time.

Without Signals

RSI drops below 30 on your chart
You see the alert, check the market
You manually enable DCA mode...
Result: Delayed reaction, missed opportunities!

With Signals

RSI drops below 30 on your chart
TradingView webhook sends signal
Bot instantly enables DCA mode
Result: Instant reaction, perfect timing!

Integration Features

TradingView Alerts

Connect your TradingView Alerts directly to the bot and react to market signals in real-time.

Dynamic Configuration

Automatically change bot parameters like Mode, Buy/Sell settings, and DCA levels based on signals.

Webhook Integration

Use TradingView Webhooks to instantly react to chart signals and adjust your strategy.

Multi-Indicator Support

Combine various TradingView indicators (RSI, MACD, MA, etc.) for complex trading strategies.

How Does It Work?

1

Create Alert

Create an alert in TradingView with your desired indicator (RSI, MACD, MA-Cross, etc.) and configure the webhook URL.

2

Define Payload

Define the JSON payload that will be sent to the bot. This can contain any configuration parameters you want to modify.

3

Auto-Adjust

The bot receives the signal and adjusts its configuration in real-time - no manual intervention required.

Interactive Demo

See how TradingView signals modify your bot configuration in real-time.

TradingView Signal

Bot Configuration

{
  "mode": 4,
  "name": "BasicMode",
  "start": "true",
  "canBuy": "true",
  "canSell": "true",
  "buyPercentage": 0.1,
  "buySplits": 7,
  "sellPercentages": [
    0.25,
    0.35,
    0.5,
    0.75,
    1,
    2.5,
    5
  ],
  "investmentPerBuy": 20,
  "dcaEnabled": "false",
  "dcaMergeMode": "true",
  "dcaLevels": [],
  "stopLoss": "false",
  "stopLossPercentage": 5
}
Modified Parameters:
dcaEnabled, dcaLevels

Controllable Parameters

mode

Trading mode (1-4)

Example: 4 = BasicMode with DCA

canBuy / canSell

Enable/Disable buy and sell orders

Example: true/false

buyPercentage

Buy threshold in percent

Example: 0.1 = 0.1%

sellPercentages

Profit targets for sells

Example: [0.25, 0.35, 0.5, ...]

dcaEnabled

Enable Dollar-Cost Averaging

Example: true/false

stopLoss

Enable/disable stop loss

Example: true/false with stopLossPercentage

Example Configuration

{
  "mode": 4,
  "name": "BasicMode",
  "start": "true",
  "canBuy": "true",
  "canSell": "true",
  "buyPercentage": 0.1,
  "buySplits": 7,
  "sellPercentages": [0.25, 0.35, 0.5, 0.75, 1, 2.5, 5],
  "investmentPerBuy": 20,
  "dcaEnabled": "true",
  "dcaMergeMode": "true",
  "dcaLevels": [
    {"dropPercent": -1, "buyPercent": 10},
    {"dropPercent": -2, "buyPercent": 20},
    {"dropPercent": -5, "buyPercent": 50}
  ],
  "stopLoss": "false",
  "stopLossPercentage": 5
}

Use Cases

Trend-based Trading

Use MA crossovers in TradingView to switch the bot between aggressive and conservative modes.

RSI-driven DCA

Automatically activate DCA when RSI is oversold and deactivate it during overbought conditions.

Volatility Adjustment

Automatically adjust Buy/Sell percentages based on ATR or Bollinger Bands.

Multi-Timeframe Strategy

Combine signals from different timeframes for smarter trading decisions.

Important Notes

  • Webhook endpoints must be publicly accessible for TradingView to send signals
  • Use proper authentication tokens to secure your webhook endpoint
  • Test signals thoroughly before deploying to live trading
  • TradingView Pro, Pro+, or Premium subscription required for webhook alerts