Skip to content
Vega Trades logo

Signals & automation

From a BUY on the chart to an order at your broker.

Vega Trend Rider prints buy and sell signals on TradingView. One alert sends them to the Vega webhook bot, which checks its safety limits and places the order — on paper first, then with your broker.

Vega Trend Rider · one trade
Sample
+1REntryStopBUYEXIT +7.1REMA 9 / 21 · trailing stop
Buy on bar closeBreakeven at +1RExit +7.1R

How it connects

Five steps, one alert.

  1. 01

    Indicator

    Vega Trend Rider runs on your TradingView chart and confirms each BUY or SELL on bar close.

  2. 02

    Alert

    One TradingView alert ('Any alert() function call') fires a JSON message for every buy, sell, stop move and exit.

  3. 03

    Webhook

    TradingView posts that JSON to your bot's private URL, protected by a secret token.

  4. 04

    Bot

    The bot checks its safety limits, sizes the position by risk, and places the order with a protective stop.

  5. 05

    Broker

    Paper account first, then a crypto exchange, a US broker, or an Indian broker through OpenAlgo.

The indicator

Vega Trend Rider: buy and sell signals with an exit plan.

Two triggers

A moving-average cross (EMA, SMA or Hull, 9/21 by default) or a Supertrend flip — or either one.

Up to 13 confirmations

Trend EMA 200, Supertrend direction, MA stack, slope, higher-timeframe trend, smoothed RSI, MACD, ADX, over-extension, wick traps, volume, squeezes and a TD Sequential exhaustion guard.

Signal filter

Aggressive (60%), Balanced (75%) or Conservative (90%) of the enabled confirmations must agree before a signal prints.

Exit plan built in

Initial stop at 1.5×ATR, move to breakeven at +1R, then an ATR trailing stop that lets winners run. Exit labels show the result in R.

Market presets

Auto picks the preset from the symbol: Crypto is long + short with a 3×ATR trail (best on 4H); Stocks / ETFs is long only with a 4×ATR trail (best on 1D).

No repainting

Signals are confirmed on bar close, so a BUY you saw yesterday is still there today. A minimum gap between signals stops chop.

Buy / sell alerts

Four messages drive the bot.

  • buyClose any short, open a long sized by risk, place the stop.
  • sellClose any long; open a short only if shorts are allowed.
  • stopMove the protective stop — tighten only, never loosen.
  • exitClose the position (trailing stop or opposite signal).

Example webhook message

{
  "signal": "buy",
  "ticker": "BTCUSDT",
  "tf": "240",
  "price": 80000,
  "stop": 78000
}

Webhook URL: https://YOUR-SERVER/webhook?token=YOUR_SECRET. API keys stay in environment variables on your server — never in the alert.

Integrations

Brokers and exchanges the bot can trade.

Paper trading

Available

Any market

Simulated account with fees, so you can watch the bot for weeks before any real money is involved.

CCXT exchanges

Available

Crypto · 100+ exchanges

Binance, Bybit, OKX, Kraken and more through the CCXT library — testnet supported.

Alpaca

Available

US stocks & ETFs

Paper or live US equities through Alpaca's API.

OpenAlgo

Available

Indian brokers · NSE / BSE

Route orders to Indian brokers supported by a self-hosted OpenAlgo server (CNC / MIS products).

TradingView

Available

Charts & alerts

Indicators are Pine Script v6. Alerts are sent by TradingView's own webhook feature.

Safety limits

The bot says no before your account does.

0.5%

Risk per trade

Equity lost if the initial stop is hit (default).

50%

Max position

Largest single position as a share of equity.

6

Trades per day

New entries stop after the daily cap.

2%

Daily loss limit

No new trades for the day after this loss.

120s

Duplicate guard

Repeated alerts inside the window are ignored.

STOP

Kill switch

Create a STOP file (or set enabled: false) to halt new entries instantly.

Notifications

Know what happened, wherever you are.

TradingView alerts

Available

Every signal can notify you through TradingView itself: mobile app push, email, on-screen pop-up and sound — alongside the webhook.

Trade journal

Available

The bot writes every action — entries, stop moves, exits, blocked trades and why — to a CSV journal you can open in Excel.

Telegram & WhatsApp messages

Planned

Instant trade confirmations and daily summaries from the bot to your phone.

Email daily report

Planned

End-of-day email with open positions, closed trades in R, and any limits that were hit.

Live chart

See the trigger on a live chart.

BTC/USDT on the 4-hour chart with Supertrend — one of the two Vega Trend Rider triggers. Add Vega Trend Rider itself from TradingView to see its buy and sell labels.

Live chart by TradingView. Delayed or exchange data may vary; education only, not advice.

What the backtests showed

Out-of-sample results, good and bad.

MarketSetupResult
Crypto · 6 coins · 4HLong + short, 3×ATR trailProfitable on 6 of 6 coins, median profit factor ≈ 1.4
US stocks · 12 names · 1DLong only, 4×ATR trailPortfolio ≈ 8% a year, max drawdown ≈ 14%
Indian stocks · 12 names · 1DSame as USNot reliable — lost money 2014–2020
Any market · 1H or lower—Lost money after fees

Win rate is about 25%: profits come from a few large trends, so expect strings of small losses. Paper-trade before using real money.

Getting started

  1. 01Add Vega Trend Rider to your TradingView chart (crypto 4H or US stocks 1D work best).
  2. 02Backtest it on your symbols — the Python backtester reproduces the same rules on your PC.
  3. 03Run the bot on the paper broker and create one TradingView alert pointing at its webhook URL.
  4. 04Watch the journal for a few weeks. Check the limits fit your account.
  5. 05Switch to a testnet, then a live broker with small size. Keep API keys in environment variables, never in alerts.
Ask about Vega Trend Rider