Create Your First Trading Bot
Learn how to automate your personalized strategy with FreedX using the FreedX Backtest Template in TradingView.
Ensure you have already connected FreedX to your exchange. Automating your strategies with TradingView requires at least a TradingView Essential plan.
Overview
- Start with FreedX Dashboard
- Navigate TradingView Products
- Access Indicators
- Select FreedX Backtest
- Configure Strategy Template
- Add Indicators
- Select Indicator for Backtest
- Assess Strategy Performance
- Create Strategy Listener in FreedX
- Copy Strategy Key
- Set Up TradingView Alerts
- Configure Alert Settings
- Finalize Alert Configuration
Start with FreedX Dashboard
- Navigate to your FreedX Dashboard and click the TradingView button.
Navigate TradingView Products
- On TradingView, click “Products” then “Supercharts”.
Access Indicators
- Click “Indicators” in the top section.
Select FreedX Backtest
- In the search bar, type “FreedX” and select “FreedX Backtest” from the list.
Configure Strategy Template
-
“FreedX Backtest” will appear on your chart. Click the “Gear” icon on the right side to access the strategy template.
Add Indicators
- Return to Indicators and choose any indicator for your strategy, such as the RSI indicator.
Select Indicator for Backtest
- Open the “FreedX Backtest” template and click the “Source” dropdown to select your newly added indicator.
For detailed instructions on creating your strategy using the FreedX Backtest tool, check our blog post on TradingView. We've explained everything inside the template step by step.
Assess Strategy Performance
-
View the backtest at the bottom to assess your strategy’s performance.
After creating your strategy now you need to create a corresponding strategy listener on FreedX Dashboard.
Create Strategy Listener in FreedX
- In your FreedX Dashboard, go to the Strategies section and click the Plus icon to create your strategy.
![API Management](/assets/images/create-strategy-10-6bfa5a8e440cd0ee4c28bb06a78c98c8.png)
Make sure selected exchange, symbol and the account corresponds with the strategy you created on TradingView.
- Type the name of your strategy.
- Select your exchange.
- Choose the account.
- Choose the symbol.
- Set the allocation percentage.
- Hit create.
![API Management](/assets/images/create-strategy-11-83785b6d2874bd30211d891162ca7a2c.png)
Copy Strategy Key
- Click on the newly created strategy to open its details and copy the strategy Key. Paste it into the “Strategy Key” section in the “FreedX Backtest” strategy template in TradingView.
- Check the "Enable Webhook Alerts" box above the Strategy Key.
![API Management](/assets/images/create-strategy-12-a120fff72488eed69b67c0fc5b63d9b5.png)
Set Up TradingView Alerts
- In TradingView, click on the three dots icon and select “Add alert on FreedX Backtest”.
![API Management](/assets/images/create-strategy-13-8846eba80bca9d3794dbce35473cdfa5.png)
Configure Alert Settings
- Enter the alert name in the settings section. Use the same name as your strategy for easy tracking, like “FreedX RSI TEST”.
![API Management](/assets/images/create-strategy-14-046eb2ef4a7aaeca05705cf9dfee2a2b.png)
Finalize Alert Configuration
- Switch to the “Notifications” tab, select Webhook URL, go to the “Settings” section of the FreedX Dashboard, copy your webhook link, and paste it into the “Webhook URL” section. Click ‘Create’ at the bottom.
![API Management](/assets/images/create-strategy-15-c46953b5aa798e76794f7492c5f152b7.png)
Now everything is set up! Once your strategy starts trading, you’ll be able to monitor your trades on our FreedX Dashboard. Ensure you understand the FreedX Backtest Template before creating any alerts. You maintain full control over your strategies and decisions.
Important: We are not responsible for any losses or profits made with your strategy.