With the Signal Bot strategy, traders can automate their TradingView alerts into live trades on Pionex. By connecting a TradingView strategy to Pionex through webhooks, investors can capture opportunities instantly—whether buying when signals trigger or selling when conditions reverse.
This automation ensures discipline, speed, and consistency in volatile markets.
What is the Signal Bot
The Signal Bot is an automation tool developed by Pionex that links TradingView alerts directly to your Pionex account. Instead of manually executing trades, the bot listens for signals from your chosen strategy and places orders automatically.
It acts as a bridge between strategy design and real-time execution, making trading faster and more reliable.
What are the differences between the Signal Bot and other bots?
Moon Bot: Focuses on arbitrage ranges and volatility capture.
Grid Bot: Specializes in grid trading across price ranges.
Signal Bot: Executes trades based on external signals (TradingView alerts), giving you full flexibility to design or import strategies.
How to start with the Signal Bot?
Create a Pionex account.
Set up a TradingView Essential (or higher) plan to enable webhooks.
Build or import a TradingView strategy script.
Generate a Signal Bot on Pionex and copy its webhook URL.
Paste the webhook into your TradingView alert settings.
Test alerts and confirm trades are executed automatically.
Build a Pionex‑Compatible Strategy
To begin using the Signal bot, you must first have a functioning indicator on TradingView that includes a built-in "strategy."
You can confirm the presence of a built-in strategy by checking for the "Strategy Tester" option, which displays the backtesting results.
If this option is missing in TradingView, you will need to acquire an open-source indicator with a strategy or generate one using AI models.
1. You will need a Telegram account to join our Telegram group and access the file.
2. Open the pinned message and find the “pionex-signal-bot-toolkit.html” file.
3. A new page will open, and you can choose the first option.
4. Generate the Indicator
Use any AI platform to create a TradingView Pine Script.
Copy the script into the TradingView Pine Editor and click Add to chart.
5. Apply to TradingView:
6. Refine the Script (Required Modifications): After confirming the script is operational, modify it to prevent future conflicts:
Condition Variables: Remove, modify, or comment out (//) any variables that are similar to the exclusive variables "longCondition" and "shortCondition" used by the Toolkit generator.
Unnecessary Code: Remove initialization code (version) and alert code lines.
Plotting Code: Chart plotting code lines can remain, but ensure they do not conflict with the condition variables mentioned in the previous point.
Identify Conditions: Take note of the specific codelines defining the indicator's "Long" and "Short" conditions, as these will be used in the Toolkit generator.
7. Generate the Strategy Code: Paste the modified code into the Toolkit generator:
Field 1: Paste the entire modified code.
Field 2: Paste the "Long" condition code.
Field 3: Paste the "Short" condition code.
Click the "Generate" button.
8. Update TradingView:
Copy the newly generated strategy code.
Paste the final code into the TradingView Pine Editor.
Click "Update on chart."
Error Check: If minor errors appear, follow the suggested tips to resolve them.
Confirmation: If there are no errors, the chart should display Strategy Tester results, along with position entry and exit plots, confirming the indicator now has strategy functionality.
9. Optimize Backtesting: Modify the indicator settings to adjust the backtesting results before connecting the strategy to a Pionex Signal Bot.
On the “Properties” settings, refer to the recommended settings as follows:
Initial capital: Keep this value at "100"
Base currency: Keep this value at “Default”
Order size: 1 ~ 100 USDT. Keep the value within 1 to 100 USDT.
“50” USDT will be translated as 50% fund utilization of the Signal botPyramiding: 1 ~ any value. This value is for multi-position entry settings
Margin for long positions: Keep this value at "0"
Margin for short positions: Keep this value at "0"
Other parameters can be ignored as it doesn't impact the configuration.
10. Building a Pionex-compatible TradingView strategy has been completed.
Configuring Signal listener on Pionex
1. Log in to your Pionex account
2. Navigate to Futures → Futures Bot → Signal Bot
3. Click on the “Add signal” button and set the name and description for this signal, and then click “Confirm”.
4. Once the signal has been created, directly click on “I have completed the configuration” and “I have created the alert”.
5. Signal setup on Pionex has been completed.
Creating a Signal Bot on Pionex
1. Log in to your Pionex account
2. Navigate to Futures → Futures Bot → Signal Bot
3. On the “Signal Bot” page, click the “Automate signal” to configure the bot settings, and then click “Create the bot”.
4. Creating the Signal bot in Pionex has been completed.
Connecting TradingView Alerts to Pionex Signal
1. Log in to your TradingView account
2. Click on the “Alarm” icon in the upper right corner, and click the “+” icon to create a new alert
3. In the “Settings” tab, choose the desired strategy from the list.
Note: the latest configuration will be at the bottom of the list and needs to be updated every time there are changes to the strategy “Input” configuration.
4. In the “Message” tab, keep the value unchanged as the default content.
Note: the content will produce the “Message” as a JSON code for the trading instruction.
5. In the “Notification” tab, enable the “Webhook URL” and paste the “Webhook URL” from Pionex into the “Webhook URL” in TradingView.
6. Click the “Create” button to complete the setup, and the alert will appear in the “Alert” list
7. Strategy Alert configuration in the TradingView chart has been completed.
Checking Signal Delivery from TradingView to Pionex
1. Log in to your TradingView account
2. Click on the “Alarm” icon in the upper right corner, and click the “Log” tab to check the list
3. Log in to your Pionex account
4. Click on “Details” and then navigate to the “Signal Log” tab
5. Compare the TradingView Alert log with the Pionex Signal Log to ensure the signals are received properly
6. Use the “Signal Message Decoder” to translate the Message content into an easier-to-understand format.
FAQ
Q: How many pairs can I add to the Signal bot?
A: Only one pair per signal can be active at a time. Using two of the same pair concurrently per signal is not supported.
Q: Why did my Signal bot open a position with a different amount?
A: The Signal bot calculates position size using strategy values: Formula: price * position_size = Notional value (USDT). Example: Investment: 100 USDT, Leverage: 10x, Equity: 100 * 10 = 1000 USDT Trade Volume: 50% of equity = 1000 * 50% = 500 USDT
Q: If the Signal bot is closed, will it process signals?
A: No, signals will be received but ignored without an active Signal bot.
Q: Can I use the Signal bot with other platforms?
A: Yes, if signals operate like TradingView.
Q: Can I use multiple entries/exits?
A: Yes, if the strategy is compatible with Signal bot execution.
Q: Which TPSL setting will execute: Signal bot or TradingView?
A: Whichever condition is met first. Use only one to avoid conflicts.
Q: Why didn’t Pionex trade after a TradingView alert?
A: Possible reasons:
i. Signal sent and received: Check Signal Log > Details for errors.
ii. Signal sent but not received: Contact TradingView support for webhook issues.
iii. Signal received but no action: Signal bots in "One-Way" mode may close opposing positions.
Q: The signal was sent, but no trade occurred. What should I do?
A: Close positions manually or trigger the signal manually (at your own risk).
Q: Can I trade on the Spot market using the Signal bot?
A: No, only Futures. Use 1x leverage for a Spot-like effect.
Q: What’s the maximum leverage for the Signal bot?
A: 10x. Higher leverage is not recommended.
Q: My Signal bot has losses. How do I keep the order size the same?
A: Add margin to cover losses. Maximum order size depends on Investment * leverage.
Q: If I add margin, will trading volume increase?
A: No, margin only adjusts equity and liquidation price.
Q: Can I share my Signal bot for profit sharing?
A: Yes, profit-sharing features are now available to all users.
Q: What happened to PionexGPT and the GPT Marketplace?
A: PionexGPT and the GPT Marketplace were discontinued a while ago and are no longer available. The Signal Bot is the closest alternative — it allows you to automate your own trading strategies via TradingView alerts directly on Pionex.
Multi‑Entry/Exit Setup in Strategy Script
Strategy() recommended syntax:
strategy("Strategy Name", overlay=true, default_qty_type=strategy.cash, default_qty_value=100, initial_capital = 100)Open Long 25% of equity example:
strategy.entry("Long", strategy.long, qty=25) “qty=25” will be set as the “25 USDT” order size, interpreted as utilizing 25% of the Signal bot’s equity per signal to open the Long position. Subsequent signals of the same code line will use another 25% of equity, totaling 50% of equity utilized, and so on. 2. Close Long 25% of equity
Example: strategy.exit('Close Long', from_entry = "Long", qty_percent=25) “qty_percent=25” will be set to close 25% of the available Long positions.
Close Long example:
strategy.exit('Close Long', from_entry = "Long")This line should be used to fully close the Long position.
Open Short 25% of equity example:
strategy.entry("Short", strategy. Long, qty=25)“qty=25” will be set as the “25 USDT” order size, interpreted as utilizing 25% of the Signal bot’s equity per signal to open the Short position. Subsequent signals of the same code line will use another 25% of equity, totaling 50% of equity utilized, and so on.
Close Short 25% of equity example:
strategy.exit('Close Short', from_entry = "Short", qty_percent=25)“qty_percent=25” will be set to close 25% of the available Short positions.
Close Short example:
strategy.exit('Close Short', from_entry = "Short")This line should be used to fully close the Short position.