Automations
Connect TradingView to Stratmill: trade your alerts in paper, or import a script for the pipeline to rebuild.
What Automations do
Automations connect Stratmill to tools outside it. Today that means TradingView: send your alerts to a paper trading strategy, or import an open-source TradingView strategy script for the research pipeline to rebuild and test. The Automations page also links to Import strategy for your own code from any supported platform.
Consent first
Each automation shows its risk statement and needs your consent before it runs. For TradingView alerts that statement includes that TradingView's terms forbid automated trading on its alerts and webhooks, so your TradingView account may be restricted, and that alerts skip Stratmill's backtest and review. Consents are versioned: when the text changes you are asked again. Revoke a consent in one click and the automation stops at its next step.
Your TradingView webhook
Create a private webhook address on the Automations page and paste it into a TradingView alert. The address is shown only once; creating a new one turns the old one off at once, and you can turn it off at any time. Each webhook accepts up to 60 alerts per minute.
The alert message
An alert is a short JSON message with an action (buy or long, sell or short, close, flat or exit), a symbol such as BINANCE:BTCUSDT.P, and optionally the share of the account to use in percent. The page provides a ready template based on the strategy's market position, so the exit of a long-only strategy means flat rather than short. Every alert is recorded as accepted or refused with the reason, and the page lists your recent alerts.
Alerts in paper trading
Choose a market and symbol to create a paper strategy that follows your alerts: Binance USD-M futures, Binance spot, Hyperliquid perpetuals, Bybit linear perpetuals or OKX perpetual swaps, with leverage up to 5x on perpetuals and none on spot. The strategy holds the position your latest alert asks for from the next 1-minute bar. On spot a sell alert only exits. You can run up to 10 alert strategies. They go straight to paper trading without a backtest; live trading needs your own sign-off like any strategy.
Import a TradingView script
Paste the source of an open-source TradingView strategy script with its address and author. Only strategy scripts that place orders are accepted, not indicators. The Research Lead restates its rules in its own words and the developer writes a new implementation without seeing the code; the author is credited, and the result runs through the full pipeline. Each import uses credits, and the tested result can differ from what TradingView shows.
Stopping an automation
Revoke the consent on the Automations page to stop an automation; new alerts are then refused. Turning off the webhook address refuses alerts sent to it from then on. A paper strategy that follows alerts can be paused or stopped from the paper trading page like any other.