This guide walks you through setting up a TradingView alert to trigger buy/sell signals for your trading bot. We’ll cover the essential settings and configurations step by step.
Prerequisites
Before starting, ensure you have:
- A Cryptohopper account
- A paid TradingView subscription
Step-by-Step: Setting Up a TradingView Alert
- Log in to your TradingView account.
- Search for your trading pair and exchange.
- Select the candle size (e.g., 1H, 4H).
- Choose a technical indicator (e.g., RSI, MACD).
- Click “Alert” on the chart.
- Configure the Conditions (varies by indicator).
- Set the alert frequency (e.g., "Once per bar close").
- Define an expiration time for the alert.
- Under Notifications, enable “Webhook URL”.
👉 Learn more about TradingView alerts
In Cryptohopper:
- Navigate to Marketplace → Apps → TradingView.
- Use the Alert Generator to create a webhook message.
Configure the Alert:
- Select your bot.
- Enter the currency symbol (e.g., BTC for BTC/USDT).
- Set the Action (buy/sell) or use
{{strategy.order.action}}for dynamic signals. - Choose an order type (e.g., market, limit).
- Optional: Add
take_profit:Xto include a take-profit value. - Paste the generated alert message into TradingView and click “Create”.
Key Settings Explained
TradingView Configuration
- Condition: Matches your indicator’s logic (e.g., "RSI crosses above 70").
- Options: Controls alert frequency (e.g., "Once per 15 minutes").
- Expiration: Limits how long the alert remains active.
- Webhook URL: Critical for sending alerts to Cryptohopper.
Cryptohopper Configuration
- Bot Selection: Links the alert to your specific bot.
- Currency: Base currency only (e.g., ETH for ETH/USDT).
- Dynamic Actions: Use
{{strategy.order.action}}to automate buys/sells. - Order Types: Market, limit, or trailing orders.
👉 Optimize your trading strategy
FAQ
Q: Can I use free TradingView accounts for alerts?
A: No, alerts require a paid TradingView plan.
Q: How do I test if my alert works?
A: Manually trigger a condition (e.g., simulate an RSI crossover) and check Cryptohopper’s activity log.
Q: Can one alert handle both buy and sell signals?
A: Yes, by using {{strategy.order.action}} in the alert message.
Q: What’s the expiration time recommendation?
A: Set it slightly longer than your candle timeframe (e.g., 5 minutes for 1-minute bars).
Pro Tips
- Combine multiple indicators (e.g., RSI + MACD) for higher accuracy.
- Backtest alerts in TradingView’s Strategy Tester before live use.
- Monitor your bot’s response latency to avoid missed signals.
This guide ensures your TradingView alerts seamlessly integrate with Cryptohopper for automated, data-driven trading.