How do I load and use the TopBot Anomaly strategy from TradingView?
- To use the TopBot Anomaly Pro strategy from within TradingView, you first need to obtain access. Discovering us? The first three months are free, with no credit card and no commitment.
- The TopBot Anomaly Lite demo version can be opened directly from TradingView.
- To automate your strategy directly from TradingViewsimply request the creation of a body on our website. Instances enable trading on BitGet (USDT-M) and/or Hyperliquid (USDC SWAP). They are available from the first level of paid subscription. You will also need webhooks on TradingView (from the first level of paid subscription).
- Once you have an instance on our site and webhooks on TradingView, simply load the strategy onto your chart, set it up, register an alert with your personal webhook and the alert message provided and the strategy will automatically place trades for you on your broker. What's more, you can enter your Telegram login details to be notified on your phone of every action in your strategy.
- You can program as many trading bots as you like on a single trading account (within the limit of the number of technical alerts available on your TradingView account).
1 - Loading the strategy into TradingView
In TradingView, click on indicator then search for the terms TopBot Anomaly.
You can download the LITE version without subscription and the Pro version with any subscription on our website (3 months free).
2 - Choose an asset
The strategy can be automated on BitGet (USDT-M) or Hyperliquid (USDC SWAP).
- Hyperliquid does not yet have its own data source on TradingView. In any case, we invite you to use the following data of BitGet SWAP (.p)
- Check (for Hyperliquid) that the asset you want to trade exists as a SWAP on Hyperliquid (directly from your Hyperliquid interface) before programming an alert.
3 - Choosing a TimeFrame
The asset, timeframe and settings will be saved when you create your alert, and will apply until you delete it.
4 - Open strategy settings
Simply double-click on the strategy name to open the settings window.
5 - Overview of strategy parameters
- Trading mode : You can choose the classic mode (with only longs, only shorts, both with output at the moving average, both with output on adjustable deviations (Do not use this mode for programming automatic, but prefer a separate LONG and SHORT alert). - You can choose Swing-Trading mode (when a long position is closed, a short position is immediately opened instead, and vice versa).
- Choice of display : A floating window with all the important information, a minimalist window with only the percentage result, or nothing at all.
- If you wish to speed up the calculation time for each new parameter setting, you can disable all visual functions to speed up calculations.
- Set the length of the basic moving average. The MA lenght is an important parameter that will change according to each asset and timeframe. It's one of the first things you'll need to find when setting up your strategy. Generally speaking, the ideal MA lenght is between 1 and 120. You can also change the type of moving average and the data source, but generally the default values are the most effective.
- Swing mode only If you have selected Swing-Trading mode, simply set your MA lenght then the upper and lower limits of your swing.
- Stop-Loss : Optional in normal mode, it is recommended for swing trading. If a stoploss is reached, an exit order is sent.
- Deflection control the output level of long positions (1 = 1% deviation from moving average)
- Setting of input levels for long positions (0 to disable) (1 = 1% deviation from moving average)
- Deflection control the output level of position shorts (1 = 1% deviation from moving average)
- Setting of entry levels for short positions (0 to disable) (1 = 1% deviation from moving average)
- Investment type settings per position input. To be adapted according to the number of entries and your risk management. The default option "Percent avariable balance" means that the first entry into position will be made with % of your indicated capital, the second with % of available capital (initial capital - capital mobilized for the first trade), etc). This is what we recommend if you program your bot with % on your intermediary. If you want all entries to "weigh the same", prefer the "Cash" option, dividing your total capital by the number of entries per direction, which will guarantee a regular entry.
- Time-limited backtest option : Useful for adapting your strategy to backtests and for assessing profitability over specific time periods.
- Programming your trading bots : If you use our trading instance you must leave the default values. When the strategy conditions are met, TradingView will automatically send an order to your bot via your personal webhook.
6 - Set an alert (saves your settings and automates your trades)
Once you've chosen your timeframe, your assets and your strategy, you need to create an alert that will save these settings and automate your trades.
Once created, the alert will monitor the market and send trading orders to your exchange via the trading instance. It will retain the settings, the strategy version used, the timeframe and the asset. at the very moment it is created, until it is deleted.
To create an alert :
1 - Click on "Alert" (clock) at the top of your TradingView screen
2 - Check that the condition is correct - Trading Bot - TopBot Anomaly
3 - In the " messages "enter the name of your bot (e.g. Active, Timeframe, Settings, etc.) and in the Message enter the message you received by e-mail when you created your instance:
{
"ticker": "{{ticker}}",
"comment": "{{strategy.order.comment}}",
"interval": "{{interval}}",
"trading-mode": {{plot("TradingMode")}},
"qty_type": {{plot("TypeOfQty")}},
"leverage": {{plot("UserLeverage")}},
"amount_pct": {{plot("UserAmount")}},
"stop_loss_long_pct": {{plot("StopLossLong")}},
"stop_loss_short_pct": {{plot("StopLossShort")}}
}
4 - In the " Notifications " you need activate WebHook and enter your personalized webhook that you received by e-mail after creating your instance.
5 - Click on " Create " Your bot is now active and will place trading orders directly with your broker when the time comes.
- Your bot will continue to run until your alert is removed.
- To change settings, delete your alert and create a new one with your new settings.
- Check with your broker that all open positions are closed when you delete / modify your alert, or close the remaining positions manually.
